/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1b3a7a;
  --navy-dark: #0d1f3d;
  --navy-mid: #244a97;
  --teal: #2a9070;
  --teal-light: #3db88e;
  --teal-pale: #7ecbc0;
  --mint: #b8e8e0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-alt2: #eef3fa;
  --border: #e2e8f0;
  --text: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================
   UTILITY
   ============================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-label.light { color: var(--mint); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 52px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 30px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,144,112,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.dl-icon { display: block; flex-shrink: 0; }

.hidden { display: none !important; }

/* ============================
   NAV
   ============================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--teal-light) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 28px 20px;
  gap: 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-menu a { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.mobile-menu.open { display: flex; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ============================
   HERO
   ============================ */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

#hero .btn-outline {
  border-color: rgba(255,255,255,0.70);
  color: #fff;
}
#hero .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #080f1e;
  border: none;
  box-shadow: none;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(5,12,35,0.90) 0%,
    rgba(5,12,35,0.82) 28%,
    rgba(5,12,35,0.52) 46%,
    rgba(5,12,35,0.10) 62%,
    rgba(5,12,35,0.00) 72%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 60px 80px;
  max-width: 620px;
}

@media (max-width: 768px) {
  /*
   * Mobile hero: animation runs full-screen but a strong opaque overlay
   * covers the text zone. Below the text the overlay fades out so the
   * animation is fully visible in the lower third — clean text + live visuals.
   */
  #heroCanvas { display: block; }   /* restore canvas */
  #hero { align-items: flex-start; } /* text anchored to top */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(8,15,30,0.97) 0%,     /* fully opaque — nav area */
      rgba(8,15,30,0.97) 54%,    /* still solid over all text + buttons */
      rgba(8,15,30,0.70) 66%,    /* gradient starts fading */
      rgba(8,15,30,0.28) 77%,    /* mostly transparent */
      rgba(8,15,30,0.00) 85%     /* animation fully visible at bottom */
    );
  }
  .hero-content { padding: 80px 18px 32px; max-width: 100%; }
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.10em; margin-bottom: 12px; }
  .hero-title { font-size: clamp(1.85rem, 7vw, 2.6rem); line-height: 1.2; margin-bottom: 16px; }
  .hero-sub { font-size: 0.95rem; line-height: 1.75; margin-bottom: 28px; }
}

/* ============================
   EFFICACY GAP
   ============================ */
#efficacy {
  padding: 100px 0;
  background: var(--bg-alt);
}

.efficacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.eff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.eff-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.eff-card.highlight {
  border-color: var(--teal);
  background: linear-gradient(135deg, #f0fbf7 0%, #e8f8f3 100%);
}

.eff-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.eff-card.highlight .eff-number { color: var(--teal); }

.eff-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.eff-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.eff-cite { display: block; font-size: 0.75rem; color: var(--text-light); margin-top: 12px; font-style: italic; }

.efficacy-barriers {
  margin-bottom: 52px;
}
.efficacy-barriers h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 28px;
  font-weight: 700;
}

.barriers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.barrier-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.barrier-icon {
  width: 40px;
  height: 40px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.barrier-item strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 4px; font-size: 0.92rem; }
.barrier-item p { font-size: 0.84rem; color: var(--text-light); margin: 0; }

.pharma-shift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--navy);
  border-radius: 16px;
  padding: 44px 48px;
}

.shift-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  position: relative;
}
.quote-mark { font-size: 3rem; color: var(--teal-pale); line-height: 0.5; display: block; margin-bottom: 8px; }
.shift-quote cite { display: block; margin-top: 12px; font-size: 0.8rem; font-style: normal; color: var(--teal-pale); font-family: 'Inter', sans-serif; }

.shift-context p { font-size: 0.92rem; color: rgba(255,255,255,0.75); line-height: 1.8; }
.shift-context em { color: var(--mint); font-style: italic; }

