:root {
  --bg:           #FAFBF9;
  --bg-alt:       #F1F6F2;
  --bg-deep:      #EAF1EC;
  --primary:      #3D6A6D;
  --primary-dark: #2C4F52;
  --primary-soft: #E5EEEC;
  --secondary:    #7AAD92;
  --accent:       #C8956D;
  --accent-soft:  #F3E4D3;
  --text:         #1F3437;
  --text-muted:   #5A6E70;
  --border:       #D8E4DE;
  --shadow-sm: 0 2px 6px rgba(31, 52, 55, 0.04), 0 1px 2px rgba(31, 52, 55, 0.03);
  --shadow-md: 0 12px 30px rgba(31, 52, 55, 0.07), 0 4px 10px rgba(31, 52, 55, 0.04);
  --shadow-lg: 0 24px 60px rgba(31, 52, 55, 0.12), 0 8px 20px rgba(31, 52, 55, 0.06);
  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 8px;
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem); font-weight: 500; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; font-family: var(--sans); letter-spacing: -0.005em; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; margin-bottom: .25em; }
h5 { font-size: .85rem; font-weight: 600; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

p { margin: 0 0 1em; color: var(--text-muted); }
p.lede { font-size: 1.15rem; color: var(--text); opacity: .85; line-height: 1.6; max-width: 38em; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.2em;
  display: inline-block;
}
.eyebrow.center { display: block; text-align: center; }
.accent-text {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  background: linear-gradient(120deg, transparent 0%, transparent 60%, var(--accent-soft) 60%, var(--accent-soft) 95%, transparent 95%);
  padding: 0 .1em;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(61, 106, 109, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(61, 106, 109, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: var(--primary-dark);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, gap .2s;
}
.link-arrow:hover { border-color: var(--primary); }

/* ─── Header / nav ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 249, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(216, 228, 222, 0.6);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 24px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 500;
  letter-spacing: -.01em;
}
.logo:hover { color: var(--primary-dark); }
.logo-mark { width: 32px; height: 32px; color: var(--primary); flex-shrink: 0; }
.logo-text strong { font-weight: 600; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

/* ─── Language switch ───────────────────────────── */
.lang-switch {
  display: inline-flex;
  background: var(--primary-soft);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  background: transparent;
  border: 0;
  padding: 6px 12px;
  font: 600 .78rem var(--sans);
  letter-spacing: .06em;
  color: var(--text-muted);
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, color .2s;
  min-width: 36px;
}
.lang-switch button:hover { color: var(--primary-dark); }
.lang-switch button.is-active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 3px rgba(31, 52, 55, .08);
}
.nav-links a {
  color: var(--text);
  font-size: .94rem;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(168, 201, 180, .35), transparent 60%),
    radial-gradient(ellipse at 0% 90%, rgba(200, 149, 109, .15), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 32px 0 56px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats dt {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}
.hero-stats dd {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-illustration {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 24px 40px rgba(61, 106, 109, .15));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── Trust bar ─────────────────────────────────── */
.trust-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  padding: 16px 0;
  font-size: .85rem;
  text-align: center;
  letter-spacing: .02em;
}
.trust-bar p { margin: 0; color: inherit; }

/* ─── Sections ──────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head p.section-lede {
  margin: 0 auto;
  color: var(--text-muted);
}
.section-lede {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ─── Grid ──────────────────────────────────────── */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid.tight { gap: 16px; }

/* ─── Card ──────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5em; }
.card p { margin: 0; font-size: .95rem; }

.mini-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.mini-card h4 { color: var(--primary-dark); margin-bottom: .3em; }
.mini-card p { font-size: .9rem; margin: 0; }

/* ─── Split layout ──────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse .split-visual { order: 2; }
.split-content h2 { margin-bottom: .6em; }
.split-content p { font-size: 1.05rem; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: .98rem;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background: var(--primary-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.5l3 3 7-7' fill='none' stroke='%233D6A6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── Lab visual ────────────────────────────────── */
.lab-card {
  background: linear-gradient(160deg, #fff 0%, var(--primary-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.lab-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  z-index: 0;
}
.lab-illustration { position: relative; z-index: 1; }
.lab-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.lab-stats > div {
  background: #fff;
  padding: 18px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
}
.lab-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}
.lab-stats span {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ─── Pharma visual ─────────────────────────────── */
.pharma-stack {
  position: relative;
  height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pharma-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  width: 220px;
  text-align: center;
  transition: transform .35s;
}
.pharma-card svg { width: 80px; height: 80px; margin: 0 auto 8px; }
.pharma-card span {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
}
.pharma-card-1 { top: 0; left: 10%; transform: rotate(-6deg); }
.pharma-card-2 { top: 28%; right: 5%; transform: rotate(4deg); z-index: 2; }
.pharma-card-3 { bottom: 0; left: 20%; transform: rotate(-2deg); }
.pharma-stack:hover .pharma-card-1 { transform: rotate(-8deg) translateY(-6px); }
.pharma-stack:hover .pharma-card-2 { transform: rotate(5deg) translateY(-6px); }
.pharma-stack:hover .pharma-card-3 { transform: rotate(-3deg) translateY(-6px); }

/* ─── Team ──────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c, var(--primary));
  color: #fff;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  letter-spacing: .02em;
}
.team-card strong {
  display: block;
  font-size: .92rem;
  margin-bottom: 2px;
  color: var(--text);
}
.team-card span {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ─── Quote section ─────────────────────────────── */
.quote-section {
  padding: 100px 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,.92);
  text-align: center;
}
.quote-section figure { margin: 0; max-width: 760px; margin: 0 auto; }
.quote-mark {
  width: 36px;
  height: auto;
  color: var(--secondary);
  margin: 0 auto 24px;
  opacity: .8;
}
.quote-section blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw + .5rem, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 24px;
  letter-spacing: -.01em;
}
.quote-section figcaption {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
}

/* ─── Contact ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  margin-top: 32px;
}
.contact-grid h4 { color: var(--primary); margin-bottom: .25em; }
.contact-grid p { font-size: .95rem; margin: 0; color: var(--text); }
.contact-grid a { color: var(--text); border-bottom: 1px solid var(--border); }
.contact-grid a:hover { color: var(--primary); border-color: var(--primary); }

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.2em;
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label span {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 14px 0 0;
  line-height: 1.5;
}
.form-confirm {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
}

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
  color: var(--text-muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: .9rem; max-width: 32ch; margin-top: 14px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h5 { margin-bottom: 14px; }
.footer-cols a {
  display: block;
  color: var(--text);
  font-size: .92rem;
  margin-bottom: 8px;
}
.footer-cols a:hover { color: var(--primary); }
.footer-cols p { font-size: .92rem; margin: 0 0 6px; color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 320px; }
  .hero-actions { margin-bottom: 40px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 24px; }
  .hero-stats dt { font-size: 1.5rem; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split.reverse .split-visual { order: 0; }

  .team-grid { grid-template-columns: repeat(3, 1fr); }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .3s;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav .btn { display: none; }
  .nav-toggle { display: flex; order: 3; margin-left: 0; }
  .lang-switch { margin-left: auto; order: 2; }
  .pharma-stack { height: 360px; }
  .pharma-card { width: 180px; padding: 18px; }
  .pharma-card svg { width: 60px; height: 60px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.4rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div { padding: 6px 0; border-bottom: 1px solid var(--border); }
  .hero-stats > div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
