/* =====================================================================
   Paw Diagnostics — shared stylesheet
   ===================================================================== */

:root {
  --pink:        #b20094;
  --pink-dark:   #8a0073;
  --pink-light:  #fdf4fa;
  --pink-glow:   rgba(178, 0, 148, 0.12);
  --ink:         #1a0e1e;
  --ink-soft:    #3d3142;
  --ink-muted:   #7a7080;
  --border:      #ece6ee;
  --bg:          #ffffff;
  --bg-soft:     #fdfafc;
  --bg-card:     #ffffff;
  --danger:      #c62828;
  --success:     #2e7d32;
  --radius:      12px;
  --radius-sm:   8px;
  --font-sans:   'Roboto Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:'Roboto Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw:        1280px;
  --maxw-reading:740px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--pink-dark); }

/* =====================================================================
   Layout utilities
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--maxw-reading);
}
.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}
.section-alt {
  background: var(--bg-soft);
}
@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 32px 0; }
  .container { padding: 0 20px; }
}

/* =====================================================================
   Typography
   ===================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5vw, 52px); }
h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 20px; }
h3 { font-size: clamp(22px, 2.5vw, 26px); margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; font-weight: 600; letter-spacing: -0.01em; }
/* Same visual size as h4, for headings that must use h3 to keep heading levels
   sequential (no skipped levels) — added 2026-09-03 for the Lighthouse
   accessibility "heading-order" audit. */
.subheading-sm { font-size: 18px; margin-bottom: 8px; font-weight: 600; letter-spacing: -0.01em; }

p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 680px;
}
p + p { margin-top: 16px; }
.lead {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}

/* =====================================================================
   Nav
   ===================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  height: 56px;
  cursor: pointer;
  text-decoration: none;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}
.logo:hover { color: var(--pink-dark); }
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--pink-light); color: var(--pink-dark); }
.nav-link.active { color: var(--pink); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--pink);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
}
.nav-cta:hover { background: var(--pink-dark); color: white; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1040px) { /* was 860px; raised 2026-10-01 for the wider menu */
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* Dropdown submenu -- "Veterinary PCR Panels" > category pages.
   Desktop: hover/focus reveals an absolutely-positioned panel.
   Mobile (<=860px): shown inline, always expanded, no extra tap needed. */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > .nav-link { display: inline-flex; align-items: center; gap: 4px; }
.nav-item-dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}
.nav-dropdown {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(20, 10, 25, 0.12);
  z-index: 50;
}
.nav-item-dropdown:hover > .nav-dropdown,
.nav-item-dropdown:focus-within > .nav-dropdown { display: block; }
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--pink-light); color: var(--pink-dark); }

