/* css/pages/cro.css
   CRO-specific sections: the two "key services" panels, the tabbed
   expertise cards with their decorative visuals, and the dark CTA
   panel. Shared pieces (hero, section-head, why-cards, partners) come
   from components/. The examples' amber second-accent is dropped —
   the two-of-a-kind distinctions (ks-01/ks-02, the two domains) are
   carried by teal vs. blue instead. */

/* ------------------------------------------------------------
   Key services — two stacked panels, each with an icon header and a
   two-column detail list.
   ------------------------------------------------------------ */
.ks-panel {
  margin-bottom: 20px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.ks-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}
.ks-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.ks-icon svg {
  width: 22px;
  height: 22px;
}
.ks-01 .ks-icon { background: var(--teal-tint); color: var(--teal); }
.ks-02 .ks-icon { background: var(--blue-tint); color: var(--blue); }
.ks-top h3 {
  margin-bottom: 6px;
  font-size: 20px;
}
.ks-top p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.ks-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.dc-label {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Bulleted list with a teal dot marker — shared shape between the key
   services columns and the expertise tab panels. */
.dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dot-list li {
  position: relative;
  padding-left: 17px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.ks-cols .note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* The "Trusted by" client logos use the shared .client-wall component
   (components/partners.css) at its default 4-up. */

/* ------------------------------------------------------------
   Expertise — two cards, each a decorative visual + a tabbed body.
   ------------------------------------------------------------ */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.expertise-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.expertise-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
/* Faint dot texture over the gradient visuals. */
.expertise-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.3;
  mix-blend-mode: overlay;
}
.domain-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-deep);
}

/* Immunoassay visual — a plate of wells, a few "hit" teal. */
.domain-immuno { background: linear-gradient(155deg, var(--blue-deep), var(--ink)); }
.domain-immuno .wells {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8%;
  padding: 14%;
}
.domain-immuno .well {
  border-radius: 50%;
  background: rgba(95, 227, 206, 0.14);
  border: 1px solid rgba(95, 227, 206, 0.3);
}
/* Bright teal for luminous contrast on the dark visual. */
.domain-immuno .well.hit {
  background: #5FE3CE;
  box-shadow: 0 0 0 4px rgba(95, 227, 206, 0.16);
}

/* Molecular visual — a stylized double helix. */
.domain-molecular { background: linear-gradient(155deg, var(--blue), var(--blue-deep)); }
.domain-molecular .helix {
  position: absolute;
  inset: 0;
}

.expertise-body {
  padding: 26px 28px 0;
}
.expertise-body h3 {
  margin-bottom: 6px;
  font-size: 21px;
}
.ex-desc {
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Tabs — a toggle bar and swappable panels (driven by js/tabs.js). */
.tab-toggle {
  display: flex;
  border-top: 1px solid var(--line);
}
.tab-btn {
  flex: 1;
  padding: 13px 10px;
  border: none;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--blue-tint);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab-btn:last-child {
  border-right: none;
}
.tab-btn.active {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: inset 0 2px 0 var(--blue);
}
.tab-panel {
  display: none;
  padding: 22px 30px 30px;
}
.tab-panel.active {
  display: block;
}
.tab-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.tab-panel li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}
.tab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ks-cols { grid-template-columns: 1fr; }
}
