/* JB Portfolio reviews component. Intentionally namespaced to avoid changing other sections. */
.jb-reviews-section{background:#fff;color:#11294a;padding:96px 0 112px;border-top:1px solid #e9edeb;font-family:var(--body,Inter,Arial,sans-serif)}
.jb-reviews-section *{box-sizing:border-box}
.jb-reviews-section [hidden]{display:none!important}
.jb-reviews-wrap{width:min(calc(100% - 84px),1710px);margin:0 auto}
.jb-reviews-heading{text-align:center;margin:0 auto 54px;max-width:750px}
.jb-reviews-eyebrow{font-size:10px;font-weight:800;letter-spacing:.23em;color:#878f8c;display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:17px}
.jb-reviews-line{display:inline-block;width:35px;height:1px;background:#b8cac1}
.jb-reviews-heading h2{margin:0;font-family:var(--font,Sora,sans-serif);font-weight:750;font-size:clamp(30px,4vw,52px);line-height:1.18;letter-spacing:-.05em}
.jb-reviews-heading h2 span{color:var(--orange-strong,#dd823a)}
.jb-reviews-heading p{font-size:14px;color:#687873;line-height:1.7;max-width:560px;margin:15px auto 0}
.jb-reviews-heading-rule{display:block;background:#285e9f;height:3px;width:78px;margin:23px auto 0;border-radius:20px}
.jb-review-filters{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;margin:0 auto 30px;scrollbar-width:thin}
.jb-filter-pill{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 15px;min-height:39px;border-radius:10px;border:1px solid #d7e5f2;background:#fff;color:#385776;font:600 12px/1.2 var(--body,Inter,sans-serif);cursor:pointer;white-space:nowrap;text-decoration:none;transition:background .2s,border-color .2s,color .2s,transform .2s}
.jb-filter-pill:hover{border-color:#82add6;transform:translateY(-1px)}
.jb-filter-pill.is-selected,.jb-filter-pill[aria-current="page"]{background:#153e73;border-color:#153e73;color:#fff}
.jb-filter-pill span{font-size:10px;opacity:.65}
.jb-filter-pill[data-review-filter="travel"]{border-top:3px solid #a1bedd}
.jb-filter-pill[data-review-filter="logistics"]{border-top:3px solid #6294c7}
.jb-filter-pill[data-review-filter="restaurant"]{border-top:3px solid #3d77b6}
.jb-filter-pill[data-review-filter="industries"]{border-top:3px solid #759fc9}
.jb-filter-pill[data-review-filter="real-estate"]{border-top:3px solid #497cb2}
.jb-filter-pill[data-review-filter="it-companies"]{border-top:3px solid #b2cee9}
.jb-filter-pill[data-review-filter="sports"]{border-top:3px solid #174f90}
.jb-filter-pill[data-review-filter="community"]{border-top:3px solid #8ab2d9}
.jb-review-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:16px}
.jb-review-card{min-width:0;display:flex;flex-direction:column;padding:24px 21px 18px;background:#fff;border:1px solid #d7e4f1;border-radius:16px;box-shadow:0 4px 16px rgba(15,35,27,.025);transition:border-color .25s,box-shadow .25s,transform .25s}
.jb-review-card:hover{border-color:#adc8e7;box-shadow:0 13px 28px rgba(17,48,37,.075);transform:translateY(-2px)}
.jb-review-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:44px;margin-bottom:11px}
.jb-review-name-block{min-width:0;flex:1}
.jb-review-name-block h3{font-family:var(--font,Sora,sans-serif);font-size:14px;letter-spacing:-.025em;line-height:1.45;font-weight:700;color:#182521;margin:0;overflow-wrap:anywhere}
.jb-review-company{display:block;font-size:11px;color:#87918c;margin-top:5px;line-height:1.45}
.jb-review-google{font:bold 28px/1 Arial,sans-serif;letter-spacing:-.08em;background:conic-gradient(from -45deg,#4285f4 0 85deg,#34a853 85deg 175deg,#fbbc05 175deg 255deg,#ea4335 255deg 325deg,#4285f4 325deg);-webkit-background-clip:text;background-clip:text;color:transparent;flex:0 0 auto;text-decoration:none;padding-right:3px}
.jb-review-source{flex:0 0 auto;font-family:var(--font,Sora,sans-serif);font-weight:850;letter-spacing:-.1em;color:#4f6b5e;line-height:1;font-size:20px;border:1px solid #e2eae4;background:#f5f8f6;padding:5px 8px;border-radius:7px}
.jb-review-source span{color:var(--orange-strong,#dd823a)}
.jb-review-rating{display:flex;gap:1px;margin-bottom:14px;font-size:22px;line-height:1;color:#f2ad12;letter-spacing:-.06em}
.jb-review-rating .empty{color:#d8ddda}
.jb-review-content{font-size:13px;color:#183653;line-height:1.67;overflow-wrap:anywhere;white-space:pre-line;flex:0 0 auto;margin:0}
.jb-review-content.is-truncated{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden}
.jb-review-expand{align-self:flex-start;border:0;background:transparent;padding:8px 0;font:600 12px/1.4 var(--body,Inter,sans-serif);color:#175da9;margin-top:8px;cursor:pointer}
.jb-review-expand:hover{text-decoration:underline}
.jb-review-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:23px;font-size:10px;color:#818e88;border-top:1px solid #edf0ed;margin-block-start:20px;line-height:1.45}
.jb-review-card-bottom span{font-weight:650;overflow-wrap:anywhere}
.jb-review-card-bottom time{white-space:nowrap}
.jb-review-empty-filter,.jb-review-first{text-align:center;color:#6b776f;padding:35px;border:1px dashed #cbd8d0;border-radius:15px;background:#fcfdfb}
.jb-review-first{max-width:630px;margin:0 auto;padding:42px 24px}
.jb-review-first>span:first-child{font-size:30px;color:#d98b4c}
.jb-review-first p{font-size:16px;margin:15px 0 8px;color:#18395b;font-weight:600;line-height:1.6}
.jb-review-first>span:last-child{font-size:12px}
.jb-reviews-actions{display:flex;justify-content:center;align-items:flex-start;gap:14px;flex-wrap:wrap;margin:33px auto 0}
.jb-reviews-all-link,.jb-reviews-write-btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:13px 21px;min-height:46px;border:1px solid #d1ded7;border-radius:100px;font:700 11px/1.3 var(--body,Inter,sans-serif);letter-spacing:.06em;text-transform:uppercase;color:#1d4778;background:#fff;text-decoration:none;cursor:pointer}
.jb-reviews-write-btn{background:#284639;border-color:#284639;color:#fff;list-style:none}
.jb-reviews-write-btn::-webkit-details-marker{display:none}
.jb-reviews-write-btn:hover,.jb-reviews-all-link:hover{filter:brightness(.95)}
.jb-review-submit{max-width:min(100%,650px)}
.jb-review-submit[open]{flex:1 1 100%;max-width:min(100%,670px);margin-top:12px}
.jb-review-submit[open]>.jb-reviews-write-btn{margin:0 auto 16px}
.jb-review-form-panel{padding:28px;background:#f9fbf9;border:1px solid #d7e2da;border-radius:19px;box-shadow:0 10px 35px #122c1509}
.jb-review-form-panel h3{font:750 21px/1.3 var(--font,Sora,sans-serif);letter-spacing:-.035em;margin:0 0 6px}
.jb-review-form-panel>p{font-size:12px;color:#71817a;line-height:1.6;margin:0 0 22px}
.jb-review-form{display:grid;gap:15px}
.jb-review-form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.jb-review-form label{display:block;font-weight:650;font-size:12px;color:#2f4439}
.jb-review-form label>span{color:#cf7b4d}
.jb-review-form input:not([type="checkbox"]),.jb-review-form select,.jb-review-form textarea{display:block;margin-top:7px;width:100%;border:1px solid #ccd9d0;border-radius:9px;padding:12px 13px;background:#fff;color:#21382e;min-height:43px;font:400 13px/1.5 var(--body,Inter,sans-serif)}
.jb-review-form textarea{resize:vertical;min-height:125px}
.jb-review-consent{display:flex!important;align-items:flex-start;gap:10px;font-weight:450!important;line-height:1.65}
.jb-review-consent input{accent-color:#2f6f56;width:16px;height:16px;flex-shrink:0;margin-top:3px}
.jb-review-send{border:0;border-radius:10px;background:#254d3c;color:#fff;font:700 12px/1 var(--body,Inter,sans-serif);padding:16px 19px;justify-self:start;cursor:pointer}
.jb-review-send:hover{background:#32664e}
.jb-review-errors,.jb-reviews-feedback{max-width:720px;margin:10px auto 30px;border-radius:10px;background:#edf7ed;color:#254e35;border:1px solid #c3dbc6;padding:15px;font-size:13px}
.jb-review-errors{background:#fff3ed;color:#8f4932;border-color:#eccbbd}
.jb-review-field-errors{padding-left:24px;color:#9b352c;font-size:12px;line-height:1.7;margin:0}
.jb-review-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.jb-reviews-page-offset{height:70px;background:#fff}
.jb-review-pagination{margin:35px 0 15px;color:#3a5145}
.jb-review-pagination a,.jb-review-pagination span{font-size:12px}
@media(max-width:1550px){.jb-review-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1190px){.jb-review-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.jb-reviews-wrap{width:min(calc(100% - 64px),1170px)}}
@media(max-width:850px){.jb-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jb-reviews-section{padding:78px 0 86px}.jb-reviews-heading{margin-bottom:38px}.jb-review-filters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:10px;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.jb-filter-pill{scroll-snap-align:start}}
@media(max-width:560px){.jb-reviews-wrap{width:calc(100% - 32px)}.jb-review-grid{grid-template-columns:1fr;gap:13px}.jb-review-card{padding:20px 19px 17px;border-radius:14px}.jb-reviews-section{padding:65px 0 70px}.jb-reviews-heading{margin-bottom:30px}.jb-reviews-heading h2{font-size:32px}.jb-reviews-heading p{font-size:12px}.jb-reviews-eyebrow{font-size:9px}.jb-review-form-panel{padding:20px 16px}.jb-review-form-row{grid-template-columns:1fr;gap:13px}.jb-review-pagination{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.jb-review-card,.jb-filter-pill{transition:none}}


/* ==============================================================
   JB Portfolio · Client reviews · screenshot-aligned navy edition
   This layer is scoped to .jb-reviews-section, so existing pages,
   admin modules and other site sections retain their appearance.
   ============================================================== */
.jb-reviews-section {
  --jb-review-ink:#0d1930;
  --jb-review-muted:#777d88;
  --jb-review-stroke:#dedfe3;
  --jb-review-navy:#102d53;
  --jb-review-accent:#245d9b;
  --jb-review-star:#f4ae00;
  padding:66px 0 92px;
  border-top:1px solid #edf0f4;
  background:#fff;
  color:var(--jb-review-ink);
  font-family:Inter,Arial,sans-serif;
}
.jb-reviews-section .jb-reviews-wrap {
  max-width:1840px;
  width:calc(100% - 80px);
  margin:0 auto;
}
.jb-reviews-section .jb-reviews-heading {
  max-width:none;
  margin:0 auto 67px;
  text-align:center;
}
.jb-reviews-section .jb-reviews-heading h2 {
  font:750 clamp(26px,2.25vw,37px)/1.21 Inter,Arial,sans-serif;
  letter-spacing:-.045em;
  color:#0b203f;
  margin:0;
  text-wrap:balance;
}
.jb-reviews-section .jb-reviews-heading-rule {
  display:block;
  width:168px;
  max-width:38%;
  height:3px;
  margin:17px auto 0;
  background:var(--jb-review-accent);
  border-radius:0;
}
.jb-reviews-section .jb-review-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:13px 18px;
  align-items:stretch;
}
.jb-reviews-section .jb-review-card {
  border:1px solid var(--jb-review-stroke);
  border-radius:13px;
  background:#fff;
  box-shadow:none;
  padding:21px 21px 23px;
  min-width:0;
  min-height:237px;
  display:flex;
  flex-direction:column;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.jb-reviews-section .jb-review-card:hover {
  transform:translateY(-2px);
  border-color:#a8bdd7;
  box-shadow:0 9px 28px rgba(11,32,63,.07);
}
.jb-reviews-section .jb-review-card-top {
  display:flex;
  gap:9px;
  min-height:28px;
  align-items:flex-start;
  justify-content:space-between;
  margin:0 0 10px;
}
.jb-reviews-section .jb-review-name-block h3 {
  margin:0;
  font:700 clamp(13px,.93vw,17px)/1.42 Inter,Arial,sans-serif;
  letter-spacing:-.025em;
  color:#091d39;
  overflow-wrap:anywhere;
}
.jb-reviews-section .jb-review-company {
  display:block;
  color:#7f8a99;
  font:450 11px/1.45 Inter,Arial,sans-serif;
  margin-top:3px;
}
.jb-reviews-section .jb-review-google {
  font:800 28px/1 Arial,sans-serif;
  flex:none;
  padding-right:3px;
}
.jb-reviews-section .jb-review-source {
  flex:none;
  border:1px solid #e5eaf3;
  background:#f7faff;
  border-radius:8px;
  font:800 13px/1 Inter,Arial,sans-serif;
  letter-spacing:-.06em;
  padding:6px;
  color:#244978;
}
.jb-reviews-section .jb-review-source span { color:#3674b8; }
.jb-reviews-section .jb-review-rating {
  display:flex;
  gap:0;
  margin:2px 0 11px;
  color:var(--jb-review-star);
  font-size:23px;
  line-height:1;
  letter-spacing:-.09em;
}
.jb-reviews-section .jb-review-rating .empty {color:#d4d7df}
.jb-reviews-section .jb-review-content {
  font:400 clamp(13px,.88vw,16px)/1.53 Inter,Arial,sans-serif;
  color:#101c2f;
  line-height:1.54;
  margin:0;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.jb-reviews-section .jb-review-content.is-truncated {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  line-clamp:4;
  overflow:hidden;
}
.jb-reviews-section .jb-review-expand {
  align-self:flex-start;
  background:none;
  border:0;
  padding:0;
  margin:14px 0 0;
  color:#838892;
  font:450 14px/1.35 Inter,Arial,sans-serif;
  cursor:pointer;
  text-align:left;
  transition:color .15s ease;
}
.jb-reviews-section .jb-review-expand:hover,
.jb-reviews-section .jb-review-expand:focus-visible {
  color:var(--jb-review-accent);
  text-decoration:underline;
}
.jb-reviews-section .jb-review-card:has(.jb-review-expand:not([hidden])) .jb-review-expand { margin-top:auto; padding-top:14px; }
.jb-reviews-section .jb-reviews-actions {
  gap:12px;
  margin-top:28px;
}
.jb-reviews-section .jb-reviews-all-link {
  border-color:#d1dfec;
  color:#1e4d84;
}
.jb-reviews-section .jb-reviews-write-btn {
  border-color:#0d2e56;
  background:#0d2e56;
  color:#fff;
}
.jb-reviews-section .jb-review-send {background:#0d2e56;color:#fff}
.jb-reviews-section .jb-review-send:hover {background:#20568f}
.jb-reviews-section .jb-review-form-panel {
  background:#f7faff;
  border-color:#d7e2f0;
}
.jb-reviews-section .jb-review-form label {color:#0f294c}
.jb-reviews-section .jb-review-form input:not([type=checkbox]),
.jb-reviews-section .jb-review-form select,
.jb-reviews-section .jb-review-form textarea {
  border-color:#cad7e7;
  color:#122d50;
}
.jb-reviews-section .jb-review-consent input {accent-color:#0d2e56}
.jb-reviews-section .jb-review-first>span:first-child {color:#1e5fa8}
.jb-reviews-section .jb-review-first {border-color:#d8e4f2;background:#f8fbff}
.jb-reviews-section .jb-review-filters {margin-bottom:36px}
.jb-reviews-section .jb-filter-pill.is-selected,
.jb-reviews-section .jb-filter-pill[aria-current="page"] {background:#173e70;color:#fff;border-color:#173e70}
@media (max-width:1399px) {
  .jb-reviews-section .jb-review-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
  .jb-reviews-section .jb-reviews-wrap {width:calc(100% - 64px)}
}
@media (max-width:1060px) {
  .jb-reviews-section .jb-review-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  .jb-reviews-section .jb-review-card {min-height:228px;}
  .jb-reviews-section .jb-reviews-heading {margin-bottom:43px;}
}
@media (max-width:820px) {
  .jb-reviews-section .jb-review-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .jb-reviews-section {padding:58px 0 76px;}
  .jb-reviews-section .jb-reviews-wrap {width:calc(100% - 36px)}
  .jb-reviews-section .jb-review-card {padding:20px 17px;min-height:216px;}
  .jb-reviews-section .jb-review-content {font-size:14px;}
  .jb-reviews-section .jb-review-name-block h3 {font-size:14px;}
  .jb-reviews-section .jb-reviews-heading {margin-bottom:31px;}
}
@media (max-width:520px) {
  .jb-reviews-section .jb-review-grid {grid-template-columns:1fr;gap:13px;}
  .jb-reviews-section .jb-reviews-wrap {width:calc(100% - 30px)}
  .jb-reviews-section .jb-review-card {padding:20px 19px;min-height:0;}
  .jb-reviews-section .jb-review-name-block h3 {font-size:16px;}
  .jb-reviews-section .jb-review-content {font-size:14px;}
  .jb-reviews-section .jb-reviews-heading h2 {font-size:27px;line-height:1.25;}
  .jb-reviews-section .jb-reviews-heading {margin-bottom:28px;}
  .jb-reviews-section .jb-review-rating {font-size:22px;}
  .jb-reviews-section {padding:50px 0 65px;}
}
@media (prefers-reduced-motion:reduce) {
  .jb-reviews-section .jb-review-card,
  .jb-reviews-section .jb-review-expand {transition:none;}
}

/* Visibility and conflict hardening: must override repo-wide/card resets. */
.jb-reviews-section[data-jb-review-section]{position:relative!important;display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:240px;overflow:visible!important;isolation:isolate}
.jb-reviews-section[data-jb-review-section] .jb-reviews-wrap{position:relative;display:block;margin-inline:auto}
.jb-reviews-section[data-jb-review-section] .jb-review-grid{display:grid!important}
.jb-reviews-section[data-jb-review-section] .jb-review-card:not([hidden]){display:flex!important;visibility:visible!important;opacity:1!important}
.jb-reviews-section[data-jb-review-section] .jb-review-first{max-width:700px;margin:0 auto;padding:34px 28px;background:#f7faff;border:1px solid #d7e3f1;border-radius:16px;text-align:center}
.jb-reviews-section[data-jb-review-section] .jb-review-first p{margin:12px 0 8px;font:700 17px/1.5 Inter,Arial,sans-serif;color:#102d53}
.jb-reviews-section[data-jb-review-section] .jb-review-first>span:last-child{color:#526882;line-height:1.65;font-size:13px}
.jb-reviews-section[data-jb-review-section] .jb-reviews-heading{display:block!important;visibility:visible!important;opacity:1!important}
.jb-reviews-section[data-jb-review-section] .jb-reviews-heading h2{font-family:Inter,Arial,sans-serif!important;color:#0c2344!important}
.jb-reviews-section[data-jb-review-section] .jb-reviews-heading-rule{background:#1e5aa0!important}
@media(max-width:1399px){.jb-reviews-section[data-jb-review-section] .jb-review-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1060px){.jb-reviews-section[data-jb-review-section] .jb-review-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:820px){.jb-reviews-section[data-jb-review-section] .jb-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.jb-reviews-section[data-jb-review-section] .jb-review-grid{grid-template-columns:minmax(0,1fr)!important}}
