/* ==========================================================
   BC PNP Entrepreneur Base Program — Points Calculator
   Visual layer aligned with the Dovercourt template
   ========================================================== */

.bc-pnp-page {
  background: #f6f8fb;
}

/* ----- Detail page header (sticky + readable over content) ----- */
.bc-pnp-page .bc-pnp-site-header.main-header {
  box-shadow: 0 4px 24px rgba(13, 26, 54, 0.08);
}

.bc-pnp-page .bc-pnp-site-header .header-lower {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.bc-pnp-page .sticky-header {
  box-shadow: 0 4px 20px rgba(13, 26, 54, 0.1);
}

/* ----- Hero (matches homepage home-hero-refresh treatment) ----- */
.bc-pnp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

.bc-pnp-hero--refresh {
  min-height: 0;
  /* Clear full header stack (top bar + nav) like index hero — not a fixed main-header */
  padding: clamp(190px, 24vw, 250px) 0 clamp(48px, 8vw, 72px);
}

.bc-pnp-hero__media {
  position: absolute;
  inset: 0;
  background-color: #1a3061;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.bc-pnp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(144, 29, 22, 0.82) 0%,
    rgba(13, 26, 54, 0.78) 48%,
    rgba(13, 26, 54, 0.55) 100%
  );
}

.bc-pnp-hero__container {
  position: relative;
  z-index: 2;
}

.bc-pnp-hero__content {
  max-width: 720px;
}

.bc-pnp-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.bc-pnp-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

.bc-pnp-hero__title {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.bc-pnp-hero__lede {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
}

.bc-pnp-hero__facts {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.bc-pnp-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
}

.bc-pnp-hero__facts i {
  font-size: 13px;
  opacity: 0.95;
}

.bc-pnp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.bc-pnp-hero__btn-secondary.theme-btn.btn-style-two {
  border-color: rgba(255, 255, 255, 0.62) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.bc-pnp-hero__btn-secondary.theme-btn.btn-style-two:hover {
  background: #fff !important;
  color: #0d1a36 !important;
}

.bc-pnp-hero__text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.bc-pnp-hero__text-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 575px) {
  .bc-pnp-hero__pill {
    font-size: 10px;
    padding: 7px 12px;
  }

  .bc-pnp-hero__facts {
    flex-direction: column;
    align-items: flex-start;
  }

  .bc-pnp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bc-pnp-hero__actions .theme-btn {
    text-align: center;
  }

  .bc-pnp-hero__text-link {
    justify-content: center;
    border-bottom: none;
    text-decoration: underline;
  }
}

/* Main header scrolls like index.html; compact bar is .sticky-header (script.js adds .fixed-header after 100px). */

/* ===== Calculator layout ===== */
.bc-pnp-calculator-section {
  padding: 60px 0 100px;
}

.bc-pnp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 991px) {
  .bc-pnp-grid {
    grid-template-columns: 1fr;
  }
}

.bc-pnp-main {
  min-width: 0;
}

/* ===== Sticky summary panel ===== */
.bc-pnp-summary {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(13, 26, 54, 0.10);
}
@media (max-width: 991px) {
  .bc-pnp-summary {
    position: static;
  }
}

.bc-pnp-summary h3 {
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 14px;
  font-weight: 700;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed #e6ebf3;
}
.score-row:last-of-type {
  border-bottom: none;
}
.score-row .label {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 500;
}
.score-row .max {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.score-row .value {
  font-size: 22px;
  font-weight: 800;
  color: #0d1a36;
  font-family: 'Inter', 'Poppins', sans-serif;
}

.score-row.total {
  margin-top: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0d1a36 0%, #1a3061 50%, #28506c 100%);
  color: #ffffff;
  border-radius: 12px;
  border-bottom: none;
}
.score-row.total .label,
.score-row.total .max {
  color: rgba(255, 255, 255, 0.86);
}
.score-row.total .value {
  color: #ffffff;
  font-size: 28px;
}

.eligibility-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eligibility-pill.ok {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.25);
}
.eligibility-pill.warn {
  background: rgba(234, 88, 12, 0.10);
  color: #b45309;
  border: 1px solid rgba(234, 88, 12, 0.20);
}
.eligibility-pill.bad {
  background: rgba(144, 29, 22, 0.10);
  color: #901d16;
  border: 1px solid rgba(144, 29, 22, 0.22);
}

