@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0F52FF;
  --primary-hover: #003ECC;
  --primary-rgb: 15, 82, 255;
  --dark: #222222;
  --dark-rgb: 34, 34, 34;
  --light: #F9FAFB;
  --light-rgb: 249, 250, 251;
  --text: #4A4A4A;
  --muted: #7E7E7E;
  --border: #EAEAEA;
  --card-bg: #FFFFFF;
  --font-display: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

* {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
  font-family: var(--font-display);
  color: var(--dark);
  font-weight: 700;
}

body {
  color: var(--text);
  background-color: var(--light);
}

.text-dark-custom {
  color: var(--dark);
}

.bg-dark-custom {
  background-color: var(--dark);
}

.text-primary-custom {
  color: var(--primary);
}

/* Vibrant Custom Status Badges & Chat Bubbles */
.badge {
  font-weight: 600 !important;
  padding: 0.4em 0.85em !important;
  border-radius: 50rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.02em;
}

.bg-primary-custom {
  background-color: #0F52FF !important;
  color: #ffffff !important;
}

.bg-success-custom,
.bg-success-light,
.bg-success-subtle {
  background-color: #10B981 !important;
  color: #ffffff !important;
  border: none !important;
}

.bg-danger-custom,
.bg-danger-light,
.bg-danger-subtle {
  background-color: #EF4444 !important;
  color: #ffffff !important;
  border: none !important;
}

.bg-warning-custom,
.bg-warning-light,
.bg-warning-subtle {
  background-color: #F59E0B !important;
  color: #ffffff !important;
  border: none !important;
}

.bg-info-custom,
.bg-info-light,
.bg-info-subtle {
  background-color: #3B82F6 !important;
  color: #ffffff !important;
  border: none !important;
}

.bg-secondary-custom,
.bg-secondary-light,
.bg-secondary-subtle {
  background-color: #6B7280 !important;
  color: #ffffff !important;
  border: none !important;
}

.text-success-dark,
.text-danger-dark,
.text-warning-dark,
.text-info-dark {
  color: #ffffff !important;
}

.btn-primary-custom {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--dark);
  color: #ffffff;
}

/* Custom modern navbar */
.custom-nav {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-link-custom {
  font-weight: 500;
  color: var(--text) !important;
  transition: color 0.2s ease;
  font-family: var(--font-display);
}

.nav-link-custom:hover {
  color: var(--primary) !important;
}

/* Hero elements */
.hero-gradient {
  background: radial-gradient(circle at 80% 20%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(var(--primary-rgb), 0.04) 0%, transparent 40%);
}

.badge-outline {
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  background-color: rgba(var(--primary-rgb), 0.06);
  color: var(--primary);
  font-weight: 600;
}

/* Onboarding view classes */
.onboarding-left {
  background: linear-gradient(135deg, var(--dark) 0%, #151515 100%);
  color: #ffffff;
}

.onboarding-left h1,
.onboarding-left h2,
.onboarding-left h3,
.onboarding-left h4 {
  color: #ffffff !important;
}

.pricing-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.pricing-card.premium {
  border: 2px solid var(--primary);
  position: relative;
}

.pricing-card.premium::after {
  content: "RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 1rem;
  border-radius: 10rem;
  letter-spacing: 0.05em;
}

/* General overrides */
.footer-custom {
  background-color: var(--dark);
  color: #B3B3B3;
  font-size: 0.95rem;
}

.footer-custom h5 {
  color: #ffffff !important;
  font-weight: 600;
}

.footer-custom a {
  color: #B3B3B3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-custom a:hover {
  color: #ffffff;
}

/* Utilities */
.word-break {
  word-break: break-all;
}

/* Used across ~23 views (marketing pages, admin panel, dashboard) for fine-print
   labels smaller than Bootstrap's .small - was never actually defined. */
.smallest {
  font-size: 0.75rem;
}

.text-justify {
  text-align: justify;
}

/* Industries chip grid (landing page) */
.industry-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50rem;
  padding: 0.4rem 1.35rem 0.4rem 0.4rem;
  box-shadow: 0 1px 2px rgba(var(--dark-rgb), 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.industry-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.2);
  border-color: transparent;
}

.industry-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.industry-chip:hover .industry-chip-icon {
  background-color: var(--primary);
  color: #ffffff;
}

.industry-chip-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.92rem;
  white-space: nowrap;
}

