/* ─── Shared CTA Components ──────────────────────────────────── */

/* ── Inline CTA (compact, accent-bordered strip) ── */
.cta-inline-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--panel, #111827);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-left: 3px solid #F5C842;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 24px 0;
}
.cta-inline-block__text {
  flex: 1;
  font-size: 14px;
  color: var(--muted, #9ca3af);
  min-width: 160px;
  line-height: 1.5;
  margin: 0;
}
.cta-inline-block__text strong { color: var(--text, #e5e7eb); }
.cta-inline-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F5C842;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
}
.cta-inline-block__btn:hover { opacity: 0.88; text-decoration: none; }

/* ── End-of-page CTA block ── */
.cta-end-block {
  background: linear-gradient(135deg, rgba(245,200,66,0.07) 0%, var(--panel, #111827) 60%);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
  max-width: 860px;
  margin: 40px auto 8px;
}
.cta-end-block__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F5C842;
  margin-bottom: 10px;
}
.cta-end-block__title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text, #e5e7eb);
  line-height: 1.2;
}
.cta-end-block__desc {
  font-size: 14px;
  color: var(--muted, #9ca3af);
  max-width: 520px;
  margin: 0 auto 22px;
  line-height: 1.65;
}
.cta-end-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5C842;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cta-end-block__btn:hover { opacity: 0.88; text-decoration: none; }

/* ── Sticky mobile CTA ── */
.sticky-cta { display: none; }

@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
  }
  body { padding-bottom: 68px; }
}
[data-theme="light"] .sticky-cta {
  background: #ffffff;
  border-top-color: #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
.sticky-cta.sticky-cta--hidden { display: none !important; }
.sticky-cta__text {
  font-size: 13px;
  color: var(--muted, #9ca3af);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F5C842;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.sticky-cta__btn:hover { opacity: 0.88; text-decoration: none; }
