/* Spliice shared UI — nav actions (login / back / hamburger), dropdown menu, Book-a-Call modal.
   Relies on each page's :root tokens (--accent, --surface, --border, --text, --text-muted, --bg, --accent-d). */

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Back button (non-index pages) */
.nav-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text); border-radius: 10px; padding: 8px 14px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.nav-back:hover { border-color: var(--accent); color: var(--accent); }
.nav-back svg { width: 16px; height: 16px; }

/* Orange login button (every page) */
.nav-login {
  background: var(--accent); color: #fff; border: none;
  border-radius: 10px; padding: 9px 20px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.nav-login:hover { background: var(--accent-d); }

/* Hamburger */
.nav-toggle { display: inline-flex; background: none; border: none; cursor: pointer; padding: 6px; color: var(--text); line-height: 0; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Dropdown menu */
.nav-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(15,15,15,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); flex-direction: column; padding: 6px 48px 16px;
}
.nav-menu a { padding: 14px 2px; font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); cursor: pointer; }
.nav-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 800; }
.nav-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-menu { top: 56px; padding: 6px 20px 14px; }
  .nav-back span { display: none; }
  .nav-back { padding: 8px 11px; }
  .nav-login { padding: 8px 15px; font-size: 13px; }
}

/* ── Book-a-Call modal ── */
.bc-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.62); backdrop-filter: blur(4px);
  align-items: flex-start; justify-content: center;
  padding: 6vh 16px 24px; overflow-y: auto;
}
.bc-overlay.open { display: flex; }
.bc-modal {
  background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--accent); border-radius: 16px;
  width: 100%; max-width: 480px; padding: 30px 30px 26px;
  position: relative; box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.bc-close {
  position: absolute; top: 15px; right: 15px;
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  width: 30px; height: 30px; line-height: 0; border-radius: 8px;
}
.bc-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.bc-close svg { width: 20px; height: 20px; }

.bc-tag { font-size: 11px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.bc-title { font-size: 24px; font-weight: 900; color: var(--text); letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 6px; }
.bc-sub { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 22px; }

.bc-field { margin-bottom: 14px; }
.bc-row { display: flex; gap: 12px; }
.bc-row .bc-field { flex: 1; }
.bc-label { display: block; font-size: 12px; font-weight: 700; color: #b0b0b0; margin-bottom: 6px; }
.bc-label .req { color: var(--accent); }
.bc-input, .bc-textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 13px; color: var(--text);
  font-family: inherit; font-size: 14px; transition: border-color .15s;
}
.bc-input:focus, .bc-textarea:focus { outline: none; border-color: var(--accent); }
.bc-textarea { resize: vertical; min-height: 84px; }
.bc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bc-submit {
  width: 100%; margin-top: 8px; background: var(--accent); color: #fff;
  border: none; border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 800;
  font-family: inherit; cursor: pointer; transition: background .15s;
}
.bc-submit:hover { background: var(--accent-d); }
.bc-submit:disabled { opacity: .6; cursor: default; }
.bc-note { font-size: 11.5px; color: var(--text-muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.bc-error { color: #f87171; font-size: 13px; margin-top: 12px; text-align: center; display: none; }

.bc-success { text-align: center; padding: 16px 4px 6px; }
.bc-check { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: rgba(255,107,0,0.12); border: 1px solid rgba(255,107,0,0.35); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.bc-check svg { width: 28px; height: 28px; }