@media (max-width: 860px) {
  .efficacy-grid { grid-template-columns: 1fr; }
  .barriers-grid { grid-template-columns: 1fr; }
  .pharma-shift { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ============================
   ATOCAP TECHNOLOGY
   ============================ */
#technology {
  padding: 100px 0;
  background: var(--bg);
}

.tech-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.pillar {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }


.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.pillar-icon.protect { background: #e8f8f3; color: var(--teal); }
.pillar-icon.deliver { background: #eef3fa; color: var(--navy); }
.pillar-icon.reduce { background: #e4f0ed; color: #1f7a5e; }

.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}
.pillar p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ── EHD unified panel ─────────────────────────────────── */
.ehd-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(8,18,48,0.30);
  margin-bottom: 72px;
}

.ehd-visual {
  position: relative;
  background: #000;
  display: flex;
  flex-direction: column;
}

.ehd-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  min-height: 380px;
  flex: 1;
}

.ehd-exposure-fix {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.38) 0%,
    rgba(0,0,0,0.18) 22%,
    rgba(0,0,0,0.00) 48%,
    rgba(255,255,255,0.06) 72%,
    rgba(255,255,255,0.14) 100%
  );
  mix-blend-mode: normal;
  z-index: 1;
}

.ehd-visual-caption {
  padding: 10px 18px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  z-index: 2;
}

.ehd-text {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.ehd-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.ehd-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.ehd-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.82;
  margin-bottom: 22px;
}

.ehd-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.ehd-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
}

.ehd-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 5px;
}

.ehd-ip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 18px;
}
.ip-icon { font-size: 1.2rem; flex-shrink: 0; }
.ehd-ip strong { display: block; color: #fff; font-size: 0.86rem; margin-bottom: 3px; }
.ehd-ip span { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

@media (max-width: 900px) {
  .tech-pillars { grid-template-columns: repeat(2, 1fr); }
  .ehd-panel { grid-template-columns: 1fr; }
  .ehd-visual { min-height: 280px; }
  .ehd-video { height: 280px; min-height: 280px; object-fit: cover; }
  .ehd-text { padding: 32px 28px; }
}

/* ============================
   PIPELINE
   ============================ */
#pipeline {
  padding: 96px 0;
  background: var(--white);
}

.pipeline-track {
  position: relative;
  margin: 48px 0 32px;
}

.pipeline-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(42,144,112,0.25) 100%);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 2px;
}
.pipeline-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 10px solid rgba(42,144,112,0.25);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.pipeline-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.pipeline-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.pipeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pipeline-lead {
  border-color: var(--teal);
  background: linear-gradient(160deg, #f0fbf7 0%, #e6f7f2 100%);
  box-shadow: 0 4px 20px rgba(42,144,112,0.12);
}

.pipe-stage-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.pipe-badge-lead { background: var(--teal); color: var(--white); }

.pipe-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: var(--navy);
}
.pipeline-lead .pipe-icon { color: var(--teal); }
.pipe-icon svg { width: 40px; height: 40px; }

.pipe-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.pipeline-lead .pipe-name { color: var(--teal); }

.pipe-program {
  font-size: 0.72rem;
  color: var(--text-light);
  font-style: italic;
}

.pipe-stage {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--teal), #1f7a5e);
  color: var(--white);
  margin-top: 4px;
}
.pipe-stage-pre { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.pipe-stage-disc { background: var(--bg-alt); color: var(--text-light); border: 1px solid var(--border); }

.pipeline-legend {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-lead { background: var(--teal); }
.legend-pre  { background: #3b82f6; }
.legend-disc { background: #d1d5db; border: 1px solid #9ca3af; }

@media (max-width: 900px) {
  .pipeline-cards { grid-template-columns: repeat(3, 1fr); }
  .pipeline-arrow { display: none; }
}
@media (max-width: 560px) {
  .pipeline-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ============================
   CAPFURAN
   ============================ */
#capfuran { background: var(--bg-alt); }

.capfuran-header {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.cf-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cf-header-text { max-width: 520px; }

.cf-header-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cf-media-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 20px 60px rgba(0,0,0,0.55),
    0 4px 16px rgba(42,144,112,0.18);
  background: #000;
  max-width: 380px;
  width: 100%;
}

.cf-biofilm-gif {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
}

.cf-media-caption {
  padding: 10px 16px 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
  background: rgba(0,0,0,0.35);
  text-align: center;
}

.capfuran-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cf-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(20%) brightness(0.55);
}

.cf-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,61,0.88) 0%, rgba(27,58,122,0.82) 60%, rgba(42,144,112,0.55) 100%);
}

.capfuran-header-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 60px;
}

