/* =========================================================
   HUN-BAU V6 — sticky header, grant section, restored contact
   ========================================================= */
:root{
  --hb-section-space:104px;
}

/* All public anchors account for the fixed desktop header. */
#about,#szolgaltatasok,#szakmai-hatter,#projektek,#palyazat,#contact{
  scroll-margin-top:calc(var(--hb-header-h) + 18px);
}

/* Header starts light over the hero and becomes fixed/dark after scroll. */
.Hotelza-header-area{
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
}
.Hotelza-header-area.sticky,
.Hotelza-header-area.is-scrolled{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  background:var(--hb-dark) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.18) !important;
  animation:hbHeaderIn .28s ease both;
}
@keyframes hbHeaderIn{
  from{transform:translateY(-10px);opacity:.94}
  to{transform:translateY(0);opacity:1}
}
.Hotelza-header-area.is-scrolled .hunbau-brand a,
.Hotelza-header-area.is-scrolled .hunbau-brand span{color:#fff !important}
.Hotelza-header-area.is-scrolled .hunbau-desktop-nav ul li a{color:#F5F7F5 !important}
.Hotelza-header-area.is-scrolled .hunbau-desktop-nav ul li a:hover{color:#9AB0A5 !important}
.Hotelza-header-area.is-scrolled .hunbau-menu-toggle{border-left-color:rgba(255,255,255,.14) !important}
.Hotelza-header-area.is-scrolled .hunbau-menu-toggle a{color:#9AB0A5 !important}
.Hotelza-header-area.is-scrolled .hb-brand-logo-top{opacity:0;transform:scale(.94)}
.Hotelza-header-area.is-scrolled .hb-brand-logo-sticky{opacity:1;transform:scale(1)}

/* Unified vertical rhythm for all standard content sections. */
.about-section-one,
.our-room-suites-section-one,
.our-facilities-section-one,
.blog-section-one,
.hb-grant-section{
  margin:0 !important;
  padding:var(--hb-section-space) 0 !important;
}
.subcribe-section-one{margin:0 !important;padding:var(--hb-section-space) 0 !important}
.landing-contact-heading{padding:var(--hb-section-space) 0 48px !important}
.Hotelza-appoinment{padding:0 0 var(--hb-section-space) !important}
.contact-section{padding:var(--hb-section-space) 0 !important}

/* Custom headings participate in the template's existing SplitText animation. */
.hb-section-heading .split-line{overflow:hidden}

/* Restore the approved 3-column contact info design. */
.landing-contact-wrapper .Hotelza-appoinment{background:#F7F8F6 !important}
.landing-contact-wrapper .contact-info_item{row-gap:22px}
.landing-contact-wrapper .contact-service-box{
  height:100%;
}
.landing-contact-wrapper .contact-address span{
  overflow-wrap:anywhere;
}

/* Grant / funding section. */
.hb-grant-section{
  background:#F7F8F6;
  border-top:1px solid rgba(18,23,21,.08);
}
.hb-grant-heading{max-width:1180px;margin-bottom:46px}
.hb-grant-heading h2{
  max-width:1180px;
  font-size:clamp(36px,4vw,62px);
  line-height:1.08;
}
.hb-grant-banner-wrap{
  width:100%;
  max-width:none;
  margin:0 0 42px;
  padding:14px;
  background:#fff;
  border:1px solid rgba(18,23,21,.10);
  box-shadow:0 20px 50px rgba(18,23,21,.06);
}
.hb-grant-banner-wrap img{display:block;width:100%;height:auto}
.hb-grant-layout{
  display:grid;
  grid-template-columns:minmax(290px,360px) minmax(0,1fr);
  gap:62px;
  align-items:start;
}
.hb-grant-summary{
  position:sticky;
  top:calc(var(--hb-header-h) + 26px);
  border-top:2px solid var(--hb-green);
  background:#EEF1EE;
}
.hb-grant-fact{
  padding:21px 24px 22px;
  border-bottom:1px solid rgba(18,23,21,.09);
}
.hb-grant-fact span{
  display:block;
  margin-bottom:7px;
  color:#68716C;
  font-size:13px;
  line-height:1.4;
  font-weight:600;
  letter-spacing:.025em;
}
.hb-grant-fact strong{
  display:block;
  color:var(--hb-dark);
  font-family:var(--title-font);
  font-size:18px;
  line-height:1.35;
  font-weight:650;
}
.hb-grant-copy{max-width:860px}
.hb-grant-lead{
  padding-bottom:34px;
  margin-bottom:34px;
  border-bottom:1px solid rgba(18,23,21,.12);
}
.hb-grant-label{
  display:block;
  margin-bottom:12px;
  color:var(--hb-green);
  font-size:13px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hb-grant-lead h3{
  margin:0 0 24px;
  color:var(--hb-dark);
  font-size:27px;
  line-height:1.35;
  font-weight:650;
}
.hb-grant-lead p,
.hb-grant-text p{
  margin:0;
  color:#56615B;
  font-size:16px;
  line-height:1.82;
}
.hb-grant-text p + p{margin-top:25px}
.hb-doc-download{
  margin-top:38px;
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:15px 22px;
  border:1px solid rgba(47,107,87,.30);
  color:var(--hb-green) !important;
  background:#fff;
  font-size:14px;
  font-weight:650;
  transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;
}
.hb-doc-download:hover{
  background:var(--hb-green);
  border-color:var(--hb-green);
  color:#fff !important;
  transform:translateY(-2px);
}

/* Homepage grant infoblock from the supplied document. */
.hb-grant-floating{
  position:fixed;
  right:26px;
  bottom:26px;
  z-index:45;
  height:100px;
  width:auto;
  padding:7px;
  background:#fff;
  border:1px solid rgba(18,23,21,.14);
  box-shadow:0 16px 48px rgba(0,0,0,.20);
  transition:opacity .28s ease,transform .35s cubic-bezier(.2,.8,.2,1),visibility .28s ease;
}
.hb-grant-floating img{display:block;height:86px;width:auto;max-width:none}
.hb-grant-floating:hover{transform:translateY(-3px)}
.hb-grant-floating.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(18px);
}

.hb-footer-company-ids{
  margin-top:14px;
  color:rgba(255,255,255,.60);
  font-size:13px;
  line-height:1.65;
}

@media (max-width:1199px){
  :root{--hb-section-space:92px}
  .hb-grant-layout{grid-template-columns:300px minmax(0,1fr);gap:42px}
}
@media (max-width:991px){
  :root{--hb-section-space:76px}
  .hb-grant-layout{grid-template-columns:1fr;gap:36px}
  .hb-grant-summary{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-grant-fact{border-right:1px solid rgba(18,23,21,.09)}
  .hb-grant-floating{height:76px;right:14px;bottom:14px;padding:5px}
  .hb-grant-floating img{height:64px}
}
@media (max-width:575px){
  :root{--hb-section-space:64px}
  .hb-grant-heading{margin-bottom:34px}
  .hb-grant-banner-wrap{padding:8px;margin-bottom:30px}
  .hb-grant-summary{grid-template-columns:1fr}
  .hb-grant-fact{border-right:0}
  .hb-grant-lead h3{font-size:22px}
  .hb-grant-floating{height:64px;right:10px;bottom:10px}
  .hb-grant-floating img{height:52px}
}

/* Exact requested 100px outer height for the fixed funding banner. */
.hb-grant-floating{box-sizing:border-box}
.hb-grant-heading h2{text-transform:uppercase}
