/* ==========================================================================
   Rose Medicare — Design System
   ========================================================================== */

:root{
  --red: #EC1F28;
  --red-dark: #C4141C;
  --red-tint: #FDECEC;
  --red-tint-2: #FFF6F6;
  --ink: #201F22;
  --charcoal: #3A3A3C;
  --gray-700: #55555A;
  --gray-500: #86868C;
  --gray-300: #D9D9DE;
  --gray-200: #EAEAED;
  --gray-100: #F5F5F7;
  --white: #FFFFFF;
  --teal: #0E8E86;

  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(32,31,34,0.06), 0 1px 1px rgba(32,31,34,0.04);
  --shadow-md: 0 8px 24px rgba(32,31,34,0.08);
  --shadow-lg: 0 20px 48px rgba(32,31,34,0.14);

  --container: 1240px;
  --nav-h: 76px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p{ margin: 0 0 1em; color: var(--gray-700); }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before{ content:""; width:20px; height:2px; background: var(--red); border-radius: 2px; }

.section{ padding: 88px 0; }
.section-tight{ padding: 56px 0; }
.section-soft{ background: var(--gray-100); }
.section-tint{ background: linear-gradient(180deg, var(--red-tint-2), var(--white)); }
.section-dark{ background: var(--ink); color: var(--white); }
.section-dark p{ color: rgba(255,255,255,.7); }
.section-dark h2, .section-dark h3{ color: var(--white); }

.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 2.6vw, 2.5rem); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark{ background: var(--ink); color: var(--white); }
.btn-dark:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; color: var(--ink); border-color: var(--gray-300); }
.btn-outline:hover{ border-color: var(--ink); }
.btn-ghost-light{ background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover{ background: rgba(255,255,255,.2); }
.btn-sm{ padding: 9px 18px; font-size: .85rem; }
.btn-block{ width:100%; }
.btn-wa{ background:#25D366; color:#fff; }
.btn-wa:hover{ background:#1ebe5b; }

/* Nav */
.nav{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--nav-h);
}
.nav .container{ height:100%; display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height: 40px; width:auto; }
.nav-links{ display:flex; align-items:center; gap: 30px; }
.nav-links a{ font-size: .93rem; font-weight: 600; color: var(--charcoal); position:relative; padding: 6px 0; }
.nav-links a.active, .nav-links a:hover{ color: var(--red); }
.nav-actions{ display:flex; align-items:center; gap: 12px; }
.nav-search-btn{
  display:flex; align-items:center; gap:8px; background: var(--gray-100); border:1px solid var(--gray-200);
  border-radius: var(--radius-pill); padding: 9px 16px; color: var(--gray-500); font-size:.87rem; min-width: 220px;
}
.nav-search-btn kbd{ margin-left:auto; font-size:.7rem; background:var(--white); border:1px solid var(--gray-300); border-radius:4px; padding:1px 6px; color:var(--gray-500); }
.nav-burger{ display:none; background:none; border:none; }

/* Hero */
.hero{ position:relative; overflow:hidden; padding: 64px 0 96px; }
.hero-bg{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(900px 500px at 82% -10%, var(--red-tint) 0%, transparent 60%),
    radial-gradient(700px 500px at -10% 40%, var(--gray-100) 0%, transparent 55%);
}
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center; }
.hero h1{ font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom: .4em; }
.hero h1 .accent{ color: var(--red); }
.hero-sub{ font-size: 1.1rem; max-width: 520px; }
.hero-cta{ display:flex; gap:14px; margin-top: 28px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap: 34px; margin-top: 48px; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--ink); }
.hero-stat span{ font-size: .82rem; color: var(--gray-500); font-weight:600; }

.smart-search{
  margin-top: 30px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 8px; box-shadow: var(--shadow-md);
  display:flex; align-items:center; gap: 8px; max-width: 540px;
}
.smart-search input{
  flex:1; border:none; outline:none; background:transparent; padding: 12px 10px; font-size: .97rem;
}
.smart-search .ai-badge{
  display:flex; align-items:center; gap:6px; font-size:.72rem; font-weight:700; color: var(--teal);
  background: rgba(14,142,134,.1); padding: 6px 10px; border-radius: var(--radius-pill); white-space:nowrap;
}

