/* Client references, using the site's established orange and ink palette. */
header .links .referencesNav { white-space: nowrap; }
header .links .referencesNav[aria-current="page"] { color: var(--brand-orange, #fb8f1e) !important; }
.referencesPage { background: #f8f7f4; }
.referencesPage .pageShell { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 72px; }
.referencesPage .backLink { margin-bottom: 26px; }
.refIntro { max-width: 860px; margin-bottom: 38px; }
.refEyebrow { margin: 0 0 12px; color: #934404; font-size: 12px; line-height: 1.6; letter-spacing: .15em; font-weight: 800; text-transform: uppercase; }
.referencesPage .refIntro h1 { margin: 0 0 20px; color: #0c1f26; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -.045em; font-weight: 900; }
.refIntro p:last-child { margin: 0; max-width: 790px; color: #4a5960; font-size: 19px; line-height: 1.75; }
.refGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.refCard { min-width: 0; background: #fff; border: 1px solid #dce1e2; border-radius: 16px; overflow: hidden; }
.refLogo { display: flex; align-items: center; justify-content: center; height: 182px; padding: 26px; background: #fff; border-bottom: 1px solid #e9ecec; }
.refLogo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 124px; object-fit: contain; }
.refLogoBadel { background: #0c1f26; }
.refLogoBadel img { width: 210px; }
.refLogoOpel img { width: 144px; }
.refLogoHajduk img { max-height: 136px; }
.refLogoHajduk img { width: 100%; height: 100%; max-width: 118px; object-fit: contain; }
.refLogoBarny img { width: 100%; max-width: 230px; }
.refLogoLth, .refLogoTt { background: #0c1f26; }
.refLogoLth img, .refLogoTt img { width: 100%; max-width: 240px; }
.refLogoFeal img { width: 100%; max-width: 210px; }
.refLogoNsoft img { width: 100%; max-width: 240px; }
.refLogoSarajevo img { width: 110px; height: 110px; object-fit: contain; }
.refLogoNordex img { width: 100%; max-width: 240px; }
.refLogoMostar img { width: 100%; max-width: 240px; }
.refLogoHajdukText { color: #184074; text-align: center; font-size: 33px; font-weight: 900; line-height: .98; letter-spacing: -.025em; }
.refLogoHajdukText span { display: block; margin-top: 8px; color: #d5282e; font-size: 13px; line-height: 1.4; letter-spacing: .14em; }
.refCardBody { padding: 22px 22px 24px; }
.refCard h2, .refCard h3 { margin: 0 0 8px; color: #0c1f26; font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.refCard p { margin: 0; color: #647178; font-size: 13px; line-height: 1.55; }
.refClosing { margin-top: 32px; padding: 21px 24px; border-left: 4px solid #fb8f1e; color: #4a5960; font-size: 16px; line-height: 1.75; background: #fff; }
.refClosing strong { color: #0c1f26; }
.refCta { margin-top: 46px; padding: 36px; background: #0c1f26; color: #fff; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.refCta h2 { margin: 0 0 12px; color: #fff; font-size: clamp(25px, 3.2vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
.refCta p { margin: 0; color: #d5e0e4; font-size: 16px; line-height: 1.7; max-width: 660px; }
.refCta .refCtaLinks { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.refCta .emailPrimary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 9px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.refCta .refContact { color: #fff; font-size: 14px; text-underline-offset: 4px; }
.refHome { padding: 62px 0; background: #fff; color: #0c1f26; border-top: 1px solid #e5e8e9; border-bottom: 1px solid #e5e8e9; }
.refHomeHeading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.refHome .refEyebrow { margin-bottom: 8px; }
.refHome h2 { margin: 0 0 12px; color: #0c1f26; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.refHomeIntro { margin: 0; color: #4a5960; font-size: 17px; line-height: 1.7; }
.refHomeMore { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 10px; min-height: 46px; padding: 10px 18px; color: #0c1f26; border: 1px solid #0c1f26; border-radius: 9px; font-size: 14px; font-weight: 800; text-decoration: none; }
.refHomeMore:hover { background: #fff3e5; border-color: #fb8f1e; }
.refHome .refLogo { height: 144px; padding: 22px; }
.refHome .refLogo img { max-height: 104px; }
.refHome .refCardBody { padding: 18px; }
.refHome .refCard h3 { font-size: 19px; margin-bottom: 0; }
.referencesPage a:focus-visible, .refHome a:focus-visible { outline: 3px solid #145d87; outline-offset: 5px; }
@media (max-width: 1000px) {
  .refGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .refCta { align-items: flex-start; flex-direction: column; }
  .refCta .refCtaLinks { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .refHome { padding: 48px 0; }
  .refHomeHeading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .refHome .refGrid { gap: 12px; }
  .refHome .refLogo { height: 118px; padding: 17px; }
  .refHome .refLogo img { max-height: 84px; }
  .refHome .refCardBody { padding: 15px 13px; }
  .refHome .refCard h3 { font-size: 16px; }
  .refHome .refLogoHajdukText { font-size: 26px; }
  .referencesPage .pageShell { padding-top: 26px; }
  .refIntro p:last-child { font-size: 17px; }
  .referencesPage .refGrid { grid-template-columns: minmax(0, 1fr); }
  .referencesPage .refLogo { height: 190px; }
  .refClosing { padding: 18px 20px; }
  .refCta { padding: 26px; margin-top: 34px; }
}

/* Full public directory: names only, with progressive search. */
.refDirectory { margin-top: 48px; scroll-margin-top: 180px; }
.refDirectoryHeading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.refDirectoryHeading h2 { margin: 0; color: #0c1f26; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
.refDirectoryHeading p { margin: 0; color: #68767d; font-size: 14px; }
.refTools { display: flex; align-items: flex-end; gap: 14px; max-width: 800px; }
.refSearchField { flex: 1; min-width: 0; }
.refSearchField label { display: block; margin-bottom: 8px; color: #253c45; font-size: 14px; font-weight: 700; }
.refSearchField input { width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid #c4ced2; border-radius: 9px; background: #fff; color: #0c1f26; font: 16px/1.4 Arial, Helvetica, sans-serif; }
.refSearchField input:focus-visible { outline: 3px solid #fb8f1e; outline-offset: 2px; border-color: #a94c00; }
.refClear { min-height: 50px; padding: 12px 17px; background: #fff; color: #253c45; border: 1px solid #c4ced2; border-radius: 9px; font: 700 14px/1.4 Arial, Helvetica, sans-serif; cursor: pointer; }
.refClear:focus-visible { outline: 3px solid #fb8f1e; outline-offset: 3px; }
.refResultCount { margin: 18px 0 14px; color: #68767d; font-size: 13px; }
.refNameList { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.refName { display: flex; align-items: center; min-width: 0; min-height: 68px; padding: 17px 18px; background: #fff; border: 1px solid #dde3e5; border-radius: 9px; color: #193640; font-size: 15px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.refNoResults { padding: 24px; border: 1px dashed #c4ced2; border-radius: 9px; color: #4a5960; background: #fff; }
.refName[hidden], .refTools[hidden], .refClear[hidden], .refNoResults[hidden] { display: none !important; }
@media (max-width: 900px) { .refNameList { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
 .refDirectory { margin-top: 34px; }
 .refDirectoryHeading { align-items: flex-start; flex-direction: column; gap: 7px; }
 .refTools { flex-direction: column; align-items: stretch; }
 .refNameList { grid-template-columns: minmax(0, 1fr); }
 .refName { min-height: 60px; padding: 15px 16px; }
 .referencesPage .refGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 .referencesPage .refLogo { height: 120px; padding: 18px; }
 .referencesPage .refLogo img { max-height: 90px; }
 .referencesPage .refCardBody { padding: 14px 12px; }
 .referencesPage .refCard h2 { font-size: 17px; margin: 0; }
 .referencesPage .refLogoHajdukText { font-size: 27px; }
}