.capfuran-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  line-height: 1.8;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .cf-header-grid { grid-template-columns: 1fr; gap: 32px; }
  .cf-header-text { max-width: 100%; }
  .cf-media-frame { max-width: 100%; }
}

.cf-body { padding-top: 0; padding-bottom: 80px; }

.cf-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--white);
  border-radius: 12px 12px 0 0;
  margin-top: -2px;
  box-shadow: var(--shadow-sm);
}
.cf-tabs::-webkit-scrollbar { display: none; }

.cf-tab {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 18px 24px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
.cf-tab:hover { color: var(--navy); }
.cf-tab.active { color: var(--teal); border-bottom-color: var(--teal); font-weight: 600; }

.cf-panel { display: none; animation: fadeUp 0.4s ease; }
.cf-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Patient Testimonies ── */
.testimonies-intro {
  max-width: 640px;
  margin-bottom: 40px;
}
.testimonies-intro h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}
.testimonies-intro p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.video-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb-bg { transform: scale(1.04); }

.video-thumb-1 { background: linear-gradient(135deg, #1b3a7a 0%, #2a5298 50%, #2a9070 100%); }
.video-thumb-2 { background: linear-gradient(135deg, #0f2d5c 0%, #1b3a7a 50%, #7ecbc0 100%); }
.video-thumb-3 { background: linear-gradient(135deg, #1a4a3a 0%, #2a9070 50%, #1b3a7a 100%); }
.video-thumb-4 { background: linear-gradient(135deg, #2a3f6f 0%, #3a6f8f 50%, #2a9070 100%); }

.testimonies-coming-soon {
  margin-top: 32px;
  padding: 48px 24px;
  background: #f0f4f8;
  border: 2px dashed #c8d6e5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonies-coming-soon span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa3b8;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  z-index: 2;
  padding: 0;
}
.play-btn svg { width: 24px; height: 24px; display: block; }
.video-card:hover .play-btn {
  background: rgba(42,144,112,0.75);
  border-color: rgba(255,255,255,0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  z-index: 2;
}

.video-meta {
  padding: 16px 18px 18px;
}
.video-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 5px;
}
.video-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
}

@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}

.cf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.cf-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.cf-text p { margin-bottom: 14px; font-size: 0.92rem; color: var(--text); line-height: 1.8; }
.cf-text strong { color: var(--navy); font-weight: 600; }

.patient-quote {
  border-left: 3px solid var(--teal);
  padding: 18px 20px;
  margin: 20px 0;
  background: linear-gradient(135deg, #f0fbf7, #fff);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
}
.patient-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* UTI stats column */
.cf-stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.uti-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
}

.uti-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1;
}
.uti-num.teal { color: var(--teal); }
.uti-num.navy { color: var(--navy); }
.uti-desc { font-size: 0.78rem; color: var(--text-light); line-height: 1.4; }

/* Care Table */
.cf-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.care-table { width: 100%; border-collapse: collapse; }
.care-table th {
  background: var(--bg-alt2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 14px 16px;
  text-align: left;
}
.care-table td {
  padding: 14px 16px;
  font-size: 0.86rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.care-table tr:last-child td { border-bottom: none; }
.care-table tr.solution-row td { background: linear-gradient(135deg, #f0fbf7, #fff); }

.therapy-pill {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}
.therapy-pill.good { background: #e8f8f3; border-color: var(--teal); color: var(--teal); font-weight: 700; }

.result-bad { color: #dc2626; font-weight: 600; }
.result-warn { color: #d97706; font-weight: 600; }
.result-good { color: var(--teal); font-weight: 700; }

/* Evidence — redesigned */
.ev-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.ev-chart-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  box-shadow: var(--shadow-sm);
}

.ev-chart-header { margin-bottom: 32px; }
.ev-chart-title-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.ev-chart-sub { font-size: 0.76rem; color: var(--text-light); letter-spacing: 0.02em; }

.ev-bar-chart { display: flex; flex-direction: column; gap: 0; }

.ev-bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 52px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.ev-bar-row:last-child { border-bottom: none; }
.ev-bar-row-hero {
  background: linear-gradient(90deg, rgba(42,144,112,0.04) 0%, transparent 100%);
  margin: 0 -32px;
  padding: 18px 32px;
  border-bottom: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.ev-bar-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.ev-treatment { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.ev-treatment-hero { color: var(--teal); font-size: 0.88rem; }
.ev-treatment-note { font-size: 0.68rem; color: var(--text-light); }
.ev-treatment-note-hero { color: rgba(42,144,112,0.75); }

.ev-bar-track {
  height: 36px;
  background: var(--bg-alt);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.ev-bar-row-hero .ev-bar-track { height: 48px; }

.ev-bar {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  width: 0;
  transition: width 1.1s cubic-bezier(0.22,1,0.36,1);
  min-width: 0;
}
.ev-bar-val { opacity: 0; transition: opacity 0.3s 0.9s; }
.ev-bar.animated .ev-bar-val { opacity: 1; }

.ev-bar-placebo { background: #e5e7eb; color: #6b7280; }
.ev-bar-oral    { background: linear-gradient(90deg, #4a7fa5, #5b8fb5); color: var(--white); }
.ev-bar-capfuran { background: linear-gradient(90deg, #1f7a5e, var(--teal)); color: var(--white); }

.ev-bar-pct { font-size: 0.82rem; font-weight: 700; text-align: right; }
.ev-pct-muted { color: #9ca3af; }
.ev-pct-warn  { color: #d97706; }
.ev-pct-good  { color: var(--teal); font-size: 0.95rem; }

.ev-note { font-size: 0.7rem; color: var(--text-light); margin-top: 20px; line-height: 1.6; border-top: 1px solid var(--border); padding-top: 14px; }

/* Evidence aside */
.ev-aside { display: flex; flex-direction: column; gap: 20px; }

.ev-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ev-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.ev-stat-card.ev-stat-primary {
  background: linear-gradient(135deg, #f0fbf7, #e8f8f3);
  border-color: var(--teal);
}
.ev-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.ev-stat-card:not(.ev-stat-primary) .ev-stat-num { color: var(--navy); }
.ev-stat-label { font-size: 0.76rem; color: var(--text-light); line-height: 1.4; }

.ev-observation {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #f0fbf7, #e8f8f3);
  border: 1px solid rgba(42,144,112,0.3);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.ev-obs-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--teal);
  margin-top: 1px;
}
.ev-obs-icon svg { width: 100%; height: 100%; display: block; }
.ev-obs-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}
.ev-obs-desc { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }

.ev-milestones { display: flex; flex-direction: column; gap: 0; }
.ev-milestone {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.ev-milestone:last-child { border-bottom: none; }
.ev-ms-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 4px;
}
.ev-ms-title { font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.ev-ms-desc { font-size: 0.75rem; color: var(--text-light); line-height: 1.5; }

@media (max-width: 900px) {
  .ev-layout { grid-template-columns: 1fr; }
  .ev-bar-row { grid-template-columns: 130px 1fr 48px; }
}

/* FIH */
.fih-content { display: flex; flex-direction: column; gap: 48px; }
.fih-intro h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 700;
}
.fih-intro p { font-size: 0.92rem; color: var(--text); margin-bottom: 24px; line-height: 1.8; }

.fih-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fih-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.fih-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}
.fih-val { font-size: 0.88rem; color: var(--navy); font-weight: 500; }

/* Trial Timeline */
.trial-timeline h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 36px;
  font-weight: 700;
}

.tl-track { position: relative; }
.tl-line {
  position: absolute;
  top: 13px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.tl-nodes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}

.tl-node { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.tl-dot-outer {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.tl-node.current .tl-dot-outer { border-color: var(--teal); }
.tl-node:hover .tl-dot-outer { border-color: var(--navy); }

.tl-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.tl-node.current .tl-dot-inner { background: var(--teal); }

.tl-node-label {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.tl-year { font-size: 0.63rem; font-weight: 700; color: var(--teal); letter-spacing: 0.03em; margin-bottom: 3px; }
.tl-event { font-size: 0.76rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; line-height: 1.3; }
.tl-desc { font-size: 0.66rem; color: var(--text-light); line-height: 1.45; margin-bottom: 6px; }

.tl-node.completed .tl-dot-outer { border-color: var(--teal); background: rgba(42,144,112,0.08); }
.tl-node.completed .tl-dot-inner { background: var(--teal); }
.tl-node.completed .tl-event { color: var(--teal); }
.tl-year-done { color: var(--teal) !important; opacity: 0.75; }

.tl-next-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(42,144,112,0.15);
  color: var(--teal);
  border: 1px solid rgba(42,144,112,0.35);
}

@media (max-width: 960px) {
  .cf-split { grid-template-columns: 1fr; gap: 32px; }
  .cf-stats-col { grid-template-columns: 1fr 1fr; }
  .fih-details-grid { grid-template-columns: 1fr 1fr; }
  .tl-nodes { grid-template-columns: 1fr; gap: 14px; }
  .tl-line { display: none; }
  .tl-node { flex-direction: row; align-items: flex-start; gap: 14px; }
  .tl-dot-outer { width: 32px; height: 32px; flex-shrink: 0; }
  .tl-node-label { text-align: left; padding: 12px 14px; }
  .tl-event { font-size: 0.82rem; }
  .tl-desc { font-size: 0.72rem; }
}
@media (max-width: 560px) {
  .cf-stats-col { grid-template-columns: 1fr; }
  .fih-details-grid { grid-template-columns: 1fr; }
}

/* ============================
   TEAM
   ============================ */
#team {
  padding: 100px 0;
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(27,58,122,0.12);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.team-card h4 { font-size: 0.95rem; color: var(--navy); font-weight: 700; margin-bottom: 3px; }
.team-role { font-size: 0.75rem; color: var(--teal); font-weight: 600; margin-bottom: 3px; }
.team-org { font-size: 0.73rem; color: var(--text-light); line-height: 1.4; margin-bottom: 6px; }
.team-creds { font-size: 0.7rem; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }

.institutional-support { text-align: center; }
.support-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.support-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.support-badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.support-badge small { font-size: 0.67rem; color: var(--text-light); }

@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================
   CALL TO ACTION
   ============================ */
#cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a5c47 100%);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}
.cta-text p { font-size: 0.92rem; color: rgba(255,255,255,0.78); line-height: 1.8; margin-bottom: 14px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.cta-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  line-height: 0;
}

.cta-lab-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* ── Contact form ─────────────────────────────────────── */
.cta-form-wrap {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 16px;
  padding: 36px 32px;
  backdrop-filter: blur(6px);
}

.form-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 24px;
  line-height: 1.5;
}

.enquiry-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.req { color: var(--mint); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 11px 14px;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.30);
}

.form-group select option { background: #1b3a7a; color: #fff; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  background: rgba(255,255,255,0.10);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e05555;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-status {
  font-size: 0.84rem;
  min-height: 20px;
  border-radius: 6px;
  padding: 0;
  transition: all 0.2s;
}
.form-status.success {
  color: var(--mint);
  background: rgba(126,203,192,0.10);
  border: 1px solid rgba(126,203,192,0.28);
  padding: 10px 14px;
}
.form-status.error-msg {
  color: #f08080;
  background: rgba(240,128,128,0.10);
  border: 1px solid rgba(240,128,128,0.28);
  padding: 10px 14px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
  letter-spacing: 0.02em;
}
.btn-submit:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-submit-spinner {
  letter-spacing: 0.12em;
  animation: dots 1.2s infinite;
}
@keyframes dots {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form-wrap { padding: 28px 22px; }
}

/* ============================
   FOOTER
   ============================ */
footer {
  padding: 40px 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo-img { height: 32px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; flex-shrink: 0; }
.footer-brand p { font-size: 0.73rem; color: rgba(255,255,255,0.4); }

.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

.footer-legal p { font-size: 0.73rem; color: rgba(255,255,255,0.35); text-align: right; line-height: 1.7; }

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal p { text-align: left; }
}

/* ============================
   SCROLL REVEAL
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================
   MOBILE-FIRST OVERRIDES
   Comprehensive pass — every section
   ============================ */

/* ── Global utilities ───────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 18px; }

  /* Headings: allow breaking long words but never hyphenate (looks bad on titles) */
  h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: none;
  }
  /* Paragraphs: hyphenation is fine and improves readability on narrow screens */
  p {
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .section-title { font-size: clamp(1.55rem, 6vw, 2.1rem); line-height: 1.22; }
  .section-title br { display: none; }
  .section-intro { font-size: 0.93rem; margin-bottom: 32px; line-height: 1.75; }
  .section-label { margin-bottom: 10px; letter-spacing: 0.10em; }

  .btn-primary,
  .btn-outline,
  .btn-outline-light { font-size: 0.88rem; padding: 13px 24px; }
}

/* ── Section vertical padding ────────────── */
@media (max-width: 768px) {
  #efficacy    { padding: 60px 0; }
  #technology  { padding: 60px 0; }
  #pipeline    { padding: 60px 0; }
  #team        { padding: 60px 0; }
  #cta         { padding: 56px 0; }
  .cf-body     { padding-bottom: 56px; }
}

/* ── Efficacy Gap ───────────────────────── */
@media (max-width: 768px) {
  .efficacy-grid    { gap: 14px; }
  .eff-card         { padding: 24px 18px; }
  .eff-number       { font-size: 2.2rem; }
  .barriers-grid    { gap: 12px; }
  .barrier-item     { padding: 18px 16px; }
  .pharma-shift     { padding: 28px 20px; }
  .shift-quote      { font-size: 1.1rem; }
}

/* ── Technology ─────────────────────────── */
@media (max-width: 768px) {
  .tech-pillars { grid-template-columns: 1fr; gap: 14px; margin-bottom: 48px; }
  .pillar       { padding: 26px 22px; text-align: left; }
  .pillar-icon  { margin: 0 0 16px; }
  .ehd-panel    { margin-bottom: 48px; }
  .ehd-text     { padding: 28px 22px; }
  .ehd-text h3  { font-size: 1.25rem; }
}

/* ── Pipeline ───────────────────────────── */
@media (max-width: 768px) {
  .pipeline-track { margin: 32px 0 24px; }
  .pipeline-cards { gap: 12px; }
  .pipeline-card  { padding: 18px 12px 16px; }
  .pipe-icon      { width: 40px; height: 40px; }
  .pipe-icon svg  { width: 32px; height: 32px; }
  .pipeline-legend { gap: 18px; margin-top: 18px; }
}
@media (max-width: 400px) {
  .pipeline-cards { grid-template-columns: 1fr; }
}

/* ── CapFuran header ────────────────────── */
@media (max-width: 768px) {
  .capfuran-header      { min-height: auto; }
  .capfuran-header-content { padding-top: 52px; padding-bottom: 40px; }
  .capfuran-lead        { font-size: 0.95rem; }
  .cf-header-grid       { gap: 24px; }
}

/* ── CapFuran tabs — pill-wrap on mobile ── */
@media (max-width: 640px) {
  .cf-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    border-bottom: none;
    border-radius: 12px;
    background: var(--bg-alt2);
    padding: 5px;
    gap: 4px;
    margin-bottom: 36px;
    box-shadow: none;
  }
  .cf-tab {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 0.80rem;
    white-space: normal;
    text-align: center;
    border-bottom: none;
    border-radius: 8px;
    line-height: 1.3;
    min-width: 0;
    margin-bottom: 0;
  }
  .cf-tab:hover { background: var(--bg-alt); }
  .cf-tab.active {
    background: var(--white);
    color: var(--teal);
    font-weight: 700;
    border-bottom: none;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  }
}

/* ── CapFuran panels ────────────────────── */
@media (max-width: 768px) {
  /* UTI stats 2-col stays, but reduce padding */
  .uti-stat-card { padding: 18px 14px; }
  .uti-num       { font-size: 1.7rem; }

  /* Care table — make scrollable */
  .cf-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .care-table    { min-width: 480px; }

  /* Evidence bar chart */
  .ev-layout           { gap: 28px; }
  .ev-chart-block      { padding: 24px 18px 20px; }
  .ev-bar-row          { grid-template-columns: 90px 1fr 40px; gap: 10px; padding: 11px 0; }
  .ev-bar-row-hero     { margin: 0 -18px; padding: 14px 18px; }
  .ev-treatment        { font-size: 0.75rem; }
  .ev-treatment-note   { font-size: 0.62rem; }
  .ev-bar-val          { font-size: 0.65rem; }
  .ev-stats-row        { grid-template-columns: 1fr 1fr; }

  /* FIH trial timeline */
  .fih-details-grid { gap: 10px; }
  .fih-detail       { padding: 14px; }
  .fih-intro p      { font-size: 0.9rem; }

  /* Patient testimonies */
  .testimonies-intro h3 { font-size: 1.25rem; }
  .testimonies-intro p  { font-size: 0.9rem; }
}

/* ── Team ───────────────────────────────── */
@media (max-width: 768px) {
  .team-grid     { gap: 14px; margin-bottom: 40px; }
  .team-card     { padding: 22px 18px; }
  .team-avatar   { width: 68px; height: 68px; font-size: 0.95rem; margin-bottom: 12px; }
  .team-card h4  { font-size: 0.92rem; }
  .team-card p   { font-size: 0.80rem; }
  .support-logos { gap: 8px; }
  .support-badge { padding: 8px 14px; font-size: 0.78rem; }
}

/* ── CTA / Contact form ─────────────────── */
@media (max-width: 768px) {
  .cta-text h2      { font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.22; }
  .cta-text h2 br   { display: none; }
  .cta-text p       { font-size: 0.90rem; line-height: 1.75; }
  .cta-actions      { gap: 10px; margin-top: 24px; }
  .btn-download     { width: 100%; justify-content: center; padding: 14px 24px; font-size: 0.90rem; }
  .cta-form-wrap    { padding: 24px 18px; }
  .form-heading     { font-size: 1.15rem; }
  .form-sub         { font-size: 0.82rem; margin-bottom: 18px; }
  .btn-submit       { width: 100%; justify-content: center; padding: 14px 24px; }

  /* Prevent iOS Safari auto-zoom when focusing form inputs (must be >= 16px) */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
}

/* ── Institutional support label ─────────── */
@media (max-width: 768px) {
  .support-label { letter-spacing: 0.08em; font-size: 0.68rem; }
}

/* ── Footer ─────────────────────────────── */
@media (max-width: 768px) {
  footer { padding: 32px 0; }
  .footer-nav { gap: 14px; }
  .footer-nav a { font-size: 0.78rem; }
}

/* ── Nav on small screens ───────────────── */
@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; }
  .mobile-menu { padding: 12px 16px 18px; }
}

/* ── Testimonies spacing ─────────────────── */
@media (max-width: 768px) {
  .testimonies-intro { margin-bottom: 24px; }
  .testimonies-intro h3 { margin-bottom: 10px; }
}

/* ── Timeline tag ───────────────────────── */
@media (max-width: 768px) {
  .tl-next-tag { font-size: 0.72rem; padding: 3px 10px; margin-top: 6px; }
}

/* ── FIH details — label/value stack on very small screens ── */
@media (max-width: 480px) {
  .fih-detail { flex-direction: column; gap: 3px; }
  .fih-label  { font-size: 0.7rem; }
  .fih-val    { font-size: 0.82rem; }
}

/* ── Technology h3 (long word: Electrohydrodynamic) ── */
@media (max-width: 768px) {
  .ehd-text h3 { font-size: 1.15rem; line-height: 1.3; }
}
