/* ===========================================================
   Elite Biomedical Solutions — shared stylesheet
   =========================================================== */

:root {
  --navy: #0a2540;
  --navy-deep: #061a30;
  --navy-mid: #0d3a66;
  --blue: #1565d8;
  --blue-light: #4a90e2;
  --accent: #00b8a9;
  --gold: #e0a93b;
  --ink: #14233a;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --bg: #f6f9fc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(21, 101, 216, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(21, 101, 216, 0.42); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color:#fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-white { background:#fff; color:var(--blue); }
.btn-white:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,0,0,0.2); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header { position: sticky; top: 0; z-index: 200; }

/* Utility / top bar */
.topbar { background: var(--navy-deep); color: #cfe0f5; font-size: 0.88rem; }
.topbar .container { display: flex; align-items: center; justify-content: flex-end; gap: 28px; padding: 9px 0; }
.topbar a { transition: color 0.2s; font-weight: 600; letter-spacing: 0.03em; }
.topbar .call { margin-right: auto; color: var(--gold); font-size: 1.05rem; font-weight: 700; }
.topbar .call:hover { color: #f3c66a; }
.topbar .util:hover { color: #fff; }
.topbar .sep { opacity: 0.3; }

/* Main nav */
.mainnav { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.06); }
.mainnav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; }
.site-logo { height: 48px; width: auto; display: block; transition: transform 0.3s ease; animation: logoIn 0.9s cubic-bezier(.2,.7,.2,1) both; }
.brand:hover .site-logo { transform: translateY(-2px) scale(1.03); }
@keyframes logoIn { from { opacity:0; transform: translateY(-12px) scale(.96);} to { opacity:1; transform:translateY(0) scale(1);} }

.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 7px;
  color: #fff; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 14px 16px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav > li > a:hover, .nav > li.open > a { color: var(--blue-light); }
.nav .caret { width: 10px; height: 10px; transition: transform 0.25s; }
.nav > li:hover .caret, .nav > li.open .caret { transform: rotate(180deg); }

/* Dropdown panel */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 248px;
  background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--blue-light); border-radius: 10px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.4); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none; z-index: 50;
}
.nav > li:hover .dropdown, .nav > li.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; color: #dce8f7; font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; padding: 11px 14px;
  border-radius: 7px; transition: background 0.18s, color 0.18s, padding-left 0.18s;
}
.dropdown li a:hover { background: rgba(74,144,226,0.18); color: #fff; padding-left: 20px; }
.dropdown li.featured a { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; font-size: 1.4rem; line-height: 1; padding: 6px 12px; border-radius: 8px; cursor: pointer; }

/* ===========================================================
   PAGE HERO (interior pages)
   =========================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0 64px;
  background: radial-gradient(1000px 500px at 85% -20%, #143a63 0%, transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.page-hero::before {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 26px 26px; pointer-events:none;
}
.page-hero .container { position: relative; }
.breadcrumb { font-size: 0.85rem; color: #9fb3cc; margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: #c5d4e6; font-size: 1.1rem; max-width: 620px; }

/* ===========================================================
   SECTIONS / GENERIC
   =========================================================== */
section.block { padding: 80px 0; }
section.block.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--navy); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.prose h3 { color: var(--navy); font-size: 1.4rem; margin: 30px 0 12px; }

