/* === Eterna Femme — Clinical Evidence Page === */
/* Dark copper/charcoal treatment. Citation blocks are restrained and clinician-respectable. */
/* Design tokens aligned with klow-science.css and quiz.css. */

:root {
  --ev-bg: #140F0A;
  --ev-surface: #1E1814;
  --ev-surface-alt: #1A1410;
  --ev-copper: #B87333;
  --ev-copper-light: #C9A96E;
  --ev-copper-muted: rgba(184, 115, 51, 0.12);
  --ev-text: #FAF7F4;
  --ev-text-secondary: rgba(250, 247, 244, 0.60);
  --ev-text-tertiary: rgba(250, 247, 244, 0.38);
  --ev-border: rgba(184, 115, 51, 0.18);
  --ev-border-hover: rgba(184, 115, 51, 0.38);
  --ev-section-pad: clamp(60px, 8vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Base ─── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--ev-bg);
  color: var(--ev-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav (override main.css) ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20, 15, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 115, 51, 0.15);
  padding: 0 clamp(20px, 5vw, 60px);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; color: #FAF7F4; letter-spacing: 0.03em;
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; list-style: none; gap: 2rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: rgba(250, 247, 244, 0.65);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover { color: #D4A574; }
.nav-cta {
  background: var(--ev-copper) !important; color: #fff !important;
  padding: 9px 18px; border-radius: 4px; font-size: 0.82rem !important;
  font-weight: 600 !important; transition: background 0.2s;
}
.nav-cta:hover { background: #9A6028 !important; color: #fff !important; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); background: rgba(20, 15, 10, 0.97);
  border: 1px solid var(--ev-border); border-radius: 8px;
  padding: 12px 0; min-width: 200px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block; padding: 8px 20px; font-size: 0.82rem; font-weight: 400;
  color: rgba(250, 247, 244, 0.72); white-space: nowrap;
}
.nav-dropdown-menu li a:hover { color: var(--ev-copper-light); background: rgba(184,115,51,0.08); }

/* ─── Hero ─── */
.ev-hero {
  min-height: 60vh; display: flex; align-items: center;
  padding: 120px clamp(20px, 5vw, 80px) var(--ev-section-pad);
  position: relative; overflow: hidden;
}
.ev-hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_168027/88644e21-0082-46c9-82fb-4bf215709969.jpg');
  background-size: cover; background-position: center; z-index: 0;
  filter: brightness(0.48) contrast(1.1);
}
.ev-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,14,10,0.94) 0%, rgba(20,14,10,0.80) 45%, rgba(20,14,10,0.38) 75%, transparent 100%);
  z-index: 1; pointer-events: none;
}
.ev-hero-inner { position: relative; z-index: 2; max-width: 680px; }
.ev-hero-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ev-copper); margin-bottom: 1.2rem;
}
.ev-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 500; line-height: 1.18;
  color: var(--ev-text); margin-bottom: 1.4rem;
}
.ev-hero-sub {
  font-size: 1.05rem; color: rgba(250, 247, 244, 0.70);
  max-width: 560px; line-height: 1.7;
}

/* ─── Section dividers ─── */
.ev-section-divider {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 clamp(20px, 5vw, 80px);
  margin: var(--ev-section-pad) 0 0;
}
.ev-section-divider-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ev-copper); white-space: nowrap;
}
.ev-section-divider-line {
  flex: 1; height: 1px; background: var(--ev-border);
}

/* ─── Protocol sections ─── */
.ev-protocol-section {
  padding: var(--ev-section-pad) clamp(20px, 5vw, 80px);
  border-bottom: 1px solid rgba(184,115,51,0.10);
}
.ev-protocol-section:last-of-type { border-bottom: none; }

.ev-protocol-intro {
  max-width: 640px; margin-bottom: 3rem;
}
.ev-protocol-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ev-copper); margin-bottom: 0.8rem;
}
.ev-protocol-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500;
  color: var(--ev-text); line-height: 1.22; margin-bottom: 0.8rem;
}
.ev-protocol-desc {
  font-size: 0.98rem; color: rgba(250,247,244,0.65); line-height: 1.7;
}