.industry-chip-more {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: transparent;
}

.industry-chip-more .industry-chip-name {
  color: var(--primary);
}

/* Hero phone mockup - incoming call screen (CSS/SVG, no external image assets) */
.hero-visual-stage {
  position: relative;
  display: inline-block;
  padding: 40px 20px;
}

.hero-floating-card {
  position: absolute;
  bottom: 10px;
  left: -10px;
  width: 300px;
  transform: rotate(-6deg);
  z-index: 1;
  opacity: 0.97;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 540px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0c 100%);
  border-radius: 46px;
  padding: 14px;
  box-shadow:
    0 30px 60px -15px rgba(var(--dark-rgb), 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.06) inset;
  transform: rotate(3deg);
}

.phone-mockup-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0a0a0c;
  border-radius: 20px;
  z-index: 3;
}

.phone-mockup-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--primary) 0%, #002E99 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-status-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 0;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
}

.phone-call-label {
  margin-top: 34px;
  text-align: center;
  color: #ffffff;
}

.phone-call-label .call-status {
  font-size: 0.78rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.phone-call-label h6 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 4px 0 0;
}

.ring-pulse-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-pulse-wrap .ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: ring-pulse 2.4s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}

.ring-pulse-wrap .ring:nth-child(2) {
  animation-delay: 0.6s;
}

.ring-pulse-wrap .ring:nth-child(3) {
  animation-delay: 1.2s;
}

.ring-pulse-wrap .caller-avatar {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@keyframes ring-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.phone-call-actions {
  margin-top: auto;
  margin-bottom: 46px;
  display: flex;
  gap: 56px;
}

.phone-call-actions .call-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
}

.phone-call-actions .call-action-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.phone-call-actions .call-action-btn.decline {
  background: #EF4444;
}

.phone-call-actions .call-action-btn.accept {
  background: #10B981;
  animation: accept-btn-pulse 1.8s ease-in-out infinite;
}

@keyframes accept-btn-pulse {
  0%, 100% {
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35), 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  50% {
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35), 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

@media (max-width: 991.98px) {
  .hero-floating-card {
    display: none;
  }
}

/* ------------------------------------------------------------------
   Home page: problem-solving sections (scenarios, calculator, industries, comparison)
   ------------------------------------------------------------------ */
.hero-checks li { font-size: 0.92rem; color: var(--text); font-weight: 500; }

.trust-strip .bi { line-height: 1; }

.scenario-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.scenario-card:hover { box-shadow: 0 12px 28px rgba(var(--dark-rgb), .08); transform: translateY(-2px); }
.scenario-icon { display: inline-block; font-size: 1.6rem; color: #dc2626; margin-bottom: .75rem; }
.fix-line {
  margin: 0;
  padding-top: .75rem;
  border-top: 1px dashed var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}
.fix-line .bi { margin-right: .35rem; }

.calc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(var(--dark-rgb), .08);
}
.calc-result {
  background: linear-gradient(135deg, #0F52FF 0%, #3b74ff 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
}
.calc-result-label { color: rgba(255,255,255,.8); letter-spacing: .04em; font-size: .72rem; }
.calc-result-sub { color: rgba(255,255,255,.85); }
.calc-result-number { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1.1; color: #fff; }
.calc-result-number-sm { font-size: 1.75rem; }

.industry-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.industry-card:hover { border-color: rgba(var(--primary-rgb), .4); box-shadow: 0 10px 24px rgba(var(--primary-rgb), .1); }
.industry-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: .85rem;
  background: rgba(var(--primary-rgb), .1); color: var(--primary); font-size: 1.3rem;
}

.compare-table { border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 1rem .75rem; border-bottom: 1px solid var(--border); font-size: .92rem; }
.compare-table thead th { font-family: var(--font-display); font-weight: 700; color: var(--dark); border-bottom: 2px solid var(--border); }
.compare-table tbody th { font-weight: 600; color: var(--dark); }
.compare-table .compare-highlight { background: rgba(var(--primary-rgb), .06); }
.compare-table thead .compare-highlight { color: var(--primary); border-top: 3px solid var(--primary); border-radius: .5rem .5rem 0 0; }

.final-cta-sub { color: #cbd5e1; }

/* Bootstrap has no "extrabold"; without this, display-* headings fall back to their light (300) weight. */
.fw-extrabold { font-weight: 800 !important; }

/* ------------------------------------------------------------------
   Mobile & usability polish (public pages)
   ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring-pulse-wrap .ring, .phone-call-actions .call-action-btn.accept { animation: none; }
}

/* In-page links (e.g. "What are missed calls costing me?") must not land under the fixed header. */
[id] { scroll-margin-top: 96px; }

/* Footer copy used Bootstrap's dark-grey .text-muted on a near-black background: effectively invisible. */
.footer-custom .text-muted { color: #B3B3B3 !important; }
.footer-custom .text-secondary-custom { color: #D0D0D0; }

/* Comfortable tap targets (about 44px) on touch-sized screens. */
@media (max-width: 991.98px) {
  .navbar-toggler { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta-mobile { min-height: 40px; display: inline-flex; align-items: center; }
  .btn-primary-custom:not(.btn-sm), .btn-outline-custom:not(.btn-sm) { min-height: 44px; }
  .footer-custom ul a { display: inline-block; padding: 0.55rem 0; }
  .navbar-collapse .nav-link { padding-top: 0.65rem; padding-bottom: 0.65rem; }
  .navbar-collapse { padding-top: 0.5rem; }
  .navbar-collapse .btn { width: 100%; }
  .navbar-collapse .d-flex { flex-direction: column; align-items: stretch !important; gap: 0.5rem !important; }
}

@media (max-width: 575.98px) {
  /* Justified text on a narrow column leaves ugly gaps. */
  .text-justify { text-align: left; }

  /* Hero: full-width, easy-to-hit buttons and a tighter phone mock-up so the page is not endless. */
  .hero-gradient .btn-lg { width: 100%; padding-left: 1rem !important; padding-right: 1rem !important; }
  .hero-visual-stage { padding: 8px 0 24px; }
  .phone-mockup { transform: rotate(2deg) scale(0.92); transform-origin: center top; margin-bottom: -40px; }

  /* Comparison table: fit all four columns (incl. the highlighted OakVoice column) without sideways scrolling. */
  .compare-table { table-layout: fixed; width: 100%; }
  .compare-table th, .compare-table td { padding: 0.65rem 0.3rem; font-size: 0.76rem; overflow-wrap: normal; word-break: normal; hyphens: none; }
  /* Column widths: label | Voicemail | Hiring a receptionist (longest word) | OakVoice */
  .compare-table thead th:nth-child(1), .compare-table tbody th { width: 28%; padding-left: 0.1rem; }
  .compare-table thead th:nth-child(2) { width: 22%; }
  .compare-table thead th:nth-child(3) { width: 28%; }
  .compare-table thead th:nth-child(4) { width: 22%; }
  .compare-table thead th { font-size: 0.72rem; }
  .compare-table tbody th { font-size: 0.74rem; }

  .calc-card { padding: 1.25rem; }
  .calc-result { padding: 1.1rem; }
  .calc-result-number { font-size: 2.1rem; }
}


/* ------------------------------------------------------------------
   "Try it" live demo line (home page, right after the hero)
   ------------------------------------------------------------------ */
.demo-call-wrap { background: transparent; }

.demo-call-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  padding: 2.75rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 4% 96%, rgba(255, 255, 255, 0.08) 0%, transparent 38%),
    linear-gradient(135deg, #0F52FF 0%, #0B3FCC 55%, #062A8F 100%);
  box-shadow: 0 30px 60px -20px rgba(15, 82, 255, 0.45);
}

.demo-call-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.demo-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: demo-live-pulse 1.8s ease-out infinite;
}

@keyframes demo-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
}

.demo-call-title {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.15;
  margin: 1rem 0 0.75rem;
}
.demo-call-title span { color: #BFD4FF; }

.demo-call-lead { color: rgba(255, 255, 255, 0.86); font-size: 1.02rem; margin-bottom: 1.5rem; }

.demo-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.6rem 0.7rem 0.7rem;
  border-radius: 50rem;
  background: #ffffff;
  color: var(--dark);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.demo-call-btn:hover { color: var(--dark); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3); }

.demo-call-btn-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #10B981;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: accept-btn-pulse 1.8s ease-in-out infinite;
}

.demo-call-btn-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.demo-call-btn-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.demo-call-btn-number { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--dark); white-space: nowrap; }

.demo-call-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1.25rem 0 0.5rem; font-size: 0.92rem; font-weight: 500; }
.demo-call-points .bi { color: #34D399; margin-right: 0.3rem; }
.demo-call-fine { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); margin: 0; }