.hero-visual{ position:relative; }
.hero-card{
  background: var(--white); border:1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position:relative; z-index:2;
}
.hero-card-img{
  height: 260px; border-radius: var(--radius-md); overflow:hidden; margin-bottom:16px;
}
.hero-float{
  position:absolute; background: var(--white); border:1px solid var(--gray-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 14px 18px; z-index:3; display:flex; align-items:center; gap:10px;
}
.hero-float.f1{ top: -18px; right: -22px; }
.hero-float.f2{ bottom: 20px; left: -30px; }
.hero-float b{ display:block; font-size: .95rem; }
.hero-float span{ font-size:.75rem; color: var(--gray-500); }

/* Icon tiles used as product / category art (no external photography needed) */
.icon-tile{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--red-tint) 0%, var(--gray-100) 100%);
  color: var(--red);
}
.icon-tile svg{ width: 34%; height: 34%; }
.icon-tile.dark{ background: linear-gradient(135deg, #2a2a2c 0%, #1a1a1c 100%); color: var(--red); }

/* Marquee / trusted brands */
.marquee-wrap{ overflow:hidden; border-top:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200); padding: 22px 0; }
.marquee{ display:flex; gap: 56px; width:max-content; animation: scroll 28s linear infinite; align-items:center; }
.marquee span{ font-family: var(--font-serif); font-size: 1.15rem; color: var(--gray-500); font-weight:600; white-space:nowrap; }
/* Brand strip tiles — greyscale until hovered, each linking to its brand page. */
.marquee-item{ display:flex; align-items:center; justify-content:center; height:46px; min-width:96px;
  text-decoration:none; flex-shrink:0; transition:transform .18s; }
.marquee-item img{ max-height:46px; max-width:150px; object-fit:contain; mix-blend-mode:multiply;
  filter:grayscale(1); opacity:.62; transition:filter .22s, opacity .22s; }
.marquee-item:hover img{ filter:grayscale(0); opacity:1; }
.marquee-item.is-wordmark{ font-family:var(--font-serif); font-size:1.1rem; font-weight:600;
  color:var(--gray-400,#b4b2a9); white-space:nowrap; transition:color .22s; }
.marquee-item.is-wordmark:hover{ color:var(--red); }
.marquee-item:hover{ transform:translateY(-2px); }
/* Pause the scroll on hover so a logo can actually be clicked. */
.marquee-wrap:hover .marquee{ animation-play-state:paused; }
@media (prefers-reduced-motion: reduce){ .marquee{ animation:none; flex-wrap:wrap; justify-content:center; } }
@keyframes scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* Category grid */
.cat-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card{
  border:1px solid var(--gray-200); border-radius: var(--radius-md); padding: 22px;
  display:flex; flex-direction:column; gap: 14px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
  background: var(--white);
}
.cat-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.cat-card .icon-tile{ width:48px; height:48px; border-radius: 12px; }
.cat-card .icon-tile svg{ width:50%; height:50%; }
.cat-card h4{ font-size: 1rem; margin:0; }
.cat-card span{ font-size: .82rem; color: var(--gray-500); }

/* Product grid + cards */
.product-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap: 16px; flex-wrap:wrap;
  margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200);
}
.result-count{ font-size:.9rem; color: var(--gray-500); }
.result-count b{ color: var(--ink); }
.sort-select{
  border:1px solid var(--gray-300); border-radius: var(--radius-pill); padding: 9px 16px; font-size:.87rem; background:var(--white);
}

.catalog-layout{ display:grid; grid-template-columns: 260px 1fr; gap: 40px; align-items:start; }
.filter-panel{
  border:1px solid var(--gray-200); border-radius: var(--radius-md); padding: 22px; position: sticky; top: calc(var(--nav-h) + 20px);
}
.filter-block + .filter-block{ margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--gray-200); }
.filter-block h5{ font-size: .78rem; text-transform:uppercase; letter-spacing:.06em; color: var(--gray-500); margin: 0 0 12px; }
.filter-option{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding: 7px 0; font-size: .92rem; cursor:pointer; }
.filter-option input{ accent-color: var(--red); margin-right:8px; }
.filter-option .count{ color: var(--gray-500); font-size: .8rem; }
.filter-label-row{ display:flex; align-items:center; }

.product-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card{
  border:1px solid var(--gray-200); border-radius: var(--radius-md); overflow:hidden; background:var(--white);
  transition: box-shadow .15s ease, transform .15s ease; display:flex; flex-direction:column;
}
.product-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card-img{ height: 190px; }
.product-card-body{ padding: 18px; display:flex; flex-direction:column; gap: 8px; flex:1; }
.product-card-cat{ font-size: .72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color: var(--red); }
.product-card h4{ font-size: .98rem; margin:0; line-height:1.35; }
.product-card .brand-tag{ font-size:.8rem; color: var(--gray-500); }
.product-card-foot{ margin-top:auto; display:flex; gap:8px; padding-top: 12px; }