/* ─── Citation grid ─── */
.ev-citation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 1.5rem;
}
.ev-citation-card {
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: 10px; padding: 1.75rem 2rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ev-citation-card:hover {
  border-color: var(--ev-border-hover);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.ev-citation-meta {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.ev-citation-year {
  font-size: 0.78rem; font-weight: 600; color: var(--ev-copper);
  letter-spacing: 0.04em;
}
.ev-citation-journal {
  font-size: 0.78rem; color: var(--ev-text-tertiary);
  font-style: italic; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ev-citation-title {
  font-size: 0.95rem; font-weight: 600; color: var(--ev-text);
  line-height: 1.45; margin-bottom: 0.75rem;
}
.ev-citation-authors {
  font-size: 0.80rem; color: var(--ev-text-tertiary);
  margin-bottom: 1rem; line-height: 1.5;
}
.ev-citation-relevance {
  font-size: 0.88rem; color: rgba(250,247,244,0.62);
  line-height: 1.6; border-left: 2px solid var(--ev-copper);
  padding-left: 0.9rem; font-style: italic;
}
.ev-citation-pubmed {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; font-size: 0.80rem; font-weight: 500;
  color: var(--ev-copper); text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.ev-citation-pubmed:hover { color: var(--ev-copper-light); }
.ev-citation-pubmed svg { flex-shrink: 0; }

/* ─── Physician note ─── */
.ev-physician-note {
  background: rgba(184,115,51,0.07);
  border: 1px solid rgba(184,115,51,0.25);
  border-radius: 10px; padding: 2rem 2.5rem;
  max-width: 700px; margin: var(--ev-section-pad) auto;
  text-align: center;
}
.ev-physician-note-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ev-copper); margin-bottom: 0.8rem;
}
.ev-physician-note p {
  font-size: 1rem; color: rgba(250,247,244,0.72);
  line-height: 1.65; max-width: 580px; margin: 0 auto 1.5rem;
}
.ev-physician-note .ev-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ev-copper); color: #fff; text-decoration: none;
  padding: 12px 28px; border-radius: 5px; font-size: 0.90rem;
  font-weight: 600; transition: background 0.2s;
}
.ev-physician-note .ev-btn:hover { background: #9A6028; }

/* ─── Page footer CTA ─── */
.ev-page-cta {
  padding: var(--ev-section-pad) clamp(20px, 5vw, 80px);
  text-align: center; border-top: 1px solid rgba(184,115,51,0.10);
}
.ev-page-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500;
  color: var(--ev-text); margin-bottom: 1rem;
}
.ev-page-cta p {
  font-size: 1rem; color: rgba(250,247,244,0.60);
  max-width: 500px; margin: 0 auto 2rem;
}
.ev-page-cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.ev-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ev-copper); color: #fff; text-decoration: none;
  padding: 13px 30px; border-radius: 5px; font-size: 0.92rem;
  font-weight: 600; transition: background 0.2s;
}
.ev-btn-primary:hover { background: #9A6028; }
.ev-btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: rgba(250,247,244,0.72);
  text-decoration: none; padding: 13px 24px; border-radius: 5px;
  font-size: 0.92rem; font-weight: 500; border: 1px solid var(--ev-border);
  transition: border-color 0.2s, color 0.2s;
}
.ev-btn-secondary:hover { border-color: var(--ev-copper); color: var(--ev-copper-light); }

/* ─── Footer (override main.css) ─── */
footer {
  background: #0E0A07; border-top: 1px solid rgba(184,115,51,0.12);
  padding: 48px clamp(20px, 5vw, 60px);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; color: #FAF7F4; margin-bottom: 0.6rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(250,247,244,0.45); line-height: 1.55; max-width: 280px; }
footer h4 { font-size: 0.78rem; font-weight: 600; color: var(--ev-copper); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.55rem; }
footer ul li a { font-size: 0.85rem; color: rgba(250,247,244,0.55); text-decoration: none; transition: color 0.2s; }
footer ul li a:hover { color: var(--ev-copper-light); }

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-links li:not(.nav-dropdown) { display: none; }
  .nav-links li.nav-cta-mobile { display: list-item; }
  .ev-hero { min-height: 50vh; }
  .ev-citation-grid { grid-template-columns: 1fr; }
  .ev-physician-note { padding: 1.5rem; margin: var(--ev-section-pad) clamp(20px, 5vw, 80px); }
  .ev-page-cta-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { max-width: none; }
}