.demo-prompts-title { color: #ffffff; font-size: 1.05rem; font-weight: 700; margin: 0; }
.demo-swipe-hint { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }

.demo-prompts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }

.demo-prompt {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.demo-prompt:hover { background: rgba(255, 255, 255, 0.17); transform: translateY(-2px); }

.demo-prompt-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.demo-prompt-niche { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #BFD4FF; margin-bottom: 0.2rem; }
.demo-prompt-quote { margin: 0; font-size: 0.92rem; line-height: 1.4; color: #ffffff; }
.demo-prompts-note { margin: 1rem 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }

@media (max-width: 767.98px) {
  .demo-call-card { padding: 1.5rem 1.25rem; border-radius: 1.4rem; }
  .demo-call-btn { width: 100%; }
  .demo-call-btn-number { font-size: 1.3rem; }

  /* The eight example callers become a swipeable row instead of a very tall stack. */
  .demo-prompts {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1.25rem;
    padding: 0 1.25rem 0.5rem;
    scrollbar-width: none;
  }
  .demo-prompts::-webkit-scrollbar { display: none; }
  .demo-prompt { flex: 0 0 78%; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-live-dot, .demo-call-btn-icon { animation: none; }
}


/* Top bar on phones: logo + Get Started + menu button must always share one row, even on 320-360px screens. */
@media (max-width: 991.98px) {
  .custom-nav .navbar-brand { flex: 1 1 0; min-width: 0; margin-right: 0.5rem; }
  .custom-nav .navbar-brand img { max-width: 100%; object-fit: contain; object-position: left center; }
}
@media (max-width: 400px) {
  .custom-nav > .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .nav-cta-mobile { padding-left: 0.85rem !important; padding-right: 0.85rem !important; font-size: 0.82rem; }
  .navbar-toggler { min-width: 40px; padding: 0.25rem 0.4rem; }
}

/* Open mobile menu: solid panel so the page behind it does not show through. */
@media (max-width: 991.98px) {
  .custom-nav .navbar-collapse { background: #ffffff; margin: 0.5rem -0.75rem -1rem; padding: 0.5rem 0.75rem 1rem; border-top: 1px solid var(--border); border-radius: 0 0 1rem 1rem; box-shadow: 0 16px 24px rgba(var(--dark-rgb), 0.08); }
}
