:root {
  --jv-red: #dc3545;
  --jv-dark: #151515;
}
body { background: #f7f7f8; }
.hero {
  background: linear-gradient(135deg, #151515, #3a0d12);
  color: #fff;
  border-radius: 18px;
  padding: 64px 36px;
}
.card { border: 0; box-shadow: 0 8px 24px rgba(0,0,0,.06); border-radius: 16px; }
.btn-danger { background: var(--jv-red); border-color: var(--jv-red); }
.badge.bg-orange { background: #e67e22; color: #fff; }
.score-circle {
  width: 96px; height: 96px; border-radius: 50%; display:flex; align-items:center; justify-content:center;
  font-size: 28px; font-weight: 700; color: #fff;
}
.score-success { background: #2ecc71; }
.score-warning { background: #f1c40f; color:#111; }
.score-orange { background: #e67e22; }
.score-danger { background: #e74c3c; }
.form-text-warning { color: #9a3412; }


/* Client Profile Page */
.client-profile-page {
  width: min(100%, 1410px);
  margin: 0 auto;
  padding: 1.5rem .25rem 2.5rem;
  color: #172033;
}

.jv-panel {
  background: #fff;
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.profile-hero {
  padding: 1.9rem 2.1rem 1.35rem;
}

.client-profile-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.25fr;
  align-items: center;
  gap: 2.5rem;
  min-height: 285px;
}

.client-name {
  margin: 0 0 1.55rem;
  font-size: clamp(2.45rem, 4.2vw, 3.55rem);
  line-height: 1.03;
  font-weight: 850;
  letter-spacing: -0.055em;
  color: #070d18;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: .85rem 0;
  font-size: 1.05rem;
  color: #263248;
}

.meta-icon {
  width: 20px;
  display: inline-flex;
  justify-content: center;
  font-size: 1.25rem;
  color: #263248;
}

.meta-location {
  color: #ff1224;
  font-weight: 800;
}

.member-divider {
  width: min(100%, 360px);
  height: 1px;
  margin: 1.6rem 0 1.35rem;
  background: #d7dde6;
}

.member-since {
  font-size: 1.03rem;
  color: #475569;
}

.member-since strong {
  color: #111827;
}

.client-profile-score {
  display: flex;
  justify-content: center;
}

.score-ring {
  --score-color: #f5b400;
  width: 274px;
  height: 274px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--score-color) calc(var(--score) * 1%), #eef0f4 0);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .025);
}

.score-ring-inner {
  width: 198px;
  height: 198px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring.score-success { --score-color: #2ecc71; }
.score-ring.score-warning { --score-color: #f5b400; }
.score-ring.score-orange { --score-color: #e67e22; }
.score-ring.score-danger { --score-color: #e74c3c; }

.score-number {
  font-size: 5.45rem;
  line-height: .9;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #060b14;
}

.score-label {
  margin-top: .6rem;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 850;
  color: var(--score-color);
}

.score-subtitle {
  margin-top: .65rem;
  color: #344054;
  font-size: .95rem;
}

.client-profile-stats {
  padding: .6rem 1.25rem .6rem 0;
}

.stat-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: .85rem;
  padding: .82rem 0;
  border-bottom: 1px solid #e1e6ee;
  color: #263248;
  font-size: 1.04rem;
}

.stat-row:last-child { border-bottom: 0; }

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: #245ca4;
  font-weight: 800;
  font-size: 1.15rem;
}

.stat-label { font-weight: 500; }
.stat-row strong { font-weight: 850; color: #070d18; }
.stat-positive .stat-icon { background: #e5f7e9; color: #08a53e; }
.stat-positive strong { color: #00a23a; }
.stat-negative .stat-icon { background: #ffe7e9; color: #ff1028; }
.stat-negative strong { color: #ff1028; }

.profile-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.1rem;
  padding-top: 1.15rem;
  border-top: 1px solid #dde3ec;
  color: #556277;
  font-size: 1.05rem;
}

.note-icon { color: #536680; }

.report-history-card {
  padding: 1.55rem 1.85rem 1.65rem;
}

.report-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.05rem;
}

.report-history-header h2 {
  position: relative;
  margin: 0;
  padding-bottom: .65rem;
  color: #0b0f18;
  font-size: 1.6rem;
  font-weight: 850;
}

.report-history-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 164px;
  height: 2px;
  background: #ff1028;
}

.submit-another-btn {
  border-radius: 6px;
  padding: .68rem 1.05rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(220, 53, 69, .18);
}

.report-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.report-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(220px, .95fr) minmax(360px, 1.75fr) minmax(190px, .85fr);
  gap: 0;
  border: 1px solid #e0e6ef;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.report-date {
  min-height: 150px;
  padding: 1.2rem .75rem;
  background: #fbfcfe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #172033;
}

.report-date small {
  margin-top: .4rem;
  color: #263248;
  font-size: .95rem;
}

.date-icon {
  margin-bottom: .75rem;
  color: #f0192d;
  font-size: 2rem;
  line-height: 1;
}

.report-main,
.report-factors,
.report-outcome {
  padding: 1.1rem 1.55rem;
}

.report-main,
.report-factors {
  border-right: 1px solid #e0e6ef;
}

.report-main h3 {
  margin: 0 0 .55rem;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 850;
  color: #0a0f18;
}

.report-main h6,
.report-factors h6,
.report-outcome h6 {
  margin: .85rem 0 .35rem;
  color: #344054;
  font-size: .95rem;
  font-weight: 850;
}

.project-value {
  font-size: 1.05rem;
  color: #172033;
}

.rating-pill,
.work-again-pill,
.factor-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
}

.rating-pill {
  gap: .35rem;
  padding: .55rem .68rem;
  font-size: 1.05rem;
}

.rating-good { background: #dcf8e6; color: #0b9f45; }
.rating-mid { background: #fff1cc; color: #b06b00; }
.rating-bad { background: #ffe2e5; color: #d01024; }

.factor-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1rem;
}

.factor-pill {
  padding: .55rem .72rem;
  font-size: .86rem;
  font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .035);
}

.factor-positive { background: #e2f6e7; color: #048434; }
.factor-warning { background: #fff1cc; color: #aa6500; }
.factor-negative { background: #ffe2e5; color: #c11224; }
.factor-neutral { background: #f1f3f6; color: #172033; }

.comments-title { margin-top: .9rem !important; }
.report-comments {
  margin: 0;
  color: #263248;
  line-height: 1.45;
}

.report-outcome {
  position: relative;
  padding-right: 3.1rem;
}

.report-menu {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: 0;
  background: transparent;
  color: #344054;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.work-again-pill {
  gap: .35rem;
  padding: .58rem .72rem;
  font-size: .98rem;
}

.work-again-pill.yes { background: #ddf8e5; color: #07993b; }
.work-again-pill.no { background: #ffe2e5; color: #d01024; }
.project-type-title { margin-top: 1rem !important; }

@media (max-width: 1199px) {
  .client-profile-grid { grid-template-columns: 1fr; text-align: center; gap: 1.7rem; }
  .client-profile-left { display: flex; flex-direction: column; align-items: center; }
  .client-meta { justify-content: center; }
  .client-profile-stats { padding: 0; }
  .report-item { grid-template-columns: 140px 1fr; }
  .report-date { grid-row: span 3; }
  .report-main,
  .report-factors { border-right: 0; border-bottom: 1px solid #e0e6ef; }
}

@media (max-width: 767px) {
  .client-profile-page { padding-top: 1rem; }
  .profile-hero,
  .report-history-card { padding: 1.2rem; }
  .score-ring { width: 228px; height: 228px; }
  .score-ring-inner { width: 166px; height: 166px; }
  .score-number { font-size: 4.35rem; }
  .report-item { grid-template-columns: 1fr; }
  .report-date { min-height: auto; border-bottom: 1px solid #e0e6ef; }
  .report-main,
  .report-factors,
  .report-outcome { padding: 1rem; border-right: 0; }
}

:root {
  --jv-red: #dc3545;
  --jv-dark: #151515;
  --jv-bg: #f7f7f8;
  --jv-text: #172033;
  --jv-muted: #556277;
  --jv-border: #e1e6ee;
  --jv-yellow: #f5b400;
}
body { background: var(--jv-bg); color: var(--jv-text); }
.hero {
  background: linear-gradient(135deg, #151515, #3a0d12);
  color: #fff;
  border-radius: 18px;
  padding: 64px 36px;
}
.card { border: 0; box-shadow: 0 8px 24px rgba(0,0,0,.06); border-radius: 16px; }
.btn-danger { background: var(--jv-red); border-color: var(--jv-red); }
.badge.bg-orange { background: #e67e22; color: #fff; }
.form-text-warning { color: #9a3412; }

/* Shared profile/dashboard layout */
.client-profile-page,
.dashboard-profile-page {
  width: min(100%, 1410px);
  margin: 0 auto;
  padding: 1.5rem .25rem 2.5rem;
  color: #172033;
}

.jv-panel {
  background: #fff;
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.profile-hero {
  padding: 1.9rem 2.1rem 1.35rem;
}

.client-profile-grid,
.dashboard-profile-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.25fr;
  align-items: center;
  gap: 2.5rem;
  min-height: 285px;
}

.client-name,
.dashboard-name {
  margin: 0 0 1.55rem;
  font-size: clamp(2.45rem, 4.2vw, 3.55rem);
  line-height: 1.03;
  font-weight: 850;
  letter-spacing: -0.055em;
  color: #070d18;
}

.client-meta,
.dashboard-meta {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: .85rem 0;
  font-size: 1.05rem;
  color: #263248;
}

.meta-icon {
  width: 20px;
  display: inline-flex;
  justify-content: center;
  font-size: 1.25rem;
  color: #263248;
}

.meta-location {
  color: #ff1224;
  font-weight: 800;
}

.member-divider {
  width: min(100%, 360px);
  height: 1px;
  margin: 1.6rem 0 1.35rem;
  background: #d7dde6;
}

.member-since {
  font-size: 1.03rem;
  color: #475569;
}

.member-since strong {
  color: #111827;
}

.client-profile-score,
.dashboard-profile-score {
  display: flex;
  justify-content: center;
}

.score-ring {
  --score-color: #f5b400;
  width: 274px;
  height: 274px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--score-color) calc(var(--score) * 1%), #eef0f4 0);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .025);
}

.score-ring-inner {
  width: 198px;
  height: 198px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring.score-success { --score-color: #2ecc71; }
.score-ring.score-warning { --score-color: #f5b400; }
.score-ring.score-orange { --score-color: #e67e22; }
.score-ring.score-danger { --score-color: #e74c3c; }

.score-number {
  font-size: 5.45rem;
  line-height: .9;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #060b14;
}

.score-label {
  margin-top: .6rem;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 850;
  color: var(--score-color);
}

.score-subtitle {
  margin-top: .65rem;
  color: #344054;
  font-size: .95rem;
}

.client-profile-stats,
.dashboard-profile-stats {
  padding: .6rem 1.25rem .6rem 0;
}

.stat-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: .85rem;
  padding: .82rem 0;
  border-bottom: 1px solid #e1e6ee;
  color: #263248;
  font-size: 1.04rem;
}

.stat-row:last-child { border-bottom: 0; }

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: #245ca4;
  font-weight: 800;
  font-size: 1.15rem;
}

.stat-label { font-weight: 500; }
.stat-row strong { font-weight: 850; color: #070d18; }
.stat-positive .stat-icon { background: #e5f7e9; color: #08a53e; }
.stat-positive strong { color: #00a23a; }
.stat-negative .stat-icon { background: #ffe7e9; color: #ff1028; }
.stat-negative strong { color: #ff1028; }

.profile-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.1rem;
  padding-top: 1.15rem;
  border-top: 1px solid #dde3ec;
  color: #556277;
  font-size: 1.05rem;
}

.note-icon { color: #536680; }

/* Report history cards */
.report-history-card {
  padding: 1.55rem 1.85rem 1.65rem;
}

.report-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.05rem;
}

.report-history-header h2 {
  position: relative;
  margin: 0;
  padding-bottom: .65rem;
  color: #0b0f18;
  font-size: 1.6rem;
  font-weight: 850;
}

.report-history-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 164px;
  height: 2px;
  background: #ff1028;
}

.submit-another-btn {
  border-radius: 6px;
  padding: .68rem 1.05rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(220, 53, 69, .18);
}

.report-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.report-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(220px, .95fr) minmax(360px, 1.75fr) minmax(210px, .9fr);
  gap: 0;
  border: 1px solid #e0e6ef;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.report-date {
  min-height: 150px;
  padding: 1.2rem .75rem;
  background: #fbfcfe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #172033;
}

.report-date small {
  margin-top: .4rem;
  color: #263248;
  font-size: .95rem;
}

.date-icon {
  margin-bottom: .75rem;
  color: #f0192d;
  font-size: 2rem;
  line-height: 1;
}

.report-main,
.report-factors,
.report-outcome {
  padding: 1.1rem 1.55rem;
}

.report-main,
.report-factors {
  border-right: 1px solid #e0e6ef;
}

.report-main h3 {
  margin: 0 0 .55rem;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 850;
  color: #0a0f18;
}

.report-main h3 a {
  color: inherit;
  text-decoration: none;
}

.report-main h3 a:hover {
  color: var(--jv-red);
}

.report-main h6,
.report-factors h6,
.report-outcome h6 {
  margin: .85rem 0 .35rem;
  color: #344054;
  font-size: .95rem;
  font-weight: 850;
}

.project-value {
  font-size: 1.05rem;
  color: #172033;
}

.rating-pill,
.work-again-pill,
.factor-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
}

.rating-pill {
  gap: .35rem;
  padding: .55rem .68rem;
  font-size: 1.05rem;
}

.rating-good { background: #dcf8e6; color: #0b9f45; }
.rating-mid { background: #fff1cc; color: #b06b00; }
.rating-bad { background: #ffe2e5; color: #d01024; }

.factor-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1rem;
}

.factor-pill {
  padding: .55rem .72rem;
  font-size: .86rem;
  font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .035);
}

.factor-positive { background: #e2f6e7; color: #048434; }
.factor-warning { background: #fff1cc; color: #aa6500; }
.factor-negative { background: #ffe2e5; color: #c11224; }
.factor-neutral { background: #f1f3f6; color: #172033; }

.comments-title { margin-top: .9rem !important; }

.report-comments {
  margin: 0;
  color: #263248;
  line-height: 1.45;
}

.report-outcome {
  position: relative;
  padding-right: 1.55rem;
}

.work-again-pill {
  gap: .35rem;
  padding: .58rem .72rem;
  font-size: .98rem;
}

.work-again-pill.yes { background: #ddf8e5; color: #07993b; }
.work-again-pill.no { background: #ffe2e5; color: #d01024; }
.project-type-title { margin-top: 1rem !important; }

.report-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.report-actions .btn {
  font-weight: 750;
  border-radius: 7px;
}

.empty-state {
  padding: 2rem;
  border: 1px dashed #d7dde6;
  border-radius: 10px;
  color: #556277;
  background: #fbfcfe;
}

@media (max-width: 1199px) {
  .client-profile-grid,
  .dashboard-profile-grid { grid-template-columns: 1fr; text-align: center; gap: 1.7rem; }
  .client-profile-left,
  .dashboard-profile-left { display: flex; flex-direction: column; align-items: center; }
  .client-meta,
  .dashboard-meta { justify-content: center; }
  .client-profile-stats,
  .dashboard-profile-stats { padding: 0; }
  .report-item { grid-template-columns: 140px 1fr; }
  .report-date { grid-row: span 3; }
  .report-main,
  .report-factors { border-right: 0; border-bottom: 1px solid #e0e6ef; }
}

@media (max-width: 767px) {
  .client-profile-page,
  .dashboard-profile-page { padding-top: 1rem; }
  .profile-hero,
  .report-history-card { padding: 1.2rem; }
  .report-item { grid-template-columns: 1fr; }
  .report-date { min-height: auto; border-bottom: 1px solid #e0e6ef; }
  .report-main,
  .report-factors,
  .report-outcome { padding: 1rem; border-right: 0; }
}


/* Dashboard report management refinements */
.dashboard-profile-page .profile-hero {
  margin-top: .25rem;
}
.dashboard-profile-left .submit-another-btn {
  width: fit-content;
}
.dashboard-report-list .report-main h3 a {
  color: inherit;
  text-decoration: none;
}
.dashboard-report-list .report-main h3 a:hover {
  color: var(--jv-red);
}
.report-actions form {
  margin: 0;
}
.report-actions .btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}
.report-actions .btn-outline-danger:hover {
  background: #dc3545;
  color: #fff;
}
@media (max-width: 767px) {
  .dashboard-profile-left .submit-another-btn,
  .report-history-header .submit-another-btn {
    width: 100%;
    text-align: center;
  }
}

/* HieRede Home Page Redesign */
.jv-home-page {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  color: #0f172a;
}

.jv-home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  padding: 3.75rem 0 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(220, 53, 69, .07), transparent 26%),
    radial-gradient(circle at 10% 5%, rgba(12, 33, 64, .09), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #eaf2fb 100%);
}

.jv-hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .55;
}

.jv-hero-bg-orb-one {
  width: 720px;
  height: 720px;
  left: 32%;
  top: -360px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 120px rgba(255, 255, 255, .38);
}

.jv-hero-bg-orb-two {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -170px;
  background: rgba(205, 222, 240, .45);
}

.jv-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 405px;
  gap: 4.5rem;
  align-items: center;
  padding: 0 2rem 2rem;
}

.jv-eyebrow {
  width: fit-content;
  margin-bottom: 1rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(220, 53, 69, .18);
  border-radius: 999px;
  background: rgba(220, 53, 69, .07);
  color: #c91f31;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jv-home-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.15rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.065em;
  color: #07101f;
}

.jv-home-subtitle {
  max-width: 650px;
  margin: 1.5rem 0 1.65rem;
  color: #475569;
  font-size: 1.2rem;
  line-height: 1.65;
}

.jv-home-search {
  display: flex;
  align-items: center;
  max-width: 620px;
  min-height: 58px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
  backdrop-filter: blur(12px);
}

.jv-search-icon {
  padding-left: 1.3rem;
  color: #64748b;
  font-size: 1.75rem;
  line-height: 1;
}

.jv-home-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 1rem;
  background: transparent;
  color: #0f172a;
  font-size: 1rem;
}

.jv-home-search button {
  margin-right: .45rem;
  padding: .72rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #dc3545;
  color: #fff;
  font-weight: 850;
}

.jv-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.05rem;
}

.jv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 54px;
  padding: .9rem 1.55rem;
  border-radius: 9px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.jv-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.jv-btn-primary {
  border: 1px solid #dc3545;
  background: linear-gradient(135deg, #e63143, #c9182b);
  color: #fff;
  box-shadow: 0 14px 28px rgba(220, 53, 69, .22);
}

.jv-btn-primary:hover { color: #fff; }

.jv-btn-secondary {
  border: 1px solid #cfd8e3;
  background: rgba(255, 255, 255, .86);
  color: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .045);
}

.jv-btn-secondary:hover {
  color: #0f172a;
  border-color: #aebaca;
}

.jv-trust-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.3rem;
  color: #4b5563;
  font-size: .97rem;
}

.jv-trust-line span { color: #1d3d72; }

.jv-report-preview {
  border: 1px solid rgba(207, 216, 227, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 55px rgba(15, 23, 42, .13);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.jv-preview-topline {
  padding: 1.45rem 1.55rem 0;
  color: #64748b;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jv-preview-client {
  padding: .6rem 1.55rem 0;
  color: #07101f;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.jv-preview-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.55rem 1.1rem;
}

.jv-preview-label {
  margin-bottom: .25rem;
  color: #475569;
  font-weight: 650;
}

.jv-preview-score strong {
  color: #24ad5f;
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.07em;
}

.jv-preview-score span {
  margin-left: .25rem;
  color: #64748b;
  font-size: 1.55rem;
  font-weight: 750;
}

.jv-mini-score {
  --score-color: #27ae60;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--score-color) calc(var(--score) * 1%), #e7edf4 0);
  color: #07101f;
  font-size: 1.75rem;
  font-weight: 900;
  position: relative;
}

.jv-mini-score::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}

.jv-mini-score { isolation: isolate; }
.jv-mini-score::after {
  content: attr(style);
  display: none;
}
.jv-mini-score { color: transparent; }
.jv-mini-score::selection { color: transparent; }
.jv-mini-score { font-size: 0; }
.jv-mini-score::before { z-index: -1; }
.jv-mini-score::after {
  content: '82';
  display: block;
  color: #07101f;
  font-size: 1.75rem;
  font-weight: 900;
}

.jv-preview-divider {
  height: 1px;
  margin: 0 1.55rem;
  background: #e2e8f0;
}

.jv-signal-list {
  display: grid;
  gap: .75rem;
  padding: 1.1rem 1.55rem 1.25rem;
}

.jv-signal {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #0f172a;
  font-weight: 650;
}

.jv-signal span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.jv-signal.positive span { background: #24ad5f; }
.jv-signal.warning span { background: #f5a623; }

.jv-preview-footer {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 1rem 1.55rem;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  background: rgba(248, 250, 252, .72);
}

.jv-preview-people { color: #1d3d72; font-size: 1.35rem; }
.jv-preview-arrow { margin-left: auto; color: #64748b; font-size: 1.8rem; line-height: 1; }

.jv-home-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 2rem;
  transform: translateY(50%);
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 44px rgba(15, 23, 42, .1);
  overflow: hidden;
}

.jv-stat-card {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  padding: 1.2rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}

.jv-stat-card:last-child { border-right: 0; }
.jv-stat-icon { color: #dc3545; font-size: 2rem; line-height: 1; }
.jv-stat-card strong { color: #07101f; font-size: 1.85rem; font-weight: 900; letter-spacing: -.04em; }
.jv-stat-card span { color: #0f172a; font-weight: 650; }

.jv-how-section {
  padding: 6.5rem 0 0;
}

.jv-section-heading {
  text-align: center;
  margin-bottom: 1.4rem;
}

.jv-section-heading span {
  color: #dc3545;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jv-section-heading h2 {
  margin: .2rem 0 0;
  color: #07101f;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -.04em;
}

.jv-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.jv-how-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1.05rem;
  align-items: center;
  min-height: 126px;
  padding: 1.35rem 1.5rem;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
}

.jv-how-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: #1d3d72;
  font-size: 2.2rem;
}

.jv-step-badge {
  position: absolute;
  top: 1rem;
  left: 94px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dc3545;
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
}

.jv-how-card h3 {
  margin: 0 0 .35rem;
  color: #07101f;
  font-size: 1.22rem;
  font-weight: 900;
}

.jv-how-card p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}

.jv-home-cta {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 1.35rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.35rem 1.6rem;
  border-radius: 10px;
  background:
    radial-gradient(circle at 5% 15%, rgba(220, 53, 69, .16), transparent 20%),
    linear-gradient(135deg, #07101f, #0e1a2d);
  color: #fff;
  box-shadow: 0 18px 35px rgba(15, 23, 42, .16);
}

.jv-cta-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #ff3448;
  font-size: 2rem;
}

.jv-home-cta h2 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.jv-home-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.jv-cta-button {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .jv-home-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .jv-report-preview {
    max-width: 520px;
  }
  .jv-home-stats {
    grid-template-columns: repeat(2, 1fr);
    transform: translateY(25%);
  }
  .jv-stat-card:nth-child(2) { border-right: 0; }
  .jv-stat-card:nth-child(-n+2) { border-bottom: 1px solid #e2e8f0; }
  .jv-how-section { padding-top: 5rem; }
  .jv-home-cta { grid-template-columns: 70px 1fr; }
  .jv-cta-button { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 800px) {
  .jv-home-page { padding: 1rem .75rem 2rem; }
  .jv-home-hero { padding-top: 2.25rem; border-radius: 18px; }
  .jv-home-grid { padding: 0 1rem 1rem; }
  .jv-home-copy h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .jv-home-search { align-items: stretch; flex-wrap: wrap; padding-top: .4rem; }
  .jv-home-search input { min-height: 48px; }
  .jv-home-search button { width: calc(100% - .9rem); margin: 0 .45rem .45rem; }
  .jv-home-stats {
    grid-template-columns: 1fr;
    margin: 0 1rem;
    transform: translateY(7%);
  }
  .jv-stat-card { border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .jv-stat-card:last-child { border-bottom: 0; }
  .jv-how-section { padding-top: 2.75rem; }
  .jv-how-grid { grid-template-columns: 1fr; }
  .jv-home-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .jv-cta-button { width: 100%; }
}

/* =========================================================
   HieRede HOME PAGE FINAL OVERRIDES
   Fixes: CSS load issues aside, stats cutoff + How It Works layout
   Place this at the very bottom of style.css
   ========================================================= */

/* Let the home page use more space even though header.php wraps pages in Bootstrap .container */
main.container:has(.jv-home-page) {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}

.jv-home-page {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 1rem 3rem !important;
  overflow-x: hidden !important;
}

.jv-home-hero {
  max-width: 1280px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  border-radius: 0 0 24px 24px !important;
}

/* Prevent stats row from being hidden/cut off */
.jv-home-stats {
  transform: none !important;
  margin: 2rem 2rem 0 !important;
  position: relative !important;
  z-index: 3 !important;
}

.jv-how-section {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding-top: 3.5rem !important;
}

/* Clean 3-column cards */
.jv-how-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

.jv-how-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  gap: 0 !important;
  min-height: 245px !important;
  padding: 2rem 1.5rem !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
}

.jv-how-icon {
  width: 76px !important;
  height: 76px !important;
  flex: 0 0 76px !important;
  margin: 0 auto 1rem auto !important;
}

.jv-step-badge {
  top: 1rem !important;
  left: calc(50% + 18px) !important;
  transform: none !important;
}

.jv-how-card h3 {
  margin: 0 0 .75rem !important;
  width: 100% !important;
}

.jv-how-card p {
  max-width: 300px !important;
  width: auto !important;
  margin: 0 auto !important;
  line-height: 1.55 !important;
}

.jv-home-cta {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1100px) {
  .jv-home-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .jv-how-grid {
    grid-template-columns: 1fr !important;
  }

  .jv-how-card {
    min-height: auto !important;
  }
}

@media (max-width: 800px) {
  .jv-home-page {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  .jv-home-stats {
    grid-template-columns: 1fr !important;
    margin: 1.5rem 1rem 0 !important;
  }

  .jv-how-section {
    padding-top: 2.75rem !important;
  }

  .jv-home-cta {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
.dashboard-search-credit-card{
    min-height:260px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:#fff;
    border:1px solid #e1e6ee;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
    text-align:center;
    padding:2rem;

    text-decoration:none;
    color:inherit;

    transition:.2s ease;
    cursor:pointer;
}

.dashboard-search-credit-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 32px rgba(15,23,42,.10);
    border-color:#dc3545;
}

.dashboard-search-credit-card:hover .credit-number{
    color:#b71c2b;
}

.dashboard-search-credit-card:hover .credit-label{
    color:#dc3545;
}

.credit-number{
    font-size:5.5rem;
    font-weight:900;
    line-height:1;
    color:#dc3545;
    letter-spacing:-.06em;
}

.credit-label{
    margin-top:.75rem;
    font-size:1.4rem;
    font-weight:800;
    color:#172033;
}

.credit-subtitle{
    margin-top:.5rem;
    color:#6b7280;
    font-size:.95rem;
    max-width:220px;
    line-height:1.4;
}