/* Card grids */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 28px; box-shadow:var(--shadow); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ic { width:54px; height:54px; border-radius:14px; background:linear-gradient(135deg,#e8f1ff,#dcfaf6); display:grid; place-items:center; font-size:1.5rem; margin-bottom:18px; }
.card h3 { font-size:1.2rem; color:var(--navy); margin-bottom:10px; }
.card p { color:var(--muted); font-size:0.97rem; }
.card .num { font-family:'Sora'; font-weight:800; font-size:2.3rem; background:linear-gradient(120deg,var(--blue),var(--accent)); -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:8px; }

/* Brand index chips */
.brand-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.brand-chip {
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:26px 18px;
  text-align:center; font-weight:700; color:var(--navy); font-size:1.02rem;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}
.brand-chip span { display:block; font-family:'Inter'; font-weight:500; font-size:0.8rem; color:var(--muted); margin-top:6px; }
.brand-chip:hover { transform:translateY(-4px); box-shadow:var(--shadow); color:var(--blue); border-color:var(--blue-light); }

/* Product cards */
.product-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:transform 0.25s, box-shadow 0.25s; display:flex; flex-direction:column; }
.product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.product-card .thumb { aspect-ratio: 4/3; background:linear-gradient(135deg,#eef4fb,#def3f0); display:grid; place-items:center; font-size:2.6rem; }
.product-card .thumb.img { background:#fff; padding:14px; }
.product-card .thumb.img img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; transition:transform 0.3s ease; }
.product-card:hover .thumb.img img { transform:scale(1.06); }
.product-card h3 { min-height:2.6em; }

/* Brand filter bar */
.filter-bar { background:#fff; border-bottom:1px solid var(--line); }
.filter-bar .container { display:flex; flex-wrap:wrap; gap:12px; padding:20px 0; justify-content:center; }
.filter-pill {
  display:inline-flex; align-items:center; gap:10px; padding:11px 18px; border-radius:8px;
  background:#eef1f5; color:var(--navy); font-weight:700; font-size:0.92rem; letter-spacing:0.03em;
  text-transform:uppercase; transition:background 0.2s, color 0.2s, transform 0.2s;
}
.filter-pill b { background:#fff; color:var(--muted); font-weight:700; border-radius:5px; padding:2px 9px; font-size:0.82rem; }
.filter-pill:hover { transform:translateY(-2px); background:#e3e9f2; }
.filter-pill.active { background:var(--gold); color:#3a2c06; }
.filter-pill.active b { background:#c8901f; color:#fff; }
.section-head .count { font-family:'Inter'; font-weight:600; font-size:0.95rem; color:var(--muted); margin-left:8px; }
.product-card .body { padding:20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-card .brandtag { font-size:0.75rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--blue); }
.product-card h3 { font-size:1.05rem; color:var(--navy); }
.product-card .meta { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:10px; }
.product-card .stock { font-size:0.8rem; color:var(--accent); font-weight:700; }

/* Checklist */
.check-list { list-style:none; }
.check-list li { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; color:var(--ink); font-weight:500; }
.check-list li .ck { color:var(--accent); font-weight:800; flex-shrink:0; }

/* Split */
.split { display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center; }
.split-visual {
  border-radius:24px; min-height:360px; background: linear-gradient(160deg,#0f3a66,#0a2540);
  position:relative; overflow:hidden; box-shadow:var(--shadow-lg); display:grid; place-items:center;
}
.split-visual .glow { position:absolute; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle,rgba(0,184,169,0.5),transparent 70%); filter:blur(20px); }
.split-visual .big-ic { position:relative; font-size:5rem; }
.split-visual.img { background:#fff; padding:28px; }
.split-visual.img img { position:relative; width:100%; height:100%; max-height:320px; object-fit:contain; mix-blend-mode:multiply; }
.mini-product .ic.img { background:#fff; padding:5px; overflow:hidden; }
.mini-product .ic.img img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.split h2 { font-size:clamp(1.8rem,3vw,2.4rem); color:var(--navy); margin-bottom:18px; }
.split p { color:var(--muted); font-size:1.05rem; margin-bottom:22px; }

/* FAQ / accordion */
.faq { max-width:820px; margin:0 auto; }
.faq-item { border:1px solid var(--line); border-radius:12px; margin-bottom:14px; background:#fff; overflow:hidden; }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:20px 24px; font-family:'Sora'; font-weight:600; font-size:1.05rem; color:var(--navy); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-q .plus { font-size:1.4rem; color:var(--blue); transition:transform 0.25s; flex-shrink:0; }
.faq-item.open .faq-q .plus { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.3s ease; }
.faq-a p { padding:0 24px 20px; color:var(--muted); }
.faq-item.open .faq-a { max-height:320px; }

/* Forms */
.form-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:36px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field { margin-bottom:18px; display:flex; flex-direction:column; gap:7px; }
.field label { font-weight:600; font-size:0.9rem; color:var(--navy); }
.field input, .field select, .field textarea {
  border:1.5px solid var(--line); border-radius:10px; padding:12px 14px; font:inherit; color:var(--ink); background:var(--bg);
  transition:border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(21,101,216,0.15); background:#fff; }
.field textarea { resize:vertical; min-height:120px; }

/* Info tiles (contact) */
.info-tile { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow); }
.info-tile .ic { font-size:1.6rem; margin-bottom:10px; }
.info-tile h3 { color:var(--navy); font-size:1.05rem; margin-bottom:6px; }
.info-tile p, .info-tile a { color:var(--muted); font-size:0.97rem; }
.info-tile a:hover { color:var(--blue); }

/* CTA banner */
.cta-banner { background: linear-gradient(135deg,var(--blue),#0d4fb0); color:#fff; border-radius:28px; padding:60px; text-align:center; box-shadow:var(--shadow-lg); position:relative; overflow:hidden; }
.cta-banner::after { content:""; position:absolute; right:-80px; top:-80px; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,0.08); }
.cta-banner h2 { font-size:clamp(1.8rem,3vw,2.5rem); margin-bottom:16px; }
.cta-banner p { font-size:1.1rem; color:#dce9ff; max-width:560px; margin:0 auto 30px; }

/* Trust bar */
.trustbar { background:var(--white); border-bottom:1px solid var(--line); }
.trustbar .container { display:flex; flex-wrap:wrap; gap:28px 50px; align-items:center; justify-content:center; padding:24px 0; }
.trust-item { display:flex; align-items:center; gap:10px; color:var(--muted); font-weight:600; font-size:0.9rem; }
.trust-item .dot { color:var(--accent); font-size:1.1rem; }

/* ===========================================================
   HOME-SPECIFIC HERO
   =========================================================== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #143a63 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 84px 0 110px;
}
.hero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0); background-size: 26px 26px; pointer-events:none; }
.hero-grid { position:relative; display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items:center; }
.badge-pill { display:inline-flex; align-items:center; gap:8px; background: rgba(0,184,169,0.14); border:1px solid rgba(0,184,169,0.4); color:#7fffec; padding:7px 16px; border-radius:999px; font-size:0.82rem; font-weight:600; margin-bottom:24px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 22px; }
.hero h1 .accent { background: linear-gradient(120deg, #4af0df, #4a90e2); -webkit-background-clip: text; background-clip:text; color: transparent; }
.hero p.lede { font-size: 1.15rem; color: #c5d4e6; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.hero-stats { display:flex; gap:36px; margin-top:48px; }
.hero-stats .stat strong { display:block; font-family:'Sora'; font-size:1.8rem; color:#fff; }
.hero-stats .stat span { font-size:0.85rem; color:#9fb3cc; }
.hero-card { background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 28px; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg); }
.hero-card h3 { font-size:1.05rem; margin-bottom:18px; color:#fff; }
.mini-product { display:flex; align-items:center; gap:14px; padding:14px; border-radius:12px; background:rgba(255,255,255,0.05); margin-bottom:12px; transition: background 0.2s, transform 0.2s; }
.mini-product:hover { background:rgba(255,255,255,0.1); transform: translateX(4px); }
.mini-product .ic { width:42px; height:42px; border-radius:10px; background:linear-gradient(135deg,var(--blue-light),var(--accent)); display:grid; place-items:center; font-size:1.2rem; flex-shrink:0; }
.mini-product .info { flex:1; }
.mini-product .info b { display:block; font-size:0.92rem; }
.mini-product .info span { font-size:0.78rem; color:#9fb3cc; }
.mini-product .tag { font-size:0.72rem; color:#7fffec; font-weight:600; }

/* ===========================================================
   FOOTER
   =========================================================== */
footer.site-footer { background:var(--navy-deep); color:#aebfd4; padding:70px 0 30px; }
.foot-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.1); }
.foot-grid h4 { color:#fff; font-family:'Sora'; font-size:1rem; margin-bottom:18px; }
.foot-grid ul { list-style:none; }
.foot-grid ul li { margin-bottom:11px; font-size:0.92rem; }
.foot-grid ul li a:hover { color:#fff; }
.foot-about .site-logo { height:54px; margin-bottom:16px; }
.foot-about p { font-size:0.92rem; margin-bottom:16px; max-width:300px; }
.foot-badges { display:flex; gap:10px; flex-wrap:wrap; }
.foot-badge { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); border-radius:8px; padding:6px 14px; font-size:0.78rem; font-weight:600; color:#cfe0f5; }
.foot-contact span { display:block; font-size:0.92rem; margin-bottom:10px; }
.foot-contact span b { color:#fff; }
.foot-bottom { display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; align-items:center; padding-top:26px; font-size:0.85rem; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4, .brand-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  .menu-toggle { display: inline-block; margin-left: auto; }
  .nav-actions { display: none; }
  .mainnav .container { flex-wrap: wrap; }
  .nav {
    flex-direction: column; align-items: stretch; width: 100%;
    max-height: 0; overflow: hidden; gap: 0;
    transition: max-height 0.35s ease; order: 3;
  }
  .nav.open { max-height: 1200px; padding-top: 8px; }
  .nav > li > a { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,0.07); border-radius:0; }
  .nav .caret { margin-left: auto; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: rgba(255,255,255,0.04); border:none; border-radius:0; box-shadow:none;
    max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.3s ease;
  }
  .nav > li.open .dropdown { max-height: 600px; padding: 6px 0; }
}
@media (max-width: 620px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .brand-grid, .foot-grid, .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap:wrap; gap:20px; }
  .cta-banner, .split-visual, .form-card { padding:32px; }
  section.block { padding:56px 0; }
  .topbar .container { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .topbar .call { margin-right: 0; width: 100%; text-align: center; }
  .filter-bar .container { gap: 8px; padding: 16px 0; }
  .filter-pill { padding: 9px 12px; font-size: 0.78rem; gap: 7px; }
  .filter-pill b { padding: 2px 7px; font-size: 0.74rem; }
  .split-visual.img img { max-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-logo { animation: none; }
  * { scroll-behavior: auto; }
}
