/* Maria's Budapest — compact, image-led, low-scroll homepage. */
.marias-home-v2{
  --mbh-bg:#fff;
  --mbh-ink:#24211f;
  --mbh-muted:#625d58;
  --mbh-line:#ded8d2;
  --mbh-blue:#2f5f82;
  --mbh-blue-soft:#eef5f8;
  --mbh-warm:#f7ebe6;
  --mbh-accent:#c96a58;
  --mbh-shell:1280px;
  margin:0;
  background:var(--mbh-bg);
  color:var(--mbh-ink);
  font-family:"Source Sans 3",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.46;
}
.marias-home-v2 .mb-shell{width:min(var(--mbh-shell),calc(100% - 48px));margin-inline:auto}
.marias-home-v2 h1,.marias-home-v2 h2,.marias-home-v2 h3{font-family:inherit;color:var(--mbh-ink);font-weight:620;letter-spacing:-.035em}
.marias-home-v2 p{color:var(--mbh-muted)}
.marias-home-v2 a{color:inherit;text-underline-offset:4px}
.marias-home-v2 :focus-visible{outline:3px solid var(--mbh-blue);outline-offset:3px}

/* Header */
.mbh-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.96);border-bottom:1px solid var(--mbh-line);backdrop-filter:blur(12px)}
.mbh-header-inner{min-height:64px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}
.mbh-brand{display:block;width:142px;height:46px;background:url("brand/marias-budapest-logo.svg") center/132% auto no-repeat;text-decoration:none}
.mbh-nav{display:flex;justify-content:center;gap:26px}
.mbh-nav a,.mbh-lang,.mbh-text-button{font-size:.84rem;font-weight:620;text-decoration:none}
.mbh-nav a:hover,.mbh-lang:hover{text-decoration:underline}
.mbh-header-actions{display:flex;align-items:center;gap:16px}
.mbh-text-button{border:0;border-bottom:1px solid var(--mbh-ink);background:transparent;color:var(--mbh-ink);padding:4px 0;cursor:pointer}
.marias-home-v2 .mb-menu-toggle{display:none}

/* Hero: photo + useful information in one screen, not two oversized sections. */
.mbh-hero{padding:20px 0 28px;background:#fff}
.mbh-hero-grid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(360px,.82fr);min-height:600px;border-bottom:1px solid var(--mbh-line)}
.mbh-hero-photo{margin:0;min-height:600px;overflow:hidden;background:#efe7e2}
.mbh-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 52%}
.mbh-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:34px 0 34px 42px}
.mbh-hero-copy h1{max-width:12ch;margin:0;font-size:clamp(2.8rem,4.1vw,4.9rem);line-height:.96}
.mbh-hero-intro{max-width:46ch;margin:20px 0 0;font-size:1.03rem;line-height:1.5}
.mbh-hero-facts{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--mbh-line);font-size:.88rem;font-weight:610;color:var(--mbh-ink)!important}
.mbh-booking-proof{margin:12px 0 0;font-size:.86rem}
.mbh-booking-proof a{text-decoration:none}
.mbh-booking-proof strong{color:var(--mbh-ink)}