.eligibility-notes {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
}
.eligibility-notes ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.eligibility-notes li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.eligibility-notes li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #28506c;
  font-weight: 800;
}

.bc-pnp-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bc-pnp-actions .reset-btn {
  background: #ffffff;
  color: #0d1a36;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bc-pnp-actions .reset-btn:hover {
  background: #f6f8fb;
  border-color: #0d1a36;
}

/* ===== Section card ===== */
.bc-pnp-section {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(13, 26, 54, 0.06);
}

.bc-pnp-section.group-heading {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 0 6px;
  margin-bottom: 6px;
}
.bc-pnp-section.group-heading h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0d1a36;
  margin: 0;
  letter-spacing: -0.01em;
}
.bc-pnp-section.group-heading .group-meta {
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
}

.bc-pnp-section .sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.bc-pnp-section .sec-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0d1a36;
  margin: 0;
}
.bc-pnp-section .sec-head .sec-meta {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 4px;
}
.bc-pnp-section .sec-head .sec-points {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bc-pnp-section .sec-head .sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f6f8fb;
  border: 1px solid #e6ebf3;
  color: #0d1a36;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
}
.bc-pnp-section .sec-head .sec-badge.min-warn {
  background: rgba(144, 29, 22, 0.08);
  border-color: rgba(144, 29, 22, 0.20);
  color: #901d16;
}

/* ===== Question rows ===== */
.bc-question {
  padding: 14px 0 16px;
  border-bottom: 1px solid #f1f5f9;
}
.bc-question:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.bc-question .q-label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #0d1a36;
  margin-bottom: 10px;
}
.bc-question .q-hint {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 400;
}

/* Visual radio cards - 2 columns on web, 1 column on mobile */
.bc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .bc-options {
    grid-template-columns: 1fr;
  }
}
.bc-option {
  position: relative;
  cursor: pointer;
}
.bc-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bc-option .opt-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: #ffffff;
  font-size: 13.5px;
  color: #0f172a;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  line-height: 1.4;
}
.bc-option:hover .opt-card {
  border-color: #28506c;
}
.bc-option input:checked + .opt-card {
  border-color: #0d1a36;
  background: linear-gradient(135deg, rgba(13, 26, 54, 0.04) 0%, rgba(40, 80, 108, 0.06) 100%);
  box-shadow: 0 0 0 2px rgba(13, 26, 54, 0.06);
}
.bc-option .pts {
  flex-shrink: 0;
  background: #f6f8fb;
  color: #0d1a36;
  font-weight: 800;
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #e6ebf3;
  letter-spacing: 0.02em;
}
.bc-option input:checked + .opt-card .pts {
  background: #0d1a36;
  color: #ffffff;
  border-color: #0d1a36;
}
.bc-option .pts.minus {
  color: #b45309;
}

/* Notes / cap explanations */
.bc-note {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f6f8fb;
  border-left: 3px solid #28506c;
  border-radius: 8px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.55;
}

/* Result CTA strip */
.bc-cta-card {
  margin-top: 28px;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d1a36 0%, #1a3061 50%, #28506c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.bc-cta-card h4 {
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}
.bc-cta-card p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  font-size: 14px;
  max-width: 560px;
}
.bc-cta-card .theme-btn {
  flex-shrink: 0;
}

/* Footnote / disclaimer */
.bc-disclaimer {
  margin-top: 30px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.6;
}
.bc-disclaimer strong {
  color: #0d1a36;
}
.bc-disclaimer a {
  color: #0d1a36;
  text-decoration: underline;
}