.empty-state{ text-align:center; padding: 60px 20px; color: var(--gray-500); }

/* AI concierge panel */
.concierge{
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--ink) 0%, #2c2c2f 100%);
  color: var(--white); padding: 30px; display:flex; gap: 24px; align-items:center; margin-bottom: 34px;
}
.concierge-icon{
  width:52px; height:52px; border-radius: 14px; background: rgba(236,31,40,.18); color: var(--red);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.concierge-body{ flex:1; }
.concierge-body h4{ color:#fff; margin: 0 0 4px; font-size: 1.05rem; }
.concierge-body p{ color: rgba(255,255,255,.65); margin:0; font-size: .9rem; }
.concierge-chips{ display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.chip{
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); color:#fff;
  font-size:.8rem; padding: 6px 14px; border-radius: var(--radius-pill); border-style:solid;
}
.chip:hover{ background: rgba(255,255,255,.16); }
.concierge-answer{
  margin-top:16px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md); padding: 14px 18px; font-size: .88rem; color: rgba(255,255,255,.85); display:none;
}
.concierge-answer.show{ display:block; }
.concierge-answer b{ color: #fff; }

/* Stats band */
.stats-band{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-box{ text-align:center; padding: 28px 12px; border-right: 1px solid var(--gray-200); }
.stat-box:last-child{ border-right:none; }
.stat-box b{ display:block; font-family: var(--font-serif); font-size: 2.2rem; color: var(--red); }
.stat-box span{ font-size: .85rem; color: var(--gray-500); font-weight:600; }

/* Feature list */
.feature-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card{ border:1px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px; }
.feature-card .icon-tile{ width:46px; height:46px; border-radius: 12px; margin-bottom: 16px; }
.feature-card .icon-tile svg{ width:50%; height:50%; }
.feature-card h4{ font-size: 1.02rem; }
.feature-card p{ font-size: .92rem; margin:0; }

/* Testimonials / Google Reviews */
.testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card{ background: var(--white); border:1px solid var(--gray-200); border-radius: var(--radius-md); padding: 24px; position:relative; }
.testi-stars{ color: #F5A623; font-size: .95rem; margin-bottom: 10px; letter-spacing: 2px; }
.testi-card p{ font-size: .93rem; font-style: italic; }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top: 14px; }
.testi-avatar{ width:38px; height:38px; border-radius:50%; background: var(--red-tint); color: var(--red); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; }
.testi-who b{ display:block; font-size: .85rem; }
.testi-who span{ font-size: .78rem; color: var(--gray-500); }
.testi-google-badge{ position:absolute; top:20px; right:20px; width:20px; height:20px; }
.google-reviews-head{ display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:6px; }
.google-reviews-head svg{ width:22px; height:22px; }
.reviews-cta{ text-align:center; margin-top:30px; }

/* CTA band */
.cta-band{
  border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--red) 0%, #ff4d55 100%);
  padding: 52px; display:flex; align-items:center; justify-content:space-between; gap: 24px; color:#fff; flex-wrap:wrap;
}
.cta-band h3{ color:#fff; margin:0 0 6px; font-size: 1.7rem; }
.cta-band p{ color: rgba(255,255,255,.85); margin:0; }
.cta-band .btn-outline{ background: rgba(255,255,255,.14); color:#fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-outline:hover{ background: rgba(255,255,255,.24); }
.cta-band .btn-dark{ background:#fff; color: var(--ink); }

/* Breadcrumb */
.breadcrumb{ font-size: .85rem; color: var(--gray-500); margin-bottom: 22px; }
.breadcrumb a:hover{ color: var(--red); }

/* Product detail */
.pd-layout{ display:grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.pd-gallery-main{ height: 380px; border-radius: var(--radius-lg); overflow:hidden; margin-bottom: 14px; }
.pd-thumbs{ display:grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.pd-thumb{ height: 76px; border-radius: 10px; overflow:hidden; border: 2px solid transparent; cursor:pointer; }
.pd-thumb.active{ border-color: var(--red); }
.pd-badge{ display:inline-block; font-size:.75rem; font-weight:700; color: var(--red); background: var(--red-tint); padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.pd-info h1{ font-size: 1.8rem; margin-bottom: .3em; }
.pd-meta{ display:flex; gap: 18px; margin: 10px 0 22px; font-size: .88rem; color: var(--gray-500); }
.pd-meta b{ color: var(--ink); }
.pd-cta{ display:flex; gap: 12px; margin: 22px 0; }
.spec-table{ width:100%; border-collapse: collapse; margin: 18px 0 0; }
.spec-table tr{ border-bottom: 1px solid var(--gray-200); }
.spec-table td{ padding: 11px 4px; font-size: .9rem; }
.spec-table td:first-child{ color: var(--gray-500); width: 44%; }
.spec-table td:last-child{ font-weight:600; }
.trust-mini{ display:flex; gap:18px; margin-top: 22px; flex-wrap:wrap; }
.trust-mini-item{ display:flex; align-items:center; gap:8px; font-size: .83rem; color: var(--gray-500); }
.trust-mini-item svg{ width:18px; height:18px; color: var(--teal); flex-shrink:0; }

.tabs{ display:flex; gap: 28px; border-bottom: 1px solid var(--gray-200); margin-top: 64px; }
.tab-btn{ background:none; border:none; padding: 14px 0; font-weight:700; font-size:.95rem; color: var(--gray-500); border-bottom: 2px solid transparent; }
.tab-btn.active{ color: var(--ink); border-color: var(--red); }
.tab-panel{ padding: 28px 0; display:none; }
.tab-panel.active{ display:block; }

/* About page */
.timeline{ position:relative; padding-left: 34px; }
.timeline::before{ content:""; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background: var(--gray-200); }
.timeline-item{ position:relative; padding-bottom: 34px; }
.timeline-item::before{ content:""; position:absolute; left:-34px; top:4px; width:14px; height:14px; border-radius:50%; background: var(--red); border: 3px solid var(--red-tint); }
.timeline-item b{ display:block; color: var(--red); font-size: .8rem; letter-spacing:.05em; margin-bottom:4px; }

.value-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.value-card{ border:1px solid var(--gray-200); border-radius: var(--radius-md); padding: 22px; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:start; }
.form-field{ margin-bottom: 16px; }
.form-field label{ display:block; font-size: .85rem; font-weight:600; margin-bottom: 6px; }
.form-field input, .form-field textarea{
  width:100%; border:1px solid var(--gray-300); border-radius: var(--radius-sm); padding: 12px 14px; outline:none;
  transition: border-color .15s ease;
}
.form-field input:focus, .form-field textarea:focus{ border-color: var(--red); }
.contact-info-card{ border:1px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px; margin-bottom:16px; }
.contact-info-row{ display:flex; gap:14px; align-items:flex-start; padding: 12px 0; border-bottom:1px solid var(--gray-200); }
.contact-info-row:last-child{ border:none; }
.contact-info-row .icon-tile{ width:38px; height:38px; border-radius:10px; flex-shrink:0; }
.contact-info-row .icon-tile svg{ width:50%; height:50%; }
.contact-info-row b{ display:block; font-size:.9rem; }
.contact-info-row span, .contact-info-row a{ font-size:.85rem; color: var(--gray-500); }
.map-embed{ height: 220px; border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--gray-200); }

/* Footer */
.footer{ background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer h5{ color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.footer-grid{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer a{ font-size: .88rem; color: rgba(255,255,255,.65); display:block; padding: 6px 0; }
.footer a:hover{ color:#fff; }
.footer-brand img{ height:38px; margin-bottom:14px; filter: brightness(0) invert(1); }
.footer-brand p{ font-size:.85rem; color: rgba(255,255,255,.55); max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top: 16px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; padding:0; }
.footer-social a:hover{ background: var(--red); border-color: var(--red); }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display:flex; justify-content:space-between; font-size:.8rem; color: rgba(255,255,255,.45); flex-wrap:wrap; gap:10px; }

/* WhatsApp float */
.wa-float{
  position: fixed; bottom: 26px; right: 26px; z-index: 200; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-lg);
}
.wa-float svg{ width:28px; height:28px; color:#fff; }

/* Modal */
.modal-overlay{
  position: fixed; inset:0; background: rgba(20,20,22,.55); z-index: 300; display:none; align-items:center; justify-content:center; padding: 20px;
}
.modal-overlay.show{ display:flex; }
.modal{ background:#fff; border-radius: var(--radius-lg); padding: 32px; max-width: 460px; width:100%; box-shadow: var(--shadow-lg); position:relative; }
.modal-close{ position:absolute; top:16px; right:16px; background: var(--gray-100); border:none; width:32px; height:32px; border-radius:50%; }

/* Skip link / a11y */
.skip-link{ position:absolute; left:-999px; top:0; background:#fff; padding:10px 16px; z-index:999; }
.skip-link:focus{ left: 10px; top:10px; }

/* Mobile nav drawer */
.mobile-drawer{
  position: fixed; inset:0; background: rgba(20,20,22,.5); z-index: 250; display:none;
}
.mobile-drawer.show{ display:block; }
.mobile-drawer-panel{
  position:absolute; top:0; right:0; bottom:0; width: 78%; max-width: 340px; background:#fff; padding: 24px; box-shadow: var(--shadow-lg);
}
.mobile-drawer-panel a{ display:block; padding: 14px 4px; font-weight:600; border-bottom: 1px solid var(--gray-200); }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; }
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .catalog-layout{ grid-template-columns: 1fr; }
  .filter-panel{ position:static; }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .stats-band{ grid-template-columns: repeat(2,1fr); }
  .stat-box:nth-child(2){ border-right:none; }
  .feature-grid, .testi-grid{ grid-template-columns: repeat(2,1fr); }
  .pd-layout{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .nav-links{ display:none; }
  .nav-search-btn{ min-width:auto; }
  .nav-burger{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; }
}
@media (max-width: 620px){
  .section{ padding: 56px 0; }
  .cat-grid{ grid-template-columns: 1fr 1fr; }
  .product-grid{ grid-template-columns: 1fr; }
  .feature-grid, .testi-grid{ grid-template-columns: 1fr; }
  .stats-band{ grid-template-columns: 1fr 1fr; }
  .cta-band{ flex-direction:column; text-align:center; padding: 36px 24px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-stats{ gap:20px; }
  .concierge{ flex-direction:column; align-items:flex-start; }
}

/* ==========================================================================
   Accessibility additions (WCAG 2.1 AA)
   ========================================================================== */

/* 2.4.7 Focus Visible — a clear, high-contrast indicator on every interactive
   element. Uses :focus-visible so it appears for keyboard users without
   drawing a ring on every mouse click. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #7c2d3a;
  outline-offset: 2px;
  border-radius: 3px;
}

/* The search input previously set outline:none with no replacement.
   Restore a visible focus state on its wrapper. */
.search-wrap:focus-within {
  outline: 3px solid #7c2d3a;
  outline-offset: 2px;
}

/* Fallback for browsers without :focus-visible support */
@supports not selector(:focus-visible) {
  a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 3px solid #7c2d3a;
    outline-offset: 2px;
  }
}

/* Skip link — visible once focused */
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 18px;
  background: #fff;
  color: #7c2d3a;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}

/* 2.3.3 Animation from Interactions — respect the OS "reduce motion" setting. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reserve space for lazy-loaded product imagery to avoid layout shift. */
.product-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.product-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Honeypot — hidden from humans and assistive tech, visible to naive bots. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}


/* ==========================================================================
   v10 fixes + interactive lab hero
   ========================================================================== */

/* Icons: icon() emits <svg viewBox="0 0 24 24"> with no intrinsic size, so
   without a default they stretch to fill their flex parent (the search box
   icon was rendering at 178px). Context-specific rules below still win on
   specificity. */
svg { width: 20px; height: 20px; flex-shrink: 0; }
.smart-search svg { width: 22px; height: 22px; }

/* Logo: keep the true 1257x408 aspect ratio, size it with CSS. */
.brand-logo { width: 150px; height: auto; display: block; }
.footer-brand .brand-logo{ width:160px; height:auto; aspect-ratio:500/162; object-fit:contain; }

/* Product imagery: contain, not cover — instruments must be fully visible.
   A light panel behind them keeps the grid looking even. */
.product-card-img,
.hero-card-img {
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.product-card-img img,
.hero-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Interactive lab panel ---- */
.lab-panel{
  background: var(--white); border:1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px; position:relative; z-index:2;
}
.lab-panel-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; }
.lab-eyebrow{ font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color: var(--red); }
.lab-total{ font-size:.8rem; color: var(--gray-500); }
.lab-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; }
.lab-tile{
  display:flex; flex-direction:column; gap:4px; padding:12px 10px;
  border:1px solid var(--gray-200); border-radius: var(--radius-md);
  background: var(--white); text-decoration:none; color: inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.lab-tile:hover, .lab-tile.on{ border-color: var(--red); background: var(--red-tint); transform: translateY(-2px); }
.lab-tile-icon{ display:flex; color: var(--red); }
.lab-tile-icon svg{ width:20px; height:20px; }
.lab-tile-name{ font-size:.85rem; font-weight:600; line-height:1.25; }
.lab-tile-count{ font-size:.72rem; color: var(--gray-500); }
.lab-detail{
  margin-top:14px; padding:12px 14px; border-radius: var(--radius-md);
  background: var(--gray-100); display:flex; flex-direction:column; gap:2px; min-height:58px;
}
.lab-detail b{ font-size:.88rem; }
.lab-detail span{ font-size:.8rem; color: var(--gray-500); line-height:1.45; }

@media (max-width: 980px){ .lab-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 620px){ .lab-grid{ grid-template-columns: repeat(2,1fr); } .lab-panel{ padding:16px; } }


/* Internal forms page */
.form-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap:14px; }
.form-card{
  display:flex; flex-direction:column; gap:6px; padding:18px;
  background: var(--white); border:1px solid var(--gray-200); border-radius: var(--radius-md);
  text-decoration:none; color:inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.form-card:hover{ border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-card-kind{ font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--red); }
.form-card b{ font-size:1rem; }
.form-card-desc{ font-size:.85rem; color: var(--gray-500); line-height:1.5; }
.form-card-go{ margin-top:8px; font-size:.85rem; font-weight:600; color: var(--red); }
.icon-tile img,.pd-thumb .icon-tile img,#mainImg img{ mix-blend-mode:multiply; }
.icon-tile.dark img,#mainImg.dark img{ mix-blend-mode:normal; }
.chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ border:1px solid var(--gray-200,#e5e0e0); background:#fff; color:var(--gray-700,#3d3a3a);
  padding:8px 14px; border-radius:99px; font-size:.86rem; cursor:pointer; font-family:inherit;
  transition:border-color .15s, background .15s, color .15s; }
.chip:hover{ border-color:var(--red); }
.chip.active{ background:var(--red); border-color:var(--red); color:#fff; }
.chip-extra{ display:none; }
.chip-more{ border-style:dashed; color:var(--gray-500,#888780); }
.brand-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:16px; }
.brand-card{ display:flex; flex-direction:column; gap:10px; padding:20px; border:1px solid var(--gray-200,#eee5e5);
  border-radius:12px; background:#fff; text-decoration:none; color:inherit; transition:border-color .15s, transform .15s; }
.brand-card:hover{ border-color:var(--red); transform:translateY(-2px); }
.brand-card-logo{ height:64px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#fdecec 0%,#f5f5f7 100%); border-radius:10px; padding:10px; overflow:hidden; }
.brand-card-logo img{ max-height:100%; max-width:100%; object-fit:contain; mix-blend-mode:multiply;
  filter:grayscale(1); opacity:.85; transition:filter .2s, opacity .2s; }
.brand-card:hover .brand-card-logo img{ filter:grayscale(0); opacity:1; }
.brand-card-logo.is-wordmark{ font-family:var(--font-display,Fraunces,serif); font-size:1.05rem; font-weight:600;
  color:var(--gray-700,#4a4444); text-align:center; line-height:1.25; }
.brand-card-name{ font-size:.95rem; }
.brand-card-go{ font-size:.8rem; color:var(--red); font-weight:600; }
/* ---- Help me choose: right-edge tab + slide-out ---- */
#chooseTab{ position:fixed; right:0; top:50%; transform:translateY(-50%) translateX(0);
  z-index:940; background:var(--red); color:#fff; border:0; cursor:pointer; font-family:inherit;
  font-size:.82rem; font-weight:600; letter-spacing:.02em; padding:16px 10px;
  border-radius:10px 0 0 10px; box-shadow:0 2px 14px rgba(0,0,0,.18);
  writing-mode:vertical-rl; text-orientation:mixed; transition:transform .18s, background .18s; }
#chooseTab:hover{ background:#8e2434; transform:translateY(-50%) translateX(-3px); }
#chooseTab.hidden{ transform:translateY(-50%) translateX(110%); }
#chooseScrim{ position:fixed; inset:0; background:rgba(20,12,14,.42); opacity:0; pointer-events:none;
  transition:opacity .22s; z-index:945; }
#chooseScrim.on{ opacity:1; pointer-events:auto; }
#chooseDrawer{ position:fixed; top:0; right:0; height:100%; width:min(400px,92vw); background:#fff;
  z-index:950; transform:translateX(100%); transition:transform .26s cubic-bezier(.4,0,.2,1);
  display:flex; flex-direction:column; box-shadow:-8px 0 30px rgba(0,0,0,.16); }
#chooseDrawer.on{ transform:translateX(0); }
#chooseDrawer .cd-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
  padding:20px 20px 14px; border-bottom:1px solid var(--gray-200,#eee5e5); }
#chooseDrawer .cd-head b{ display:block; font-size:1.02rem; }
#chooseDrawer .cd-head span{ display:block; font-size:.8rem; color:var(--gray-500,#888780); margin-top:2px; }
#chooseDrawer .cd-close{ background:none; border:0; font-size:1.6rem; line-height:1; cursor:pointer;
  color:var(--gray-500,#888780); padding:0 4px; }
#chooseDrawer .cd-body{ padding:18px 20px 26px; overflow-y:auto; flex:1; }
#chooseDrawer .cd-q{ margin-bottom:16px; }
#chooseDrawer .cd-q label{ display:block; font-size:.76rem; text-transform:uppercase; letter-spacing:.06em;
  color:var(--gray-500,#888780); margin-bottom:7px; }
#chooseDrawer .chip{ font-size:.8rem; padding:6px 11px; }
#chooseDrawer .cd-actions{ display:flex; gap:8px; margin:18px 0 6px; }
.cd-results{ display:flex; flex-direction:column; gap:8px; margin-top:14px; }
.cd-item{ display:flex; align-items:center; gap:10px; padding:8px; border:1px solid var(--gray-200,#eee5e5);
  border-radius:10px; text-decoration:none; color:inherit; transition:border-color .15s; }
.cd-item:hover{ border-color:var(--red); }
.cd-item img,.cd-item .cd-item-ph{ width:46px; height:46px; object-fit:contain; flex-shrink:0;
  background:linear-gradient(135deg,#fdecec,#f5f5f7); border-radius:8px; mix-blend-mode:multiply; }
.cd-item b{ display:block; font-size:.84rem; line-height:1.3; }
.cd-item em{ display:block; font-style:normal; font-size:.74rem; color:var(--gray-500,#888780); margin-top:2px; }
@media (max-width:620px){ #chooseTab{ font-size:.74rem; padding:13px 8px; } }
@media print{ #chooseTab,#chooseDrawer,#chooseScrim{ display:none; } }
/* ---- Products mega-menu ---- */
.nav-mega-wrap{ position:static; display:inline-flex; align-items:center; }
.nav-mega{ position:absolute; left:0; right:0; top:100%; background:#fff;
  border-top:1px solid var(--gray-200,#eee5e5); box-shadow:0 18px 40px rgba(0,0,0,.10);
  opacity:0; transform:translateY(-6px); transition:opacity .16s, transform .16s; z-index:930; }
.nav-mega.on{ opacity:1; transform:translateY(0); }
.nav-mega-inner{ max-width:1180px; margin:0 auto; padding:26px 24px 30px;
  display:grid; grid-template-columns:1.1fr .8fr 1.3fr; gap:34px; }
.nav-mega-col h5{ font-size:.7rem; text-transform:uppercase; letter-spacing:.09em;
  color:var(--gray-500,#888780); margin:0 0 14px; font-weight:600; }
.nav-mega-links{ display:flex; flex-direction:column; gap:9px; }
.nav-mega-links.two-up{ display:grid; grid-template-columns:1fr 1fr; gap:9px 18px; }
.nav-mega-links a{ font-size:.88rem; color:var(--gray-700,#3d3a3a); text-decoration:none; }
.nav-mega-links a:hover{ color:var(--red); }
.nav-mega-all{ display:inline-block; margin-top:16px; font-size:.84rem; font-weight:600;
  color:var(--red); text-decoration:none; }
.nav-mega-prods{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.nav-mega-prod{ display:flex; align-items:center; gap:10px; padding:7px; border-radius:10px;
  text-decoration:none; color:var(--gray-700,#3d3a3a); font-size:.82rem; line-height:1.3;
  border:1px solid transparent; transition:border-color .15s, background .15s; }
.nav-mega-prod:hover{ border-color:var(--gray-200,#eee5e5); background:#fdfbfb; }
.nav-mega-thumb{ width:44px; height:44px; flex-shrink:0; border-radius:8px; overflow:hidden;
  background:linear-gradient(135deg,#fdecec,#f5f5f7); display:flex; align-items:center; justify-content:center; }
.nav-mega-thumb img{ max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.nav-mega-thumb svg{ width:22px; height:22px; color:var(--red); }
@media (max-width:980px){ .nav-mega{ display:none; } }


/* ---- Equipment mentioned in an article -------------------------------
   The conversion point of the blog: a reader who has just finished a piece
   on, say, HbA1c testing sees the analysers we actually sell for it. */
.post-equip{ margin: 34px 0 6px; padding-top: 26px; border-top: 1px solid var(--gray-200); }
.post-equip-title{ font-family: var(--font-serif); font-size: 1.15rem; margin: 0 0 16px; }
.post-equip-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.post-equip-card{ display: flex; gap: 13px; align-items: center; text-decoration: none;
  border: 1px solid var(--gray-200); border-radius: 12px; padding: 12px;
  transition: border-color .18s, box-shadow .18s, transform .18s; background: #fff; }
.post-equip-card:hover{ border-color: var(--red); box-shadow: 0 6px 18px rgba(0,0,0,.07); transform: translateY(-2px); }
.post-equip-thumb{ width: 64px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.post-equip-thumb img{ max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.post-equip-meta{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-equip-brand{ font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.post-equip-name{ font-weight: 600; font-size: .92rem; color: var(--gray-900, #222); line-height: 1.3; }
.post-equip-link{ font-size: .8rem; color: var(--red); font-weight: 600; margin-top: 2px; }

/* Registered office / CIN strip — legal transparency, not a business location. */
.footer-registered{ display:flex; flex-wrap:wrap; gap:6px 26px; padding:14px 0 0;
  font-size:.78rem; line-height:1.5; color:var(--gray-500,#8a8880); opacity:.85; }
.footer-registered span{ white-space:normal; }
@media (max-width:640px){ .footer-registered{ font-size:.74rem; } }

/* Nine nav items now that the catalogue has a link. Between the point where the
   desktop nav appears (981px) and a comfortable width, tighten the spacing so
   the row cannot overflow into the search and enquire buttons. */
@media (min-width:981px) and (max-width:1200px){
  .nav-links{ gap:18px; }
  .nav-links a{ font-size:.88rem; }
}

/* ==========================================================================
   Mobile overflow fixes
   --------------------------------------------------------------------------
   Measured on a 375px viewport: the document was 510px wide, so every page
   scrolled sideways and the right-hand edge of the content was unreachable.
   Two separate causes, both fixed below.
   ========================================================================== */

/* 1. The nav row.
   Hiding the search button's label and shortcut hint used to live only in the
   981-1200px band above, so below 980px they reappeared: the search button
   went back to full width and the row needed 510px. The label is pointless
   next to a magnifier icon on a phone, so hide it everywhere below 980 too. */
/* Up to 1200px, not 980px.

   The original rule hid these only between 981 and 1200px. v57 moved it to
   "max-width: 980px" to fix phones — and in doing so uncovered the 981-1200
   band it used to protect, where the full desktop nav is still showing. At
   1009px the row then needed 1132px and the page scrolled sideways. One
   bound has to cover both: the label is redundant next to a magnifier icon
   at any width below a comfortable desktop. */
@media (max-width: 1200px){
  .nav-search-btn span,
  .nav-search-btn kbd{ display:none; }
  .nav-search-btn{ min-width:auto; padding:9px 11px; }
}
@media (max-width: 620px){
  .nav .brand-logo{ width:118px; }
  .nav-actions{ gap:8px; }
  .nav-actions .btn-sm{ padding:8px 12px; font-size:.82rem; }
}

/* 2. Two-column splits.
   These were written inline as grid-template-columns:1fr 1fr, which no media
   query can override, so they stayed two columns on a phone. `1fr` also
   refuses to shrink below its content, so the tracks grew past the container
   instead of squeezing: on the homepage they totalled 437px inside a 375px
   box, pushing the stats band off-screen and dragging the whole document
   with it. minmax(0,1fr) lets a track actually shrink; the breakpoint stacks
   them. */
.split-2,
.split-2-tight{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
}
.split-2{ gap:56px; }
.split-2-tight{ gap:14px; align-items:start; }
.split-2.is-start{ align-items:start; }

@media (max-width: 820px){
  .split-2{ grid-template-columns:minmax(0,1fr); gap:32px; }
}
@media (max-width: 480px){
  .split-2-tight{ grid-template-columns:minmax(0,1fr); }
}
