/* V74 frontend refinements */
.home-stats.v74-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  margin:-34px auto 34px;
  position:relative;
  z-index:3;
}
.v74-stat-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  padding:22px 18px;
  min-height:112px;
  border-radius:24px;
  border:1px solid rgba(7,34,59,.08);
  background:linear-gradient(180deg,#ffffff,#f6f9fc);
  box-shadow:0 22px 45px rgba(7,34,59,.08);
  overflow:hidden;
}
.v74-stat-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,var(--primary),var(--secondary));
}
.v74-stat-icon{
  width:58px;
  height:58px;
  flex:0 0 58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,rgba(227,6,32,.12),rgba(9,45,80,.08));
  color:var(--primary);
  font-size:26px;
}
.v74-stat-copy{display:flex;flex-direction:column;gap:6px}
.v74-stat-value{font-size:30px;font-weight:800;line-height:1;color:#0b1d33;letter-spacing:-.03em}
.v74-stat-label{font-size:12px;font-weight:800;letter-spacing:.12em;color:#58677b;text-transform:uppercase}
.v74-stat-card:hover{transform:translateY(-4px);transition:.25s ease;box-shadow:0 28px 60px rgba(7,34,59,.12)}

.refs.v74-ref-grid,
.v74-ref-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
}
.v74-ref-card{
  position:relative;
  background:#fff;
  border:1px solid rgba(7,34,59,.08);
  border-radius:24px;
  box-shadow:0 18px 40px rgba(7,34,59,.08);
  min-height:190px;
  padding:22px 20px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:14px;
}
.v74-ref-logo-box{
  width:100%;
  max-width:180px;
  height:76px;
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff,#f1f6fb);
  border:1px solid rgba(7,34,59,.07);
  display:grid;
  place-items:center;
  padding:14px;
}
.v74-ref-logo-box img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(9,26,45,.08))}
.v74-ref-monogram{
  width:60px;height:60px;border-radius:18px;display:grid;place-items:center;
  font-weight:800;font-size:24px;background:linear-gradient(135deg,#0b2e50,#e30620);color:#fff;letter-spacing:.04em;
}
.v74-ref-name{font-size:18px;font-weight:800;color:#0c1f34;line-height:1.3}
.v74-ref-meta{font-size:12px;color:#6d7b8f;text-transform:uppercase;letter-spacing:.12em}
.v74-ref-card::after{
  content:"";position:absolute;inset:auto 18px 0;height:4px;border-radius:999px;
  background:linear-gradient(90deg,var(--primary),var(--secondary));opacity:.16
}
.v74-ref-page .pagehero + .content{padding-top:10px}
.v74-ref-page .refs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}

@media (max-width:1180px){
  .home-stats.v74-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:-24px auto 28px}
}
@media (max-width:760px){
  .home-stats.v74-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px auto 24px}
  .v74-stat-card{padding:18px 16px;min-height:102px}
  .v74-stat-value{font-size:24px}
}
@media (max-width:520px){
  .home-stats.v74-stats{grid-template-columns:1fr}
}
