/* ═══════════════════════════════════════════════════
   SYNAPSEHEALTHTECH — ADDITIONS v1.0
   New components: nav CTA, dropdown, breadcrumb,
   testimonials, FAQ, sticky subnav, stat footnote
   ═══════════════════════════════════════════════════ */

/* ── NAV: BOOK A DEMO CTA ─────────────────────────── */
.nav-demo {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem 1rem;
  background: var(--a);
  color: #0F0E0B;
  font-family: 'Chivo Mono', monospace;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--a);
  transition: background .2s, color .2s;
  white-space: nowrap;
  cursor: none;
  flex-shrink: 0;
}
.nav-demo:hover { background: transparent; color: var(--a); }

/* ── NAV: PRODUCTS DROPDOWN ───────────────────────── */
.nl-drop { position: relative; }
.nl-drop > a::after {
  content: '▾';
  font-size: .55rem;
  margin-left: .35rem;
  opacity: .5;
  display: inline-block;
  transition: transform .2s;
}
.nl-drop:hover > a::after,
.nl-drop.open > a::after { transform: rotate(180deg); opacity: 1; }

.nl-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -1.25rem;
  background: var(--bg2);
  border: 1px solid var(--ln);
  min-width: 230px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s;
  z-index: 300;
}
.nl-drop:hover .nl-menu,
.nl-drop.open .nl-menu { opacity: 1; pointer-events: all; transform: translateY(0); }

.nl-menu-item {
  display: block;
  padding: .85rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ln);
  transition: background .15s;
}
.nl-menu-item:last-child { border-bottom: none; }
.nl-menu-item:hover { background: var(--bg3); }
.nl-menu-item-n {
  font-family: 'DM Serif Display', serif;
  font-size: .95rem;
  font-weight: 400;
  color: var(--fg);
  display: block;
  margin-bottom: .2rem;
}
.nl-menu-item-t {
  font-family: 'Chivo Mono', monospace;
  font-size: .57rem;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sub);
  display: block;
}

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  font-family: 'Chivo Mono', monospace;
  font-size: .6rem;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.breadcrumb a {
  color: var(--sub);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb-sep { opacity: .35; font-size: .5rem; }
.breadcrumb-curr { color: var(--a); }

/* ── TESTIMONIALS ────────────────────────────────── */
.testi-section {
  padding: 7rem 5%;
  border-bottom: 1px solid var(--ln);
  background: var(--bg2);
}
.testi-inner { max-width: 1280px; margin: 0 auto; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ln);
  margin-top: 3rem;
}
.testi-card {
  background: var(--bg2);
  padding: 2.5rem 2.5rem 2rem;
  transition: background .2s;
}
.testi-card:hover { background: var(--bg3); }
.testi-q {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.testi-q::before {
  content: '\201C';
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -.6rem;
  color: var(--a);
  margin-right: .2rem;
  font-style: normal;
}
.testi-meta {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ln);
}
.testi-name {
  font-family: 'DM Serif Display', serif;
  font-size: .95rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: .2rem;
}
.testi-role {
  font-family: 'Chivo Mono', monospace;
  font-size: .6rem;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sub);
  line-height: 1.6;
}
.testi-outcome {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--a);
  margin-top: 1rem;
}
.testi-outcome-l {
  font-family: 'Chivo Mono', monospace;
  font-size: .6rem;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sub);
  margin-top: .2rem;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-section {
  padding: 7rem 5%;
  border-bottom: 1px solid var(--ln);
}
.faq-inner { max-width: 1280px; margin: 0 auto; }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
  margin-top: 3rem;
}
.faq-intro-h {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
}
.faq-intro-h em { font-style: italic; color: rgba(239,235,226,.3); }
.faq-intro-p {
  font-size: .88rem;
  font-weight: 300;
  color: var(--sub);
  line-height: 1.75;
  margin-top: 1.25rem;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--ln);
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--ln); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1.5rem;
}
.faq-q-text {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.45;
  transition: color .2s;
}
.faq-item:hover .faq-q-text,
.faq-item.open .faq-q-text { color: var(--a); }
.faq-icon {
  font-family: 'Chivo Mono', monospace;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--sub);
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.16,1,.3,1), color .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--a); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .3s ease;
  padding-bottom: 0;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.5rem; }
.faq-a-text {
  font-size: .88rem;
  font-weight: 300;
  color: var(--sub);
  line-height: 1.8;
}

/* ── STICKY SECTION NAV ──────────────────────────── */
.sticky-subnav {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--ln);
  backdrop-filter: blur(12px);
}
.sticky-subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sticky-subnav-inner::-webkit-scrollbar { display: none; }
.ssn-link {
  font-family: 'Chivo Mono', monospace;
  font-size: .6rem;
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sub);
  text-decoration: none;
  padding: .85rem 1.25rem .85rem 0;
  margin-right: 1.5rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  flex-shrink: 0;
}
.ssn-link:hover,
.ssn-link.active { color: var(--fg); border-bottom-color: var(--a); }

/* ── STAT FOOTNOTE ───────────────────────────────── */
.stat-footnote {
  font-family: 'Chivo Mono', monospace;
  font-size: .58rem;
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(112,105,96,.55);
  margin-top: .35rem;
  display: block;
}
.stat-ref {
  font-size: .6em;
  vertical-align: super;
  color: var(--a);
  font-family: 'Chivo Mono', monospace;
}
.stats-source-note {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--ln);
  font-family: 'Chivo Mono', monospace;
  font-size: .6rem;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--sub);
  line-height: 1.7;
  opacity: .7;
}

/* ── RESPONSIVE: ADDITIONS ───────────────────────── */
@media (max-width: 1023px) {
  .nl-menu { display: none !important; }
  .nl-drop > a::after { display: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nav-demo { display: none; }
  .sticky-subnav { top: 56px; }
  .testi-card { padding: 1.75rem 1.25rem 1.5rem; }
  .faq-layout { gap: 2rem; }
  .ssn-link { font-size: .55rem; padding: .75rem .8rem .75rem 0; }
}