@media (max-width: 1040px) { /* was 860px; raised 2026-10-01 for the wider menu */
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-item-dropdown > .nav-link::after { display: none; }
  .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 4px 14px;
    margin-top: 2px;
  }
  .nav-dropdown a { padding: 10px 16px; font-size: 13px; color: var(--ink-muted); }
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { padding: 60px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  margin-bottom: 20px;
}
.hero .lead {
  margin-bottom: 32px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: white;
  background: var(--pink);
}
.btn-primary:hover { background: var(--pink-dark); color: white; }
.btn-secondary {
  color: var(--pink);
  background: white;
  border-color: var(--pink);
}
.btn-secondary:hover { background: var(--pink-light); color: var(--pink-dark); }
.btn-ghost {
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--pink-dark); }
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-accent {
  border-left: 3px solid var(--pink);
}
.card h4,
.card h3.subheading-sm {
  color: var(--ink);
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

.feature {
  padding: 24px 0;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 16px;
}

/* =====================================================================
   Section headers
   ===================================================================== */
.section-heading {
  margin-bottom: 48px;
}
.section-heading p {
  font-size: 17px;
  margin-top: 12px;
}

/* =====================================================================
   Forms (shared)
   ===================================================================== */
.form-field { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-glow);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-error { color: var(--danger); font-size: 12px; margin-top: 4px; }
.form-success {
  color: var(--success);
  font-size: 14px;
  padding: 12px;
  background: #f0f8f1;
  border-left: 3px solid var(--success);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.required { color: var(--pink); margin-left: 2px; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: #141014;
  color: #c8bfcc;
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand { font-family: var(--font-display); font-size: 22px; color: #fcd1ec; margin-bottom: 14px; }
.footer-tagline {
  font-size: 14px;
  color: #a09aa4;
  line-height: 1.6;
  margin-bottom: 6px;
  max-width: 340px;
}
.footer-tagline-accent {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #e066c9;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 340px;
}
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fcd1ec;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #a09aa4;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fcd1ec; }
.footer-address {
  font-size: 13px;
  color: #a09aa4;
  line-height: 1.7;
  font-style: normal;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #2a222c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #a09aa4;
}

/* Newsletter signup in footer */
.newsletter-inline {
  display: flex;
  gap: 6px;
  max-width: 340px;
}
.newsletter-inline input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 9px 12px;
  border: 1px solid #3a2e3e;
  background: #201a22;
  color: #c8bfcc;
  border-radius: var(--radius-sm);
  outline: none;
}
.newsletter-inline input:focus {
  border-color: var(--pink);
  background: #252028;
}
.newsletter-inline input::placeholder { color: #70687a; }
.newsletter-inline button {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border: none;
  background: var(--pink);
  color: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.newsletter-inline button:hover { background: var(--pink-dark); }
.newsletter-inline button:disabled { opacity: 0.5; cursor: not-allowed; }
.newsletter-status {
  font-size: 12px;
  margin-top: 8px;
  color: #a09aa4;
}
.newsletter-status.ok { color: #9ed6a3; }
.newsletter-status.err { color: #f2a6a6; }

/* =====================================================================
   Decorative elements
   ===================================================================== */
.dna-accent {
  display: inline-block;
  color: var(--pink);
  font-weight: 500;
}
.bg-dots {
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
}
.soft-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--pink-light);
  opacity: 0.6;
  z-index: -1;
}

/* =====================================================================
   Page hero (for inner pages)
   ===================================================================== */
.page-hero {
  padding: 80px 0 40px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin-bottom: 16px;
}
.page-hero .lead {
  max-width: 640px;
}

/* =====================================================================
   Team grid
   ===================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.team-card {
  text-align: center;
  padding: 24px 16px;
}
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  margin: 0 auto 14px;
}
.team-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.team-role {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 2px;
}


/* Team list with short bios (About page, 2026-11-15; no photos yet) */
.team-list { display: grid; gap: 28px; margin-top: 32px; }
.team-member .team-name { font-size: 17px; margin: 0; }
.team-member .team-role { font-size: 14px; color: var(--pink); font-weight: 500; margin: 2px 0 0; }
.team-member .team-degree { font-size: 13px; color: var(--ink-muted); margin: 2px 0 0; }
.team-member .team-bio { margin: 8px 0 0; }

/* News section (2026-11-15) */
.news-list { display: grid; gap: 32px; }
.news-teaser h2 { font-size: 22px; margin: 4px 0 8px; }
.news-teaser h2 a { color: var(--ink); text-decoration: none; }
.news-teaser h2 a:hover { color: var(--pink); }
.news-date { font-size: 13px; color: var(--ink-muted); margin: 0; }
.page-hero .news-date { margin-top: 12px; }
.news-body ul { margin: 0 0 1em 1.2em; }
.news-box { margin-top: 40px; padding: 24px; background: var(--pink-light); border-radius: 12px; }
.news-box-h { font-size: 15px; margin: 18px 0 4px; }
.news-box-h:first-child { margin-top: 0; }
.news-box p { margin: 0; }

/* =====================================================================
   Utility
   ===================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }

/* Notice block */
.notice {
  background: var(--pink-light);
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.notice strong {
  color: var(--pink-dark);
  font-weight: 600;
}

/* In-development banner */
.coming-soon-banner {
  background: linear-gradient(135deg, var(--pink-light) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 32px 0;
}
.coming-soon-banner h2 {
  color: var(--pink);
  margin-bottom: 12px;
}

/* =====================================================================
   Cookie consent banner
   ===================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.08);
  animation: cookieSlideUp 0.28s ease-out;
}
.cookie-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.cookie-text strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 600;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 9px 18px;
  font-size: 13px;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 540px) {
  .cookie-content { padding: 16px 20px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* =====================================================================
   Language picker
   ===================================================================== */
.lang-picker {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.lang-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lang-btn:hover { color: var(--pink-dark); background: var(--pink-light); }
.lang-btn.active { color: white; background: var(--pink); }

.translation-notice {
  background: var(--pink-light);
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.4;
  display: none;
}
.translation-notice.visible { display: block; }

/* =====================================================================
   Social icons (footer)
   ===================================================================== */
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #3a2e3e;
  color: #c8bfcc;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.social-link:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}
.social-link svg { width: 16px; height: 16px; display: block; }

/* =====================================================================
   Contact form — intent options
   ===================================================================== */
.intent-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.intent-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.intent-option:hover { border-color: var(--pink); background: var(--pink-light); }
.intent-option input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--pink);
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}
.intent-option.checked { border-color: var(--pink); background: var(--pink-light); }
.intent-body { flex: 1; }
.intent-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.intent-desc { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; line-height: 1.4; }
.intent-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  background: white;
  border: 1px solid var(--pink);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 1px;
}
.form-hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: -8px;
  margin-bottom: 18px;
}
.checkbox-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
  margin-bottom: 16px;
}
.checkbox-row input { accent-color: var(--pink); margin-top: 2px; }

/* =====================================================================
   PCR feature flag (set body[data-pcr-hidden=true] to hide)
   ===================================================================== */
body[data-pcr-hidden="true"] [data-pcr-only] { display: none !important; }
[data-pcr-when-off] { display: none; }
body[data-pcr-hidden="true"] [data-pcr-when-off] { display: block; }
body[data-pcr-hidden="true"] #home-services .grid-2 {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  margin: 0 auto;
  max-width: 560px;
}

/* =====================================================================
   Legal content pages
   ===================================================================== */
.legal-content h2 { margin-top: 36px; font-size: 22px; }
.legal-content h3 { margin-top: 24px; font-size: 17px; font-weight: 600; font-family: var(--font-sans); }
.legal-content p { margin-top: 10px; }
.legal-content ul, .legal-content ol { margin: 10px 0 10px 24px; color: var(--ink-soft); }
.legal-content ul li, .legal-content ol li { margin: 4px 0; font-size: 15px; }

/* =====================================================================
   Nav utility (login + lang picker)
   ===================================================================== */
.nav-utility {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-login {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-login:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-light);
}
/* Remove duplicate border on lang-picker when inside nav-utility */
.nav-utility .lang-picker {
  margin-left: 0;
  padding-left: 8px;
  border-left: none;
}
@media (max-width: 1040px) {
  .nav-utility {
    margin-left: auto;
    padding-left: 8px;
  }
}

/* =====================================================================
   Notice box (regulatory disclaimers, info blocks)
   ===================================================================== */
.notice-box {
  background: #fdf8f3;
  border: 1px solid #e8d5b8;
  border-left: 3px solid #c9853a;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =====================================================================
   Content list (services page)
   ===================================================================== */
.content-list {
  margin: 12px 0 0 20px;
  color: var(--ink-soft);
}
.content-list li {
  font-size: 15px;
  margin: 6px 0;
  line-height: 1.55;
}

/* ── Shared "panel card" components (pawGroupPanels()/pawPanelCard() in
   panel-data.php) — used on pcr-at-clinic.php AND products-availability.php.
   Moved here 2026-09-03 after products-availability.php shipped without
   this styling (it only lived in pcr-at-clinic.php's own <style> block). */
.pex-group { margin-bottom:30px; }
.pex-group:last-of-type { margin-bottom:0; }
.pex-group-label { font-size:10px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:10px; display:flex; align-items:center; gap:10px; }
.pex-group-label::after { content:''; flex:1; height:1px; background:var(--border); }
.pex-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
@media (max-width:860px) { .pex-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px) { .pex-grid { grid-template-columns:1fr; } }
.pex-panel-card { background:var(--bg-soft); border:1px solid var(--border); border-radius:var(--radius-sm); padding:12px 14px; }
.pex-panel-name { font-size:13px; font-weight:600; color:var(--ink); line-height:1.35; margin-bottom:7px; }
.pex-badges { display:flex; align-items:center; gap:5px; flex-wrap:wrap; margin-bottom:8px; }
.pex-species, .pex-status { display:inline-block; font-size:9px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; padding:2px 7px; border-radius:999px; line-height:1.6; }
.pex-species.canine { background:#e8f0fe; color:#1a56a4; }
.pex-species.feline { background:#fef3e2; color:#9a5200; }
.pex-species.multi  { background:var(--pink-light); color:var(--pink-dark); }
.pex-status.live { background:#e6f4ea; color:#1a7a3c; border:1px solid rgba(26,122,60,.22); }
.pex-pathogens { font-size:11px; color:var(--ink-muted); line-height:1.65; font-style:italic; }

/* =====================================================================
   Veterinary PCR Panels hub/category pages -- added 2026-09-18
   ===================================================================== */
.breadcrumb-nav { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb-nav .container { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); flex-wrap: wrap; }
.breadcrumb-nav a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--pink); }
.breadcrumb-nav [aria-current="page"] { color: var(--ink-soft); font-weight: 500; }

.draft-banner { background: #fdf8f3; border-bottom: 1px solid #e8d5b8; padding: 10px 0; }
.draft-banner .container { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
.draft-banner strong { color: #c9853a; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 680px) { .category-grid { grid-template-columns: 1fr; } }
.category-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.category-card h3 { font-size: 18px; margin-bottom: 8px; }
.category-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 14px; }
.category-card-link { font-size: 13.5px; font-weight: 600; }

.product-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 20px; background: var(--bg-card); scroll-margin-top: 90px; }
.product-block h3 { font-size: 20px; margin-bottom: 12px; }
/* 2026-09-20: single-column now that Species/Sample type were removed and
   Molecular targets is the only field left -- was a 3-column grid, which
   squeezed this one item into a narrow third of the row. */
.product-meta { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.product-meta dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.product-meta dd { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.product-desc { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 0; }
.data-gap { background: #fdf8f3; color: #c9853a; border: 1px dashed #e8d5b8; border-radius: 4px; padding: 1px 6px; font-style: italic; }
.editorial-check { margin-top: 14px; padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #fdf8f3; border: 1px solid #e8d5b8; border-left: 3px solid #c9853a; font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }

.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-trigger { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.faq-trigger::-webkit-details-marker { display: none; }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform .15s; color: var(--ink-muted); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-inner { padding-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

.related-categories { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.related-categories a { font-size: 13px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink-soft); }
.related-categories a:hover { color: var(--pink); border-color: var(--pink-light); background: var(--pink-light); }

.instrument-block { display: flex; gap: 24px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-top: 28px; }
@media (max-width: 680px) { .instrument-block { flex-direction: column; } }
.instrument-block h3 { font-size: 17px; margin-bottom: 8px; }
.instrument-block p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 10px; }
.instrument-photo { width: 280px; max-width: 100%; height: auto; flex-shrink: 0; border-radius: var(--radius); border: 1px solid var(--border); object-fit: cover; display: block; }
@media (max-width: 680px) { .instrument-photo { width: 100%; } }

/* 2026-10-01: menu got a second dropdown (Point-of-Need PCR). Tighten it on
   mid-size screens so the language buttons don't get pushed off the edge. */
@media (min-width: 1041px) and (max-width: 1300px) { /* 1240 -> 1300 on 2026-10-29 for the extra PL button */
  .nav { gap: 8px; }
  .nav-links { gap: 0; }
  .nav-link { font-size: 13px; padding: 8px 5px; }
  .nav-utility { margin-left: 4px !important; padding-left: 8px !important; gap: 5px !important; }
  .nav-utility a { padding: 5px 9px !important; }
  .lang-btn { padding-left: 4px; padding-right: 4px; }
}
/* 2026-10-01: small phones -- the utility row (Book a meeting, Login,
   languages) was wider than the screen and caused sideways scrolling. */
@media (max-width: 520px) {
  .logo { flex-shrink: 0; }
  .logo img { height: 40px !important; }
  .nav { gap: 6px; }
  .nav-utility { gap: 3px !important; padding-left: 6px !important; margin-left: auto !important; }
  .nav-utility a { font-size: 11px !important; padding: 4px 8px !important; }
  .lang-btn { padding: 3px 4px; font-size: 10.5px; }
  .nav-toggle { padding: 4px; }
  /* 2026-10-29: fourth language button (PL) */
  .lang-picker { gap: 0; }
  .nav-utility .lang-btn { padding: 3px 2px; letter-spacing: 0; }
  .logo img { height: 34px !important; }
}

/* 2026-10-05: longer product descriptions with paragraphs and lists */
.product-desc p { margin: 0 0 10px; }
.product-desc p:last-child { margin-bottom: 0; }
.product-desc ul { margin: 0 0 10px 20px; padding: 0; }
.product-desc li { margin: 4px 0; }

/* 2026-11-12: London Vet Show 2026 bar + section (lvs-2026.php, off after 20 Nov) */
.lvs-bar { background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.5; padding: 9px 0; text-align: center; }
.lvs-bar strong { color: #fff; background: var(--pink); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.lvs-bar a { color: #f6c6ea; font-weight: 600; margin-left: 6px; white-space: nowrap; }
/* Mobile: one short line instead of the full offer text (2026-11-15, approved by Anna) */
.lvs-bar-short { display: none; }
@media (max-width: 600px) { .lvs-bar { font-size: 12px; padding: 7px 0; } .lvs-bar a { margin-left: 4px; } .lvs-bar-long { display: none; } .lvs-bar-short { display: inline; } }
.lvs-banner { width: 100%; height: auto; border-radius: var(--radius-sm, 8px); display: block; margin-bottom: 28px; }
.lvs-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.lvs-talk { margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--pink); background: var(--bg-soft, #faf7fa); border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0; }
.lvs-talk-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); margin-bottom: 6px; }
.lvs-talk-title { font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.lvs-talk-when { font-size: 16px; margin: 0 0 4px; }
.lvs-talk-who { font-size: 15px; margin: 0; color: var(--ink-soft, #4a3f4e); }
.lvs-demo { margin: 18px 0; }
.lvs-demo h3 { font-size: 18px; margin: 0 0 6px; }
.lvs-times { list-style: none; padding: 0; margin: 8px 0 0; }
.lvs-times li { margin: 4px 0; }
.lvs-offer { background: var(--bg-soft, #faf7fa); border: 1px solid var(--border, #ece6ee); border-radius: var(--radius-sm, 8px); padding: 20px 22px; scroll-margin-top: 90px; }
.lvs-offer p { margin: 0 0 10px; }
.lvs-offer strong { color: var(--pink); }
.lvs-cond { font-size: 12.5px; color: var(--ink-muted); }
.lvs-grid-single { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 860px) { .lvs-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Language menu (2026-11-15): dropdown instead of single buttons, so more
   languages fit (EN, DE, FR, PL, NL, IT). Big touch targets on phones.
   ===================================================================== */
.lang-menu { position: relative; }
.lang-menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--ink-muted);
  padding: 5px 10px; min-height: 32px; border: 1px solid #ece6ee; border-radius: 999px; white-space: nowrap;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.lang-menu[open] > summary, .lang-menu > summary:hover { color: var(--pink-dark); border-color: var(--pink); }
.lang-menu .lang-picker,
.nav-utility .lang-menu .lang-picker {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 1000;
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  min-width: 150px; margin: 0; padding: 6px; border: 1px solid var(--border); border-left: 1px solid var(--border);
  background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(30, 10, 40, 0.12);
}
.lang-menu .lang-btn,
.nav-utility .lang-menu .lang-btn {
  text-align: left; font-size: 14px; font-weight: 500; letter-spacing: 0;
  padding: 10px 12px; min-height: 44px; border-radius: 8px; color: var(--ink);
}
.lang-menu .lang-btn.active { color: #fff; background: var(--pink); }

/* Links inside running text are underlined, so they are recognisable
   without relying on colour (accessibility, 2026-11-15). Buttons, menus,
   cards' titles and footer links are not affected. */
main p a:not(.btn), main li a:not(.btn), main td a:not(.btn), main address a:not(.btn) {
  text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px;
}

/* Next-step box at the end of Scientific Paw articles (2026-11-15) */
.article-next { padding: 28px; border: 1px solid var(--border); border-left: 4px solid var(--pink); border-radius: 12px; background: #fff; }
.article-next h2 { font-size: 22px; margin: 0 0 8px; }
.article-next p { margin: 0; }

/* Notice on automatically translated pages (2026-11-15) */
.translation-banner { background: var(--pink-light); border-bottom: 1px solid var(--border); color: var(--ink); font-size: 13.5px; padding: 10px 0; }
.translation-banner a { font-weight: 600; white-space: nowrap; }

/* 2026-11-15 custom panels teaser */
.teaser-pair { display:grid; grid-template-columns:1fr 1fr; gap:16px; max-width:820px; margin:20px auto 0; text-align:left; }
.teaser-card { background:var(--white,#fff); border:1px solid var(--line,#e8e2ea); border-radius:12px; padding:16px 18px; }
.teaser-card p { margin:0; font-size:15px; color:var(--ink-soft); }
.teaser-card a { display:inline-block; margin-top:6px; font-weight:600; }
@media (max-width:640px) { .teaser-pair { grid-template-columns:1fr; } }
#pdac { scroll-margin-top:110px; }

/* 2026-11-15 mobile btn wrap: long translated button labels must not run off-screen */
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.3; } }

/* 2026-11-24: country-based "from" price (geo-price.php) */
.paw-price { margin-top: 18px; }
.paw-price-line { font-size: 18px; margin: 0; }
.paw-price-val { font-size: 22px; }
.paw-price-note { font-size: 12.5px; color: var(--ink-muted); margin: 6px 0 0; max-width: 680px; }
.paw-price-note a { color: inherit; text-decoration: underline; }

/* 2026-11-25: panel "When to use" / "What the result shows" */
.product-block .product-when, .product-block .product-result { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.product-block .product-single { margin: 14px 0 0; }
