/* Vitex Laboratories — site styles */
:root {
  --navy: #0A1D3E;
  --navy-mid: #163B7C;
  --steel: #4A7EC7;
  --light: #B8D0F0;
  --pale: #EEF4FF;
  --text-dark: #1A2A44;
  --text-mid: #44546A;
  --text-gray: #6B7A90;
  --border: #D5E2F5;
  --white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--steel); text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(10, 29, 62, 0.35);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-name { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: 1px; line-height: 1.1; }
.brand-name span { display: block; font-size: 9px; font-weight: 400; letter-spacing: 2.5px; color: var(--light); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: #D7E4F8;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--navy-mid); color: #fff; }
.nav-links a.active { background: var(--navy-mid); color: #fff; }
.nav-links a.btn-inquiry {
  background: var(--steel);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.nav-links a.btn-inquiry:hover { background: #5b8fd6; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 70%, #1d4a99 100%);
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74, 126, 199, 0.35);
  background: rgba(22, 59, 124, 0.25);
}
.hero::before { width: 420px; height: 420px; top: -140px; right: -100px; }
.hero::after { width: 260px; height: 260px; bottom: -100px; left: -60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { font-size: 42px; line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
.hero h1 em { color: var(--light); font-style: normal; }
.hero p.lead { font-size: 17px; color: #C9D9F2; max-width: 560px; margin-bottom: 28px; }
.hero-logo { text-align: center; }
.hero-logo img { height: 220px; width: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.45)); }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: #5b8fd6; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.btn-outline { border: 1.5px solid var(--light); color: #E4EEFC; margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--pale); padding: 44px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px 12px; }
.stat .num { font-size: 34px; font-weight: 800; color: var(--navy); }
.stat .lbl { font-size: 13px; color: var(--text-gray); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--pale); }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.section h2 { font-size: 30px; color: var(--navy); margin-bottom: 14px; }
.section p.sub { color: var(--text-mid); max-width: 700px; margin-bottom: 36px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--steel);
  border-radius: 10px;
  padding: 26px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(10,29,62,0.10); }
.card h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-mid); }
.card .icon {
  width: 46px; height: 46px;
  background: var(--pale);
  color: var(--steel);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 4px;
}
.badge.gmp { background: #E1F5EE; color: #0F6E56; }
.badge.dmf { background: var(--pale); color: var(--navy-mid); }
.badge.cep { background: #FAEEDA; color: #854F0B; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  white-space: nowrap;
}
table.data td { padding: 11px 14px; border-top: 1px solid var(--border); color: var(--text-mid); }
table.data td:first-child { font-weight: 600; color: var(--text-dark); }
table.data tr:nth-child(even) td { background: #F7FAFF; }
table.data tr:hover td { background: var(--pale); }

/* Category tabs */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cat-tab {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.cat-tab:hover { border-color: var(--steel); color: var(--steel); }
.cat-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-tab .cnt { font-weight: 400; opacity: 0.75; font-size: 12.5px; }

/* Molecule decorations */
.molecule-bg {
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
}
.hero, .page-hero { position: relative; overflow: hidden; }
.section-divider-mol {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}
.section-divider-mol::before, .section-divider-mol::after {
  content: "";
  flex: 0 0 40px;
  height: 2px;
  background: var(--steel);
}

/* Products toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.toolbar input[type="search"], .toolbar select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
}
.toolbar input[type="search"] { flex: 1; min-width: 220px; }
.toolbar select { min-width: 170px; }
.result-count { font-size: 13px; color: var(--text-gray); margin-bottom: 12px; }

/* Partner cards */
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(10,29,62,0.10); }
.partner-head {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.partner-head h3 { font-size: 17px; }
.partner-count { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.partner-body { padding: 18px 20px; }
.partner-body .specs { font-size: 13px; color: var(--text-gray); margin: 10px 0 12px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags span {
  font-size: 12px;
  background: var(--pale);
  color: var(--navy-mid);
  padding: 3px 10px;
  border-radius: 14px;
}

/* Founders */
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.founder {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--navy);
  border-radius: 12px;
  padding: 30px 26px;
  text-align: center;
}
.founder .avatar {
  width: 84px; height: 84px;
  background: var(--navy);
  color: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 800;
  margin: 0 auto 14px;
  border: 3px solid var(--steel);
}
.founder h3 { color: var(--navy); font-size: 18px; }
.founder .role { color: var(--steel); font-style: italic; font-size: 13px; margin-bottom: 4px; }
.founder .cred {
  display: inline-block;
  background: var(--steel); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 16px;
  margin-bottom: 14px;
}
.founder ul { list-style: none; text-align: left; }
.founder ul li {
  font-size: 13.5px; color: var(--text-mid);
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.founder ul li:last-child { border-bottom: none; }
.founder ul li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--steel);
  border-radius: 50%;
  position: absolute; left: 2px; top: 14px;
}

/* Vision / Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(10,29,62,0.12); }
.vm-vision { background: var(--navy); color: #fff; padding: 40px 34px; }
.vm-vision .section-tag { color: var(--light); }
.vm-vision p { font-size: 17px; line-height: 1.7; }
.vm-mission { background: #fff; padding: 40px 34px; border: 1px solid var(--border); border-left: none; }
.vm-mission ul { list-style: none; }
.vm-mission li { padding: 9px 0 9px 22px; position: relative; color: var(--text-mid); font-size: 14.5px; border-bottom: 1px solid var(--pale); }
.vm-mission li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 14px; background: var(--steel); border-radius: 2px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 26px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin: 14px 0 5px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--steel); border-color: var(--steel); }
.contact-form button {
  margin-top: 20px;
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--navy-mid); }
.contact-info .info-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.contact-info .info-block h4 { color: var(--navy); font-size: 14px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1.5px; }
.contact-info .info-block p { font-size: 14.5px; color: var(--text-mid); }
.contact-info .info-block a { font-weight: 600; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-mid));
  color: #fff;
  padding: 52px 0 46px;
}
.page-hero h1 { font-size: 34px; margin-bottom: 8px; }
.page-hero p { color: #C9D9F2; max-width: 640px; }

/* CTA strip */
.cta-strip { background: var(--navy); color: #fff; padding: 46px 0; text-align: center; }
.cta-strip h2 { font-size: 26px; margin-bottom: 10px; }
.cta-strip p { color: #C9D9F2; margin-bottom: 24px; }

/* Footer */
.site-footer { background: #07132A; color: #9FB4D4; padding: 46px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 30px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: 1px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #9FB4D4; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #14294D; padding-top: 18px; text-align: center; font-size: 12.5px; color: #6E85AB; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .founder-grid, .vm-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-logo img { height: 150px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .vm-mission { border-left: 1px solid var(--border); }
}
