/* UNIFIED HERO — iLogist
   Universal hero для всіх сторінок (case, kontakty, uslugy, blog тощо).
   BG-image задається inline через CSS-var: style="--uh-bg: url('/images/foo.webp')"
*/
:root {
  --uh-dk:  #07090d;
  --uh-dk2: #0d1117;
  --uh-gd:  #ef9f27;
  --uh-gd-dim: rgba(239,159,39,0.1);
  --uh-gd-b:   rgba(239,159,39,0.25);
  --uh-w08: rgba(255,255,255,0.08);
  --uh-w40: rgba(255,255,255,0.4);
  --uh-w60: rgba(255,255,255,0.6);
  --uh-D: 'Bebas Neue', sans-serif;
  --uh-S: 'Poppins', sans-serif;
}

.uh-hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--uh-dk);
  font-family: var(--uh-S); color: #fff;
}
.uh-bg {
  position: absolute; inset: 0;
  background-image: var(--uh-bg, none);
  background-size: cover; background-position: center;
  animation: uhz 20s ease-in-out infinite alternate;
  filter:brightness(0.45) saturate(0.7);
}
@keyframes uhz { from { transform: scale(1.02); } to { transform: scale(1.07); } }
.uh-ov {
  position: absolute; inset: 0;
  background: linear-gradient(110deg,rgba(7,9,13,0.67) 38%,rgba(7,9,13,0.62) 65%,rgba(7,9,13,0.1) 100%);
}
.uh-glow {
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239,159,39,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
}
.uh-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 120px 48px 40px;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.uh-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--uh-gd-dim);
  border: 1px solid var(--uh-gd-b);
  color: var(--uh-gd);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 18px;
  align-self: flex-start;
}
.uh-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--uh-gd); animation: uhp 2s infinite;
}
@keyframes uhp { 0%,100%{opacity:1} 50%{opacity:0.3} }

.uh-hero h1 {
  font-family: var(--uh-D);
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.9; color: #fff;
  letter-spacing: 0.04em;
  margin: 0 0 12px; font-weight: 400;
  overflow-wrap: anywhere; word-break: break-word;
}
.uh-hero h1 em { font-style: normal; color: var(--uh-gd); }
.uh-sub {
  font-size: 16px; font-weight: 300;
  color: var(--uh-w60); line-height: 1.7;
  max-width: 580px; margin: 0 0 32px;
}
.uh-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-uhg {
  background: var(--uh-gd); color: var(--uh-dk);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 28px; border: none; cursor: pointer;
  transition: opacity .2s; text-decoration: none; display: inline-block;
}
.btn-uhg:hover { opacity: 0.88; color: var(--uh-dk); text-decoration: none; }
.btn-uho {
  background: transparent; color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer; transition: border-color .2s;
  text-decoration: none; display: inline-block;
}
.btn-uho:hover { border-color: rgba(255,255,255,0.5); color: #fff; text-decoration: none; }

@media (max-width: 991px) {
  .uh-inner { padding: 100px 24px 40px; }
}
@media (max-width: 575px) {
  .uh-bg { animation: none; transform: none; }
}
