/* =========================================================
   CONVERSION LAYER — call buttons + sticky mobile call bar
   Loaded on every page (including index.html, which inlines
   its other CSS). Self-contained: uses literal colors so it
   works whether or not styles.css is present.
   ========================================================= */

/* ----- Header call button (mobile/tablet only, < 1080px) ----- */
.nav-call {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #C48A44;
  color: #061220 !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: none !important;
  opacity: 1 !important;
  -webkit-tap-highlight-color: transparent;
}
.nav-call svg { width: 15px; height: 15px; flex: none; }
.nav-call:hover, .nav-call:focus-visible { background: #D9A05A; }
@media (max-width: 1079px) {
  .nav-call { display: inline-flex; }
}
@media (max-width: 380px) {
  .nav-call .nav-call-label { display: none; }
  .nav-call { padding: 10px; }
}

/* Desktop header CTA when it is a phone link */
.nav-cta.is-call { white-space: nowrap; }

/* ----- Sticky call bar (mobile/tablet only) ----- */
.call-bar {
  display: none;
}
@media (max-width: 1079px) {
  .call-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(6, 18, 32, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(196, 138, 68, 0.35);
    box-shadow: 0 -8px 24px rgba(6, 18, 32, 0.25);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    transform: translateY(0);
    transition: transform .25s ease;
  }
  .call-bar.is-hidden { transform: translateY(110%); }
  body.has-call-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.call-bar a svg { width: 18px; height: 18px; flex: none; }
.call-bar-call {
  flex: 1 1 auto;
  background: #C48A44;
  color: #061220 !important;
  flex-direction: column;
  gap: 2px !important;
}
.call-bar-call .call-bar-main { display: flex; align-items: center; gap: 8px; }
.call-bar-call small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}
.call-bar-alt {
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid rgba(248, 246, 239, 0.4);
  color: #F8F6EF !important;
  font-size: 15px !important;
}
.call-bar a:active { transform: scale(0.98); }

@media print { .call-bar, .nav-call { display: none !important; } }

/* =========================================================
   Desktop call card (conversion.js showCallCard)
   Shown when a phone link is clicked on a computer, where
   tel: links may not open anything.
   ========================================================= */
.call-card {
  position: fixed; right: 24px; bottom: 24px; z-index: 1000;
  width: min(360px, calc(100vw - 32px));
  padding: 24px 24px 18px;
  background: #061220; color: #F8F6EF;
  border: 1px solid rgba(196, 138, 68, 0.45); border-radius: 12px;
  box-shadow: 0 18px 48px rgba(6, 18, 32, 0.35);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  animation: call-card-in .22s ease-out;
}
@keyframes call-card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .call-card { animation: none; } }
.call-card p { margin: 0; }
.call-card-close {
  position: absolute; top: 8px; right: 10px;
  width: 32px; height: 32px; border: 0; background: transparent;
  color: rgba(248, 246, 239, 0.7); font-size: 24px; line-height: 1; cursor: pointer;
}
.call-card-close:hover { color: #F8F6EF; }
.call-card-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #C48A44; }
.call-card-number { margin-top: 8px !important; font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 600; line-height: 1.1; }
.call-card-number a { color: #F8F6EF; text-decoration: none; }
.call-card-number a:hover { color: #C48A44; }
.call-card-note { margin-top: 10px !important; font-size: 14px; line-height: 1.5; color: rgba(248, 246, 239, 0.8); }
.call-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.call-card-copy, .call-card-book {
  flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 14px; border-radius: 8px;
  font: 600 15px/1.2 "Inter", -apple-system, sans-serif; text-decoration: none; cursor: pointer;
}
.call-card-copy { background: #C48A44; color: #061220; border: 0; }
.call-card-copy:hover { background: #D9A05C; }
.call-card-book { background: transparent; color: #F8F6EF; border: 1px solid rgba(248, 246, 239, 0.4); }
.call-card-book:hover { border-color: #C48A44; color: #C48A44; }
.call-card-copy:focus-visible, .call-card-book:focus-visible, .call-card-close:focus-visible, .call-card-number a:focus-visible { outline: 2px solid #C48A44; outline-offset: 2px; }
.call-card-hours { margin-top: 12px !important; font-size: 13px; color: rgba(248, 246, 239, 0.6); text-align: center; }

/* =========================================================
   Free PDF downloads (checklists)
   ========================================================= */
.downloads { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.download {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 20px; border: 1px solid rgba(160, 105, 43, 0.35); border-radius: 10px;
  background: #fff; color: #0F1419; text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.download:hover { border-color: #A0692B; box-shadow: 0 8px 24px rgba(10, 25, 41, 0.08); transform: translateY(-1px); }
.download:focus-visible { outline: 2px solid #C48A44; outline-offset: 2px; }
.download-badge {
  flex: none; width: 48px; height: 56px; border-radius: 6px;
  display: inline-flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  background: #0A1929; color: #C48A44;
  font: 700 12px/1 "Inter", -apple-system, sans-serif; letter-spacing: 0.08em;
}
.download-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.download-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 21px; font-weight: 600; line-height: 1.2; }
.download-desc { font-family: "Inter", -apple-system, sans-serif; font-size: 14px; line-height: 1.5; color: #5B6673; }
.download-go { flex: none; font: 600 14px/1 "Inter", -apple-system, sans-serif; color: #A0692B; white-space: nowrap; }
@media (max-width: 560px) {
  .download { align-items: flex-start; }
  .download-go { display: none; }
}
.downloads-inline { margin: 40px 0 8px; padding: 24px; border-radius: 12px; background: rgba(160, 105, 43, 0.06); border: 1px solid rgba(160, 105, 43, 0.2); }
.downloads-inline .downloads { margin-top: 12px; }
.downloads-inline-label { margin: 0; font: 600 12px/1 "Inter", -apple-system, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #A0692B; }
.prose .downloads-inline-label, .article-body .downloads-inline-label { margin: 0; font: 600 12px/1 "Inter", -apple-system, sans-serif !important; letter-spacing: 0.14em; text-transform: uppercase; color: #A0692B !important; }
.prose .downloads, .article-body .downloads { list-style: none; padding-left: 0; }
.prose .downloads li, .article-body .downloads li { margin: 0; padding: 0; }
.prose .downloads li::before, .article-body .downloads li::before { content: none; }
.prose a.download, .article-body a.download { text-decoration: none; border-bottom: 1px solid rgba(160, 105, 43, 0.35); }
