/* Business-unit hero (vallalatok, lakossag, finanszirozas, ingatlan).
   Each page sets --c (unit colour) and --deep (its dark shade) on :root. */
.bh { position:relative; margin-inline:-20px; background:#F6F7F5; overflow-x:clip; }
.bh-in { max-width:1160px; margin:0 auto; padding:0 20px; display:grid; grid-template-columns:55fr 45fr; align-items:center; gap:24px; min-height:540px; }
.bh-text { padding-block:12px 44px; position:relative; z-index:1; }

.bh-crumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14px; color:var(--muted); margin:0 0 22px; }
.bh-crumb a { color:inherit; text-decoration:none; }
.bh-crumb a:hover { color:var(--ink); text-decoration:underline; }
.bh-crumb [aria-current] { color:var(--ink); }
.bh-eyebrow { font-family:var(--display); font-weight:500; font-size:13px; letter-spacing:.24em; text-transform:uppercase; color:var(--deep); margin:0 0 14px; }
.bh h1 { font-family:var(--display); font-weight:400; font-size:clamp(38px, 5.4vw, 64px); line-height:1.08; margin:0; text-wrap:balance; }
.bh h1 .w { display:inline-block; overflow:hidden; vertical-align:bottom; padding-bottom:.06em; }
.bh h1 .w > span { display:inline-block; }
.bh-lead { font-size:clamp(17px, 1.8vw, 20px); color:var(--muted); max-width:48ch; margin:22px 0 0; }
.bh-cta { margin-top:30px; }
.bh-btn { display:inline-flex; align-items:center; min-height:48px; padding:0 26px; border-radius:999px; background:var(--deep); color:#fff; text-decoration:none; font-weight:600; font-size:16px;
  transition:filter .2s ease, transform .2s ease; }
.bh-btn:hover { filter:brightness(.9); transform:translateY(-1px); }
.bh-note { margin:12px 0 0; font-size:14px; color:var(--muted); }

/* Image: large, slightly overhanging the band's bottom and right edge */
.bh-art { position:relative; align-self:stretch; display:grid; place-items:center; margin:0 -48px -72px 0; }
.bh-art::before { content:""; position:absolute; inset:-6%; border-radius:50%;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--c) 13%, transparent), color-mix(in srgb, var(--c) 5%, transparent) 60%, transparent); }
/* multiply sits on the outermost transformed layer so the render's #F6F7F5 ground melts into the glow */
.bh-tilt { position:relative; width:min(620px, 100%); mix-blend-mode:multiply; transform:perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.bh-tilt picture, .bh-tilt img { display:block; width:100%; height:auto; }
/* the render's ground is ~#F7F7F5; lifting it to pure white makes multiply leave the backdrop untouched */
.bh-tilt img { filter:brightness(1.04); }
.bh-tilt img { -webkit-mask-image:linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite:source-in; mask-image:linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); mask-composite:intersect; }
.bh-anim .bh-float { animation:bh-float 7s ease-in-out 1.1s infinite; }
@keyframes bh-float { 0%, 100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }

@media (max-width:820px) {
  .bh-in { grid-template-columns:1fr; min-height:0; gap:0; padding-top:0; }
  .bh-art { order:-1; margin:0; justify-self:center; width:70vw; }
  .bh-tilt { width:100%; }
  .bh-text { padding-block:4px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bh-anim .bh-float { animation:none; }
  .bh-tilt, .bh-btn { transition:none; }
}
