/* ============================================================
   NRI CRO components (Oct 2026)
   In-content CTA bands, lead-form section, hero CTA row,
   reviewer byline, mobile sticky CTA bar.
   Uses the site's existing navy + gold palette.
   ============================================================ */
:root {
  --nk-navy: #0d1b2a;
  --nk-navy-2: #1a2f4b;
  --nk-gold: #d4a017;
  --nk-wa: #1f9e55;
  --nk-wa-dark: #178045;
}

html { scroll-behavior: smooth; }
#hero-form { scroll-margin-top: 110px; }

/* ---- shared buttons ---- */
.nk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.nk-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.nk-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.nk-btn-form { background: var(--nk-gold); color: var(--nk-navy) !important; }
.nk-btn-form:hover { background: #e2b12a; }
.nk-btn-wa { background: var(--nk-wa); color: #fff !important; }
.nk-btn-wa:hover { background: var(--nk-wa-dark); }
.nk-btn-call { background: transparent; color: var(--nk-navy) !important; border: 2px solid var(--nk-navy); }

/* ---- reviewer byline under H1 ---- */
.nk-byline { font-size: 14px; color: #5b6472; margin: 6px 0 14px; }
.ve-hero .nk-byline { color: rgba(255,255,255,.82); }
.nk-byline a { color: inherit; text-decoration: underline; }

/* ---- hero CTA row (pages without the ve-hero layout) ---- */
.nk-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.nk-hero-wa { margin-left: 0; }
.ve-hero-btns { flex-wrap: wrap; gap: 12px; }

/* ---- in-content CTA band ---- */
.nk-cta-band { padding: 10px 60px 26px; background: transparent; }
.nk-cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, var(--nk-navy) 0%, var(--nk-navy-2) 100%);
  border-left: 5px solid var(--nk-gold); border-radius: 12px;
  padding: 22px 26px; box-shadow: 0 8px 30px rgba(13,27,42,.12);
}
.nk-cta-text { color: #fff; font-size: 18px; font-weight: 600; margin: 0; line-height: 1.45; max-width: 640px; }
.nk-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---- lead form section (pages that had no form) ---- */
.nk-lead-section { padding: 40px 60px; background: #f4f7fb; }
.nk-lead-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.nk-lead-copy { padding-top: 24px; }
.nk-lead-copy h2 { font-size: 30px; margin-bottom: 12px; }
.nk-lead-copy h2 span { color: var(--nk-gold); }
.nk-lead-copy p { font-size: 17px; color: #333; }
.nk-lead-copy ul { margin: 14px 0 20px; padding-left: 0; list-style: none; }
.nk-lead-copy li { padding: 5px 0 5px 28px; position: relative; font-size: 16px; }
.nk-lead-copy li::before { content: "\2713"; position: absolute; left: 0; color: var(--nk-wa); font-weight: 800; }
.nk-lead-form .ve-contact-form-wrap { margin: 0; }

/* ---- mobile sticky CTA bar ---- */
.nk-sticky-cta { display: none; }
@media (max-width: 991px) {
  .nk-cta-band { padding: 8px 16px 20px; }
  .nk-cta-box { flex-direction: column; align-items: stretch; text-align: left; padding: 18px; }
  .nk-cta-text { font-size: 17px; }
  .nk-cta-btns { flex-direction: column; }
  .nk-cta-btns .nk-btn { width: 100%; }
  .nk-lead-section { padding: 28px 16px; }
  .nk-lead-grid { grid-template-columns: 1fr; gap: 18px; }
  .nk-hero-cta .nk-btn { flex: 1 1 100%; }

  .nk-sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
    background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.15);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .nk-sticky-cta a { flex: 1; min-height: 48px; font-size: 15px; padding: 10px 8px; }
  body { padding-bottom: 72px; }
  /* keep the floating WhatsApp bubble clear of the sticky bar */
  a.whatsapp_chat { display: none !important; }
}

/* ---- visible breadcrumb (matches BreadcrumbList schema) ---- */
.nk-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 12px; font-size: 14px; }
.nk-breadcrumb li { color: #5b6472; }
.nk-breadcrumb li + li::before { content: "\203A"; margin: 0 6px 0 2px; color: #9aa3ae; }
.nk-breadcrumb a { color: inherit; text-decoration: underline; }
.ve-hero .nk-breadcrumb li, .ve-hero .nk-breadcrumb li + li::before { color: rgba(255,255,255,.8); }

/* ---- old hook line kept under the keyword H1 ---- */
.nk-h1-hook { font-size: 19px; font-weight: 600; margin: 4px 0 8px; color: #1a2f4b; }
.ve-hero .nk-h1-hook { color: rgba(255,255,255,.92); }

/* ---- related services hub & spoke block ---- */
.nk-related { padding: 30px 60px; background: #f4f7fb; }
.nk-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nk-related-h { font-size: 19px !important; margin-bottom: 10px; color: #0d1b2a; }
.nk-related ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.nk-related li { padding: 4px 0; font-size: 15px; }
.nk-related a { color: #1a2f4b; text-decoration: underline; text-underline-offset: 2px; }
.nk-related a:hover { color: #b8860b; }
.nk-related-note { font-size: 13px; color: #5b6472; margin-top: 10px; }
@media (max-width: 991px) {
  .nk-related { padding: 24px 16px; }
  .nk-related-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- country how-it-works steps, quick-facts table, law-in-brief list ---- */
.nk-steps { counter-reset: nkstep; list-style: none; padding: 0; margin: 14px 0 22px; }
.nk-steps li { counter-increment: nkstep; position: relative; padding: 10px 0 10px 48px; border-bottom: 1px solid #e6ebf2; font-size: 16px; line-height: 1.55; }
.nk-steps li::before { content: counter(nkstep); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--nk-navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nk-qf { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; background: #fff; }
.nk-qf th, .nk-qf td { padding: 10px 12px; border: 1px solid #e1e7ef; vertical-align: top; text-align: left; }
.nk-qf th { width: 34%; background: #f4f7fb; color: #0d1b2a; font-weight: 600; }
.nk-brief { list-style: none; padding: 0; margin: 12px 0 0; }
.nk-brief li { padding: 8px 0; border-bottom: 1px dashed #d5dce6; font-size: 16px; }
.nk-brief a { text-decoration: underline; }
@media (max-width: 991px) {
  .nk-qf th { width: 42%; }
  .nk-steps li { padding-left: 44px; font-size: 15px; }
}

/* ---- label headings converted from h3 (keeps document outline clean) ---- */
.tl-card .tl-h { margin: 8px 0; font-size: 16px; color: var(--ve-dark, #0d1b2a); line-height: 25px; font-weight: 700; font-family: 'Open Sans', sans-serif; letter-spacing: -0.01em; }
.toc .toc-h { color: #0d1b2a; margin-bottom: 15px; font-size: 16px; font-weight: 700; font-family: 'Open Sans', sans-serif; }