.mbh-datebar{display:grid;grid-template-columns:1fr 1fr .62fr;margin-top:22px;border:1px solid var(--mbh-ink)}
.mbh-datebar label{display:grid;gap:2px;padding:10px 11px}
.mbh-datebar label+label{border-left:1px solid var(--mbh-line)}
.mbh-datebar label span{font-size:.69rem;color:var(--mbh-muted)}
.mbh-datebar input,.mbh-datebar select{width:100%;min-width:0;border:0;background:transparent;color:var(--mbh-ink);font:inherit;outline:0}
.mbh-datebar button{grid-column:1/-1;border:0;border-top:1px solid var(--mbh-ink);background:var(--mbh-ink);color:#fff;padding:11px 16px;font:inherit;font-weight:650;cursor:pointer}
.mbh-datebar button:hover{background:#000}
.mbh-datebar p{grid-column:1/-1;margin:0;padding:8px 11px;font-size:.73rem;border-top:1px solid var(--mbh-line)}
.mbh-datebar p:empty{display:none}
.mbh-booking-link{margin:10px 0 0;font-size:.8rem}

/* Apartment: dense photo mosaic + factual list. */
.mbh-apartment{padding:52px 0 46px;background:#fff}
.mbh-section-head{display:grid;grid-template-columns:minmax(250px,.62fr) minmax(0,1.38fr);gap:52px;align-items:end;margin-bottom:24px}
.mbh-section-head h2{margin:0;font-size:clamp(2.2rem,3vw,3.4rem);line-height:1}
.mbh-section-head p{max-width:72ch;margin:0;font-size:1rem}

.mbh-gallery{display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:205px 205px;gap:8px}
.mbh-gallery figure{position:relative;margin:0;overflow:hidden;background:#f4eee9}
.mbh-gallery figure:first-child{grid-column:1/7;grid-row:1/3}
.mbh-gallery figure:nth-child(2){grid-column:7/10;grid-row:1}
.mbh-gallery figure:nth-child(3){grid-column:10/13;grid-row:1}
.mbh-gallery figure:nth-child(4){grid-column:7/9;grid-row:2}
.mbh-gallery figure:nth-child(5){grid-column:9/11;grid-row:2}
.mbh-gallery figure:nth-child(6){grid-column:11/13;grid-row:2}
.mbh-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.mbh-gallery figure:nth-child(5) img{object-position:center 55%}
.mbh-gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:20px 10px 8px;color:#fff;font-size:.77rem;font-weight:650;background:linear-gradient(transparent,rgba(0,0,0,.64))}
.mbh-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:18px 0 0;padding:0;border-top:1px solid var(--mbh-ink)}
.mbh-facts li{padding:9px 12px 9px 0;border-bottom:1px solid var(--mbh-line);font-size:.86rem}
.mbh-facts li:nth-child(4n+2),.mbh-facts li:nth-child(4n+3),.mbh-facts li:nth-child(4n+4){padding-left:12px;border-left:1px solid var(--mbh-line)}

/* Transport + parking + reviews in one compact band. */
.mbh-practical{padding:46px 0;background:var(--mbh-blue-soft);border-block:1px solid #d7e6ed}
.mbh-practical-grid{display:grid;grid-template-columns:1.08fr .96fr .78fr;gap:0}
.mbh-practical-block{padding:4px 34px 2px 0}
.mbh-practical-block+.mbh-practical-block{padding-left:34px;border-left:1px solid #c9dce5}
.mbh-practical-block h2{margin:0 0 12px;font-size:clamp(1.55rem,2.1vw,2.3rem);line-height:1.05}
.mbh-practical-block p{margin:0 0 12px;font-size:.9rem;line-height:1.5}
.mbh-practical-block>a{font-size:.84rem;font-weight:650}
.mbh-metro-mini{display:grid;grid-template-columns:auto auto 1fr auto 1fr auto 1fr auto;align-items:center;gap:8px;margin:17px 0 12px;color:var(--mbh-blue);font-size:.72rem}
.mbh-metro-mini strong{grid-column:1/-1;margin-bottom:2px;font-size:.78rem}
.mbh-metro-mini i{height:2px;background:var(--mbh-blue)}
.mbh-parking-pair{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0 10px}
.mbh-parking-pair img{width:100%;height:108px;object-fit:cover}
.mbh-rating{color:var(--mbh-ink)!important}
.mbh-rating strong{font-size:2.5rem;letter-spacing:-.05em;line-height:.9}
.mbh-rating span{font-size:.9rem}
.mbh-checked{font-size:.7rem!important}

/* Help: one compact closing area, no second large marketing CTA. */
.mbh-help{padding:48px 0;background:#fff}
.mbh-help-grid{display:grid;grid-template-columns:minmax(270px,.7fr) minmax(0,1.3fr);gap:56px;align-items:start}
.mbh-help h2{max-width:13ch;margin:0 0 12px;font-size:clamp(2rem,2.8vw,3rem);line-height:1.02}
.mbh-help-intro p{margin:0 0 4px}
.mbh-help-intro>a{font-weight:650}
.mbh-help-intro button{display:block;margin-top:18px;border:0;background:var(--mbh-accent);color:#fff;padding:11px 17px;font:inherit;font-weight:650;cursor:pointer}
.mbh-help-intro button:hover{filter:brightness(.94)}
.mbh-faq{border-top:1px solid var(--mbh-ink)}
.mbh-faq details{border-bottom:1px solid var(--mbh-line)}
.mbh-faq summary{cursor:pointer;padding:14px 38px 14px 0;font-weight:650}
.mbh-faq p{max-width:72ch;margin:0;padding:0 38px 14px 0;font-size:.9rem}

/* Existing request drawer, visually aligned with this page. */
.marias-home-v2 .mb-enquiry-sheet-head .mb-eyebrow{display:none}
.marias-home-v2 .mb-enquiry-drawer{background:#fff}
.marias-home-v2 .mb-enquiry-sheet{background:#fff!important}
.marias-home-v2 .mb-enquiry-sheet-head h2{font-family:inherit;font-weight:620;letter-spacing:-.035em}
.marias-home-v2 .mb-enquiry-form input,
.marias-home-v2 .mb-enquiry-form select,
.marias-home-v2 .mb-enquiry-form textarea{border-radius:0;background:#fff}
.marias-home-v2 .mb-enquiry-submit{background:var(--mbh-ink);border-color:var(--mbh-ink);color:#fff}

/* Footer */
.mbh-footer{padding:28px 0;background:var(--mbh-ink);color:#fff}
.mbh-footer-inner{display:grid;grid-template-columns:auto 1fr auto;gap:34px;align-items:center}
.mbh-footer p{max-width:52ch;margin:0;color:#d7d0cb;font-size:.85rem}
.mbh-footer nav{display:flex;gap:18px}
.mbh-footer nav a{color:#fff;font-size:.76rem;text-decoration:none}
.mbh-footer nav a:hover{text-decoration:underline}

@media(max-width:1040px){
  .mbh-hero-grid{grid-template-columns:1.2fr .8fr}
  .mbh-hero-copy{padding-left:30px}
  .mbh-practical-grid{grid-template-columns:1fr 1fr}
  .mbh-review{grid-column:1/-1;margin-top:28px;padding-top:24px!important;padding-left:0!important;border-left:0!important;border-top:1px solid #c9dce5}
}

@media(max-width:860px){
  .mbh-header-inner{grid-template-columns:auto auto 1fr}
  .marias-home-v2 .mb-menu-toggle{display:block}
  .mbh-nav{display:none;position:absolute;top:64px;left:0;right:0;padding:20px 24px;background:#fff;border-bottom:1px solid var(--mbh-line);flex-direction:column}
  .mbh-nav.is-open{display:flex}
  .mbh-header-actions{justify-self:end}
  .mbh-hero-grid{grid-template-columns:1fr;min-height:0}
  .mbh-hero-photo{min-height:0;height:54vw;max-height:470px}
  .mbh-hero-copy{padding:30px 0 32px}
  .mbh-hero-copy h1{max-width:14ch}
  .mbh-section-head{grid-template-columns:1fr;gap:12px}
  .mbh-help-grid{grid-template-columns:1fr;gap:28px}
}

@media(max-width:760px){
  .marias-home-v2 .mb-shell{width:calc(100% - 28px)}
  .mbh-header-inner{min-height:60px;gap:8px}
  .mbh-brand{width:126px;height:42px}
  .mbh-nav{top:60px;padding-inline:14px}
  .mbh-text-button{display:none}

  .mbh-hero{padding-top:10px}
  .mbh-hero-photo{height:65vw;min-height:270px}
  .mbh-hero-copy{padding:24px 0 26px}
  .mbh-hero-copy h1{font-size:clamp(2.45rem,11vw,3.6rem)}
  .mbh-hero-intro{font-size:.96rem}
  .mbh-datebar{grid-template-columns:1fr 1fr}
  .mbh-datebar label:nth-child(3){grid-column:1/-1;border-left:0;border-top:1px solid var(--mbh-line)}
  .mbh-datebar button{grid-column:1/-1}

  .mbh-apartment{padding:38px 0 34px}
  .mbh-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px;margin-inline:-14px;padding-inline:14px;scrollbar-width:none}
  .mbh-gallery::-webkit-scrollbar{display:none}
  .mbh-gallery figure,.mbh-gallery figure:first-child,.mbh-gallery figure:nth-child(n){flex:0 0 78vw;height:260px;grid-column:auto;grid-row:auto;scroll-snap-align:start}
  .mbh-gallery figure:nth-child(5){flex-basis:58vw}
  .mbh-facts{grid-template-columns:1fr 1fr;margin-top:14px}
  .mbh-facts li:nth-child(n){padding:8px 8px 8px 0;border-left:0}
  .mbh-facts li:nth-child(even){padding-left:10px;border-left:1px solid var(--mbh-line)}

  .mbh-practical{padding:34px 0}
  .mbh-practical-grid{grid-template-columns:1fr}
  .mbh-practical-block,.mbh-practical-block+.mbh-practical-block{padding:0 0 24px;border-left:0;border-bottom:1px solid #c9dce5}
  .mbh-practical-block+.mbh-practical-block{padding-top:24px}
  .mbh-review{grid-column:auto;margin-top:0!important;border-top:0!important;border-bottom:0!important;padding-bottom:0!important}
  .mbh-metro-mini{overflow-x:auto;grid-template-columns:auto auto 70px auto 70px auto 70px auto;white-space:nowrap}
  .mbh-parking-pair img{height:132px}

  .mbh-help{padding:36px 0}
  .mbh-footer-inner{grid-template-columns:1fr;gap:10px}
  .mbh-footer nav{flex-wrap:wrap}
}

@media(max-width:460px){
  .mbh-datebar{grid-template-columns:1fr}
  .mbh-datebar label,.mbh-datebar label:nth-child(2),.mbh-datebar label:nth-child(3){grid-column:1;border-left:0;border-top:1px solid var(--mbh-line)}
  .mbh-datebar label:first-child{border-top:0}
  .mbh-gallery figure,.mbh-gallery figure:first-child,.mbh-gallery figure:nth-child(n){flex-basis:84vw;height:235px}
  .mbh-facts{grid-template-columns:1fr}
  .mbh-facts li:nth-child(n){padding-left:0;border-left:0}
}

@media(prefers-reduced-motion:reduce){
  .marias-home-v2 *,.marias-home-v2 *::before,.marias-home-v2 *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
