/* Clear Ibogaine — site header, utility bar, nav dropdowns (WEB-065) */
:root {
  --cih-teal: #143e40;
  --cih-teal2: #1f6a64;
  --cih-sand: #d4b896;
  --cih-paper: #f7f4ee;
  --cih-line: #ded3c5;
  --cih-muted: #5c6560;
}
.ci-head { position: sticky; top: 0; z-index: 60; background: var(--cih-paper); border-bottom: 1px solid var(--cih-line); }
.ci-head .ci-wrap { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.ci-util { background: #eef2f1; border-bottom: 1px solid var(--cih-line); }
.ci-util .ci-wrap { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.ci-u { display: flex; align-items: center; gap: 10px; padding: 9px 12px; text-decoration: none; color: var(--cih-muted); font-size: 13px; line-height: 1.2; border-left: 1px solid var(--cih-line); }
.ci-u:first-child { border-left: 0; }
.ci-u:hover { color: var(--cih-teal); background: #e6ecea; }
.ci-u svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: var(--cih-teal2); fill: none; stroke-width: 1.6; }
.ci-u b { display: block; font-weight: 700; font-size: 13px; color: var(--cih-teal); }
.ci-u span { display: block; font-size: 12.5px; }
.ci-bar .ci-wrap { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.ci-logo img { height: 46px; width: auto; }
.ci-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ci-nav > a, .ci-dd > button {
  font: inherit; font-size: 15px; font-weight: 600; color: #23302d; background: none; border: 0;
  padding: 10px 11px; min-height: 44px; display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none; cursor: pointer; border-radius: 4px;
}
.ci-nav > a:hover, .ci-dd > button:hover, .ci-dd.open > button { color: var(--cih-teal2); background: #eee7db; }
.ci-nav > a.on { color: var(--cih-teal); box-shadow: inset 0 -2px 0 var(--cih-teal2); }
.ci-dd { position: relative; }
.ci-dd > button::after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 3px; }
.ci-menu {
  position: absolute; left: 0; top: calc(100% + 4px); min-width: 250px; background: #fff;
  border: 1px solid var(--cih-line); border-top: 3px solid var(--cih-teal2); box-shadow: 0 12px 28px rgba(20,62,64,.16);
  padding: 6px; display: none; border-radius: 0 0 4px 4px;
}
.ci-dd:hover > .ci-menu, .ci-dd:focus-within > .ci-menu, .ci-dd.open > .ci-menu { display: block; }
.ci-menu a { display: block; padding: 9px 11px; text-decoration: none; font-size: 14.5px; color: #23302d; border-radius: 3px; }
.ci-menu a:hover, .ci-menu a:focus { background: #eef2f1; color: var(--cih-teal); }
.ci-menu a small { display: block; font-size: 12px; color: var(--cih-muted); font-weight: 400; }
.ci-nav > a.ci-cta {
  margin-left: 8px; background: var(--cih-teal); color: #fff !important; border-radius: 999px;
  padding: 0 18px; min-height: 42px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; white-space: nowrap; flex: 0 0 auto;
}
.ci-nav > a.ci-cta:hover { background: var(--cih-teal2); }
.ci-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--cih-line); border-radius: 4px; min-height: 42px; padding: 0 12px; font-weight: 700; color: var(--cih-teal); }
@media (max-width: 1180px) {
  .ci-nav > a, .ci-dd > button { font-size: 14.5px; padding: 9px 8px; }
  .ci-nav > a[href="/contact"] { display: none; }
  .ci-logo img { height: 40px; }
}
@media (max-width: 900px) {
  .ci-util .ci-wrap { grid-template-columns: 1fr 1fr; }
  .ci-u:nth-child(odd) { border-left: 0; }
  .ci-burger { display: inline-flex; align-items: center; }
  .ci-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--cih-line); flex-direction: column; align-items: stretch; padding: 8px; gap: 2px; max-height: 78vh; overflow: auto; }
  .ci-head.nav-open .ci-nav { display: flex; }
  .ci-nav > a, .ci-dd > button { width: 100%; justify-content: space-between; }
  .ci-menu { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--cih-sand); margin: 2px 0 6px 6px; }
  .ci-dd.open > .ci-menu { display: block; }
  .ci-cta { margin: 6px 0 0; justify-content: center; }
  .ci-head .ci-bar { position: relative; }
}
@media (max-width: 560px) {
  .ci-u b { font-size: 12.5px; }
  .ci-u span { font-size: 11.5px; }
  .ci-logo img { height: 38px; }
}
