/*
Theme Name: Budapest Fun
Theme URI: https://budapestfun.eu/
Template: iu_theme
Author: HelloProVision
Author URI: https://helloprovision.com/
Description: A Budapest Fun (budapestfun.eu) child témája: kültéri városi játékok és szabadulószobák Budapesten, magyarul és angolul. Látvány: a jóváhagyott előnézet (mejuma-tuscany.com stílusa az ügyfél színeivel), Bookeo-foglalás, kiemelhető programok.
Version: 0.3.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: budapestfun
*/

/* A jóváhagyott előnézet stílusa (budapestfun/src/style.css, bf- előtaggal), utána a WordPress-kiegészítések. */
:root {
  --navy: #0a2236;
  --navy-2: #102c45;
  --navy-3: #18405f;
  --blue: #2378b6;
  --blue-d: #1a5f92;
  --blue-l: #6fb3e6;
  --sky: #dbe6ef;
  --sky-2: #c7d6e3;
  --mist: #eef2f5;
  --white: #ffffff;
  --ink: #0a2236;
  --ink-2: #3a4e60;
  --ink-3: #5d7184;
  --line: rgba(10, 34, 54, .14);
  --line-l: rgba(255, 255, 255, .22);

  --f-display: "Fraunces", "Times New Roman", Georgia, serif;
  --f-text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.4vw, 20px);
  --r: 4px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 1rem/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Az iu_theme elemszinten színez (p, li): a saját blokkjainkban a szülő színe öröklődjön (sötét lábléc, menü) */
body p, body li, body ul, body ol, body dl, body dt, body dd, body figcaption { color: inherit; }
h1:not(.iu-heading), h2:not(.iu-heading), h3:not(.iu-heading), h4:not(.iu-heading), h5:not(.iu-heading), h6:not(.iu-heading) { color: inherit; }
body a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.bf-dark :focus-visible { outline-color: var(--blue-l); }
.bf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bf-skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.bf-skip:focus { top: 12px; }
.is-loading { overflow: hidden; }

.bf-px { padding-inline: var(--pad); }

/* ---------- tipográfia ---------- */
.bf-display, h1, h2, h3 { font-family: var(--f-display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(2.3rem, 5.2vw, 5rem); line-height: 1.02; text-wrap: balance; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.08; }
h2 em, .bf-display em { font-style: italic; font-weight: 300; }
p { margin: 0; text-wrap: pretty; }
.bf-label { display: block; font-size: .82rem; letter-spacing: .02em; color: var(--ink-3); margin-bottom: 1.2rem; }
.bf-dark .bf-label { color: rgba(255,255,255,.66); }
.bf-lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.bf-dark .bf-lead { color: rgba(255,255,255,.82); }
.bf-body { color: var(--ink-2); max-width: 46ch; }

/* ---------- gombok: kapszula + kör nyíl (mejuma) ---------- */
.bf-btn { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; border: 0; background: none; padding: 0; white-space: nowrap; }
.bf-btn__txt { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.35rem; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 500; font-size: .97rem; transition: background-color .3s var(--ease); }
.bf-btn__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); transition: transform .45s var(--ease), background-color .3s var(--ease); }
.bf-btn__ico svg { width: 18px; height: 18px; }
.bf-btn:hover .bf-btn__txt, .bf-btn:hover .bf-btn__ico { background: var(--blue-d); }
.bf-btn:hover .bf-btn__ico { transform: rotate(-45deg); }
.bf-btn--light .bf-btn__txt, .bf-btn--light .bf-btn__ico { background: var(--white); color: var(--ink); }
.bf-btn--light:hover .bf-btn__txt, .bf-btn--light:hover .bf-btn__ico { background: var(--sky); }
.bf-btn--ghost .bf-btn__txt { background: transparent; box-shadow: inset 0 0 0 1px currentColor; color: inherit; }
.bf-btn--ghost .bf-btn__ico { background: transparent; box-shadow: inset 0 0 0 1px currentColor; color: inherit; }
.bf-btn--ghost:hover .bf-btn__txt, .bf-btn--ghost:hover .bf-btn__ico { background: rgba(255,255,255,.12); }
.bf-btn--sm .bf-btn__txt { min-height: 40px; padding: 0 1.05rem; font-size: .9rem; }
.bf-btn--sm .bf-btn__ico { width: 40px; height: 40px; }
.bf-icon-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s, color .3s; }
.bf-icon-btn svg { width: 18px; height: 18px; }
.bf-icon-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.bf-icon-btn:disabled { opacity: .35; pointer-events: none; }
.bf-dark .bf-icon-btn { border-color: var(--line-l); }
.bf-dark .bf-icon-btn:hover { background: var(--white); color: var(--ink); }

/* ---------- betöltő ---------- */
.bf-loader { position: fixed; inset: 0; z-index: 200; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.bf-loader__word { font: 300 clamp(2.6rem, 6vw, 5.2rem)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.01em; display: flex; overflow: hidden; padding: .1em 0; }
.bf-loader__word span { display: inline-block; white-space: pre; }
.bf-loader__bar { position: absolute; left: 50%; bottom: 12vh; width: 140px; height: 1px; background: rgba(255,255,255,.2); transform: translateX(-50%); overflow: hidden; }
.bf-loader__bar i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
html:not(.has-js) .bf-loader, .reduce .bf-loader { display: none; }

/* ---------- fejléc: logó + kapszula-menü ---------- */
.bf-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px var(--pad); pointer-events: none; transition: transform .6s var(--ease); }
.bf-header > * { pointer-events: auto; }
.bf-header.is-hidden { transform: translateY(-120%); }
.bf-logo { position: fixed; z-index: 101; top: 22px; left: var(--pad); display: inline-flex; flex-direction: column; color: var(--white); line-height: 1; mix-blend-mode: difference; transition: transform .6s var(--ease), opacity .4s; }
.bf-logo.is-hidden { transform: translateY(-140%); }
html.is-loading .bf-logo { opacity: 0; }
.bf-logo b { font: 300 1.65rem/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.01em; }
.bf-logo small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.bf-pill { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(238, 242, 245, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 6px 30px rgba(10, 34, 54, .12); }
.bf-pill a { padding: .62rem 1rem; border-radius: 999px; font-size: .93rem; color: var(--ink); transition: background-color .25s, color .25s; }
.bf-pill a:hover, .bf-pill a[aria-current="true"] { background: var(--navy); color: var(--white); }
.bf-menu-toggle { display: none; align-items: center; gap: 4px; border: 0; background: none; padding: 0; cursor: pointer; }
.bf-menu-toggle span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.05rem; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .9rem; }
.bf-menu-toggle i { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); }
.bf-menu-toggle i::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--white); transition: transform .4s var(--ease); }
.bf-menu-toggle[aria-expanded="true"] i::before { transform: scale(2.4); }
.bf-header__end { justify-self: end; display: flex; align-items: center; gap: 12px; }
.bf-lang { display: flex; padding: 4px; border-radius: 999px; background: rgba(238, 242, 245, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: .82rem; }
.bf-lang span, .bf-lang a { display: grid; place-items: center; min-width: 34px; height: 32px; border-radius: 999px; color: var(--ink); }
.bf-lang span { background: var(--navy); color: var(--white); }

/* mobil menü */
.bf-mmenu { position: fixed; inset: 0; z-index: 90; background: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 100px var(--pad) calc(28px + env(safe-area-inset-bottom)); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden; }
.bf-mmenu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.bf-mmenu nav { display: grid; }
.bf-mmenu nav a { font: 300 clamp(2.4rem, 11vw, 3.6rem)/1.12 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; border-bottom: 1px solid var(--line-l); padding: .2em 0; }
.bf-mmenu__foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 28px; font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- hero ---------- */
.bf-hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; color: var(--white); background: var(--navy); }
.bf-hero__media { position: absolute; inset: 0; }
.bf-hero__media video, .bf-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.bf-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6,22,36,.45) 0%, rgba(6,22,36,.08) 30%, rgba(6,22,36,.18) 55%, rgba(6,22,36,.78) 100%); }
.bf-hero__inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) clamp(18px, 3vw, 36px); }
.bf-hero__title { display: block; width: max-content; font: 300 1em/0.86 var(--f-display); font-size: 16vw; font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; white-space: nowrap; margin: 0 0 clamp(14px, 2.4vw, 32px); }
.bf-hero__title .bf-ch { display: inline-block; will-change: transform; }
.bf-hero__title .bf-sp { display: inline-block; width: .22em; }
.bf-hero__title .bf-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .04em; margin-bottom: -.04em; }
.bf-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.bf-hero__row p { max-width: 30rem; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.5; color: rgba(255,255,255,.9); }
.bf-hero__row p strong { display: block; font-weight: 500; color: var(--white); margin-bottom: .25rem; }
.bf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.bf-promo { position: absolute; z-index: 2; right: var(--pad); top: 96px; display: flex; align-items: center; gap: 12px; max-width: 340px; padding: 12px 12px 12px 18px; border-radius: 16px; background: rgba(10, 34, 54, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--white); font-size: .88rem; line-height: 1.4; border: 1px solid var(--line-l); }
.bf-promo b { color: var(--white); font-weight: 600; }
.bf-promo code { font-family: inherit; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--white); color: var(--ink); }
.bf-promo button { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); cursor: pointer; }
.bf-promo button svg { width: 14px; height: 14px; }
.bf-promo[hidden] { display: none; }
.bf-scroll-cue { position: absolute; left: 50%; bottom: clamp(18px, 3vw, 36px); transform: translateX(-50%); width: 1px; height: 0; }

/* ---------- bemutatkozás (mejuma: „Turnkey”) ---------- */
.bf-intro { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.bf-intro__text { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding-right: clamp(0px, 4vw, 80px); }
.bf-intro__text h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.08; }
.bf-intro__text .bf-body { margin-top: 1.4rem; }
.bf-intro__media { position: relative; margin-top: clamp(-14rem, -16vw, -6rem); z-index: 2; }
.bf-intro__media .bf-frame { aspect-ratio: 4 / 5; }
.bf-intro__media .bf-btn { position: absolute; right: 16px; bottom: 16px; }
.bf-intro__stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.bf-intro__stats div { display: grid; }
.bf-intro__stats b { font: 300 clamp(2.2rem, 3.4vw, 3.2rem)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; }
.bf-intro__stats span { font-size: .85rem; color: var(--ink-3); margin-top: 6px; }

/* képkeret: kivágásos megjelenés + belső parallax */
.bf-frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--navy-2); }
.bf-frame > img, .bf-frame > video { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }

/* ---------- kategóriák (webshop-szerű karusszel) ---------- */
.bf-shop { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.bf-shop__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.bf-shop__head h2 { max-width: 14ch; }
.bf-shop__nav { display: flex; align-items: center; gap: 10px; }
.bf-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-inline: var(--pad); padding-bottom: 4px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.bf-track::-webkit-scrollbar { display: none; }
.bf-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.bf-track.is-drag a { pointer-events: none; }
.bf-track > * { scroll-snap-align: start; flex: none; }
.bf-progress { position: relative; height: 1px; margin: clamp(1.5rem, 3vw, 2.4rem) var(--pad) 0; background: var(--line); }
.bf-progress i { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--navy); border-radius: 2px; transition: left .2s linear; }
.bf-dark .bf-progress { background: var(--line-l); }
.bf-dark .bf-progress i { background: var(--white); }

.bf-cat { position: relative; width: clamp(260px, 26vw, 400px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); color: var(--white); background: var(--navy-2); }
.bf-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bf-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,22,36,.85) 0%, rgba(6,22,36,.1) 50%, rgba(6,22,36,.25) 100%); }
.bf-cat__top { position: absolute; z-index: 1; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: .8rem; }
.bf-cat__top span { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bf-cat__body { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.bf-cat__body h3 { font-size: clamp(1.6rem, 2.2vw, 2.15rem); }
.bf-cat__body p { font-size: .9rem; color: rgba(255,255,255,.8); margin-top: 6px; }
.bf-cat__body .bf-btn__ico { flex: none; background: var(--white); color: var(--ink); }
.bf-cat:hover img { transform: scale(1.06); }
.bf-cat:hover .bf-btn__ico { transform: rotate(-45deg); }

/* ---------- kiemelt programok ---------- */
.bf-featured { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem); background: var(--white); overflow: hidden; }
.bf-marquee { display: flex; white-space: nowrap; overflow: hidden; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bf-marquee__inner { display: flex; flex: none; will-change: transform; }
.bf-marquee__inner span { font: 300 clamp(4rem, 11vw, 10.5rem)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; padding-right: .35em; }
.bf-marquee__inner span em { font-style: italic; color: var(--blue); }
.bf-featured__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(1.4rem, 2.6vw, 2rem); }
.bf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-chip { min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .93rem; transition: background-color .25s, color .25s, border-color .25s; }
.bf-chip:hover { border-color: var(--navy); }
.bf-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.bf-chip small { opacity: .6; margin-left: 4px; }

.bf-prog { display: flex; flex-direction: column; width: clamp(280px, 30vw, 440px); background: var(--mist); border-radius: var(--r); overflow: hidden; }
.bf-prog[hidden] { display: none; }
.bf-prog__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.bf-prog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bf-prog__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: .78rem; font-weight: 500; }
.bf-prog__badge--light { background: var(--white); color: var(--ink); }
.bf-prog__type { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10,34,54,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-size: .78rem; }
.bf-prog__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; flex: 1; }
.bf-prog__title { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bf-prog__title h3 { font-size: clamp(1.45rem, 1.9vw, 1.8rem); }
.bf-prog__title h3 small { font: 400 .72rem var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-left: .4em; vertical-align: .35em; }
.bf-prog__title .bf-btn__ico { flex: none; width: 40px; height: 40px; }
.bf-prog dl { display: grid; gap: 4px; margin: 0; font-size: .9rem; }
.bf-prog dl div { display: flex; justify-content: space-between; gap: 16px; }
.bf-prog dt { color: var(--ink-3); }
.bf-prog dd { margin: 0; text-align: right; }
.bf-prog:hover .bf-prog__img img { transform: scale(1.05); }
.bf-prog:hover .bf-btn__ico { transform: rotate(-45deg); }
.bf-featured__note { margin: 1rem var(--pad) 0; font-size: .85rem; color: var(--ink-3); }

.bf-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin: clamp(2.5rem, 5vw, 4rem) var(--pad) 0; padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 3vw, 2.6rem); border-radius: var(--r); background: var(--blue); color: var(--white); }
.bf-band p { font: 300 clamp(1.6rem, 2.8vw, 2.6rem)/1.1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; }

/* ---------- hogyan működik (mejuma: folyamat-lista) ---------- */
.bf-how { background: var(--sky); padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.bf-how__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.bf-how__head h2 { max-width: 13ch; }
.bf-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bf-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(1.2rem, 2.4vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.bf-step__name { display: flex; align-items: baseline; gap: 14px; font: 300 clamp(2.6rem, 6vw, 5.6rem)/1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; transition: transform .6s var(--ease), color .3s; }
.bf-step__name small { font: 400 .8rem var(--f-text); color: var(--ink-3); }
.bf-step p { color: var(--ink-2); max-width: 44ch; }
.bf-step:hover .bf-step__name { transform: translateX(14px); color: var(--blue-d); }
.bf-step__thumb { display: none; }
.bf-cursor-img { position: fixed; z-index: 50; left: 0; top: 0; width: clamp(220px, 22vw, 340px); aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s var(--ease), transform .35s var(--ease); box-shadow: 0 20px 50px rgba(10,34,54,.3); }
.bf-cursor-img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.bf-cursor-img img { width: 100%; height: 100%; object-fit: cover; }

/* videó-kártya (YouTube, új lapon) */
.bf-video-card { position: relative; display: block; width: min(100%, 420px); border-radius: var(--r); overflow: hidden; color: var(--white); }
.bf-video-card .bf-frame { display: block; aspect-ratio: 16 / 9; }
.bf-video-card .bf-frame > img { top: 0; height: 100%; transition: transform .8s var(--ease); }
.bf-video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,22,36,.75), rgba(6,22,36,.05) 60%); }
.bf-video-card__play { position: absolute; z-index: 1; left: 50%; top: 45%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); transition: transform .4s var(--ease); }
.bf-video-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
.bf-video-card__txt { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-size: .92rem; font-weight: 500; }
.bf-video-card:hover .bf-frame > img { transform: scale(1.05); }
.bf-video-card:hover .bf-video-card__play { transform: scale(1.1); }

/* ---------- nagy kijelentés ---------- */
.bf-statement { padding-block: clamp(5rem, 11vw, 10rem); text-align: center; }
.bf-statement p { font: 300 clamp(2.2rem, 5.4vw, 5.4rem)/1.08 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.015em; max-width: 18ch; margin-inline: auto; }
.bf-statement .bf-w { display: inline-block; }
.bf-statement .bf-pic { display: inline-block; width: 1.6em; height: .82em; border-radius: 999px; overflow: hidden; vertical-align: -.06em; margin: 0 .08em; background: var(--navy-2); }
.bf-statement .bf-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- a város: vízszintes képsor (asztalon rögzítve görgetésre fut) ---------- */
.bf-city { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.bf-city__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 3vw, 2.5rem); padding-block: clamp(4rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.bf-city .bf-label { color: rgba(255,255,255,.66); }
.bf-city__track { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding-inline: var(--pad); will-change: transform; }
.bf-city__item { flex: none; margin: 0; }
.bf-city__item .bf-frame { height: clamp(260px, 52vh, 620px); aspect-ratio: 3 / 2; }
.bf-city__item--wide .bf-frame { aspect-ratio: 16 / 9; }
.bf-city__item--tall .bf-frame { aspect-ratio: 4 / 5; }
.bf-city__item .bf-frame > img { top: 0; left: -6%; width: 112%; height: 100%; }
.bf-city figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; font: 300 clamp(1.1rem, 1.5vw, 1.4rem)/1.2 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; }
.bf-city figcaption span { font: 400 .78rem var(--f-text); color: rgba(255,255,255,.6); }

/* ---------- miért mi: teljes képernyős videó, futó felirat, kártyák ---------- */
.bf-why { position: relative; min-height: 100svh; color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(5rem, 9vw, 8rem); }
.bf-why__media { position: absolute; inset: 0; }
.bf-why__media video, .bf-why__media img { width: 100%; height: 100%; object-fit: cover; }
.bf-why__media::after { content: ""; position: absolute; inset: 0; background: rgba(6, 22, 36, .45); }
.bf-why .bf-marquee { position: relative; z-index: 1; color: var(--white); }
.bf-why .bf-marquee__inner span em { color: var(--blue-l); }
.bf-why__cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.bf-why__card { padding: clamp(1.2rem, 2vw, 1.8rem); border-radius: var(--r); background: rgba(238,242,245,.94); color: var(--ink); min-height: 250px; display: flex; flex-direction: column; }
.bf-why__card .bf-label { margin-bottom: .5rem; }
.bf-why__card h3 { margin-bottom: auto; padding-bottom: 1.4rem; }
.bf-why__card p { font-size: .94rem; color: var(--ink-2); }

/* ---------- csoportoknak ---------- */
.bf-groups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding-block: clamp(4rem, 8vw, 7rem); }
.bf-groups__text { display: flex; flex-direction: column; padding-right: clamp(0px, 3vw, 60px); }
.bf-groups__text .bf-body { margin-top: 1.4rem; }
.bf-aud { margin: 2.2rem 0 2.4rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bf-aud button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; font: 300 clamp(1.5rem, 2.4vw, 2.2rem)/1.1 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--ink-3); transition: color .3s, padding .5s var(--ease); }
.bf-aud button svg { width: 22px; height: 22px; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease); }
.bf-aud button[aria-selected="true"], .bf-aud button:hover { color: var(--ink); padding-left: 10px; }
.bf-aud button[aria-selected="true"] svg { opacity: 1; transform: none; }
.bf-groups__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-content: center; }
.bf-gtile { position: relative; margin: 0; }
.bf-gtile .bf-frame { aspect-ratio: 4 / 3; transition: transform .7s var(--ease), opacity .5s var(--ease), filter .5s; }
.bf-gtile .bf-frame > img { top: 0; height: 100%; }
.bf-gtile:nth-child(2), .bf-gtile:nth-child(4) { transform: translateY(clamp(20px, 4vw, 56px)); }
.bf-gtile figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-3); transition: color .3s; }
.bf-groups__media.has-active .bf-gtile:not(.is-on) .bf-frame { opacity: .45; filter: grayscale(.6); }
.bf-gtile.is-on .bf-frame { transform: scale(1.02); }
.bf-gtile.is-on figcaption { color: var(--ink); }

/* ---------- ajándékutalvány ---------- */
.bf-gift { position: relative; height: clamp(520px, 90vh, 860px); overflow: hidden; color: var(--white); }
.bf-gift .bf-frame { position: absolute; inset: 0; border-radius: 0; }
.bf-gift .bf-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,22,36,.7) 0%, rgba(6,22,36,.25) 55%, rgba(6,22,36,.1) 100%); }
.bf-gift__card { position: absolute; z-index: 1; left: var(--pad); bottom: var(--pad); max-width: 560px; }
.bf-gift__card h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.bf-gift__card p { margin: 1rem 0 1.8rem; font-size: 1.15rem; color: rgba(255,255,255,.88); }

/* ---------- GYIK + kapcsolat ---------- */
.bf-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding-block: clamp(4rem, 8vw, 7rem); }
.bf-faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.bf-faq details { border-bottom: 1px solid var(--line); }
.bf-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 1.15rem 0; cursor: pointer; font: 300 clamp(1.3rem, 1.9vw, 1.7rem)/1.2 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; }
.bf-faq summary::-webkit-details-marker { display: none; }
.bf-faq summary i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, transform .4s var(--ease); }
.bf-faq summary i::before, .bf-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.bf-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.bf-faq details[open] summary i { background: var(--navy); color: var(--white); border-color: var(--navy); transform: rotate(180deg); }
.bf-faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.bf-faq .bf-answer { padding: 0 52px 1.3rem 0; color: var(--ink-2); }

.bf-contact { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--sky); }
.bf-contact__media { aspect-ratio: 16 / 7; }
.bf-contact__media.bf-frame { border-radius: 0; }
.bf-contact__body { padding: clamp(1.4rem, 3vw, 2.4rem); }
.bf-contact__body h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.bf-contact__body .bf-body { margin-top: .8rem; }
.bf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1.6rem; }
.bf-field { display: grid; gap: 6px; }
.bf-field--full { grid-column: 1 / -1; }
.bf-field label { font-size: .85rem; color: var(--ink-2); }
.bf-field input, .bf-field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid transparent; border-radius: 12px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.bf-field textarea { min-height: 120px; resize: vertical; }
.bf-field input:focus, .bf-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35,120,182,.2); }
.bf-field input[aria-invalid="true"] { border-color: #b3261e; }
.bf-err { color: #b3261e; font-size: .82rem; }
.bf-check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.bf-check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--blue); }
.bf-form__foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.bf-form__ok { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: 12px; background: var(--white); }
.bf-hp { position: absolute; left: -9999px; }

/* ---------- lábléc ---------- */
.bf-footer { background: var(--navy); color: var(--white); padding: clamp(3.5rem, 7vw, 6rem) 0 18px; overflow: hidden; }
.bf-footer__top { display: grid; grid-template-columns: 1.1fr .8fr .8fr 1.2fr; gap: clamp(1.5rem, 3vw, 3rem); }
.bf-footer__img { aspect-ratio: 16 / 10; max-width: 320px; }
.bf-footer h3, .bf-footer__h { font: 400 .8rem var(--f-text); color: rgba(255,255,255,.6); margin-bottom: .9rem; }
.bf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bf-footer ul a { font-size: 1.02rem; display: inline-block; padding: 3px 0; transition: color .2s; }
.bf-footer ul a:hover { color: var(--blue-l); }
.bf-footer .bf-big { font: 300 clamp(1.3rem, 1.8vw, 1.6rem)/1.35 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; }
.bf-footer .bf-big a:hover { color: var(--blue-l); }
.bf-socials { display: flex; gap: 8px; margin-top: 1rem; }
.bf-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); transition: background-color .25s, color .25s; }
.bf-socials a:hover { background: var(--white); color: var(--ink); }
.bf-socials svg { width: 18px; height: 18px; }
.bf-news form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .4rem; }
.bf-news form .bf-check, .bf-news form .bf-form__ok { flex-basis: 100%; }
.bf-news input[type=email] { flex: 1; min-width: 0; min-height: 48px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-l); background: transparent; color: var(--white); }
.bf-news input::placeholder { color: rgba(255,255,255,.55); }
.bf-news .bf-check { color: rgba(255,255,255,.7); font-size: .82rem; margin-top: 10px; }
.bf-news .bf-check a { text-decoration: underline; }
.bf-news .bf-form__ok { color: var(--ink); margin-top: 10px; }
.bf-footer__word { display: block; width: max-content; margin: clamp(2.5rem, 6vw, 5rem) 0 0; font: 300 1em/.82 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; white-space: nowrap; font-size: 16vw; }
.bf-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-l); font-size: .82rem; color: rgba(255,255,255,.65); }
.bf-footer__bottom a { text-decoration: underline; }
.bf-footer .bf-pay { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bf-pay li { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-l); font-size: .74rem; }

/* mobil alsó sáv */
.bf-mbar { display: none; }

/* ---------- mozgás nélküli / JS nélküli állapot ---------- */
.reduce .bf-frame > img, .reduce .bf-frame > video { top: 0; height: 100%; }
.reduce .bf-intro__media { margin-top: 0; }

/* ---------- töréspontok ---------- */
@media (max-width: 1100px) {
  .bf-pill, .bf-lang { display: none; }
  .bf-menu-toggle { display: inline-flex; justify-self: center; }
  .bf-header__end .bf-btn { display: none; }
  .bf-why__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .bf-city__pin { height: auto; }
  .bf-city__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .bf-city__track::-webkit-scrollbar { display: none; }
  .bf-city__item { scroll-snap-align: start; }
  .bf-city__item .bf-frame { height: 56vw; min-height: 240px; }
  .bf-hero__row { flex-direction: column; align-items: stretch; }
  .bf-hero__actions { justify-content: flex-start; }
  .bf-promo { top: 78px; left: var(--pad); right: var(--pad); max-width: none; }
  .bf-intro, .bf-groups, .bf-help { grid-template-columns: minmax(0, 1fr); }
  .bf-intro__media { margin-top: 0; order: -1; }
  .bf-intro__text { padding-right: 0; }
  .bf-step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bf-step__thumb { display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-top: 8px; }
  .bf-step__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .bf-cursor-img { display: none; }
  .bf-groups__media { order: -1; }
  .bf-shop__head { flex-direction: column; align-items: start; }
}
@media (max-width: 620px) {
  body { padding-bottom: 72px; }
  .bf-header { grid-template-columns: 1fr auto; }
  .bf-header > span { display: none; }
  .bf-menu-toggle { justify-self: end; grid-column: 2; }
  .bf-header__end { display: none; }
  .bf-hero__actions .bf-btn { flex: 1 1 auto; }
  .bf-hero__actions .bf-btn .bf-btn__txt { flex: 1; justify-content: center; }
  .bf-why__cards { grid-template-columns: minmax(0, 1fr); }
  .bf-why__card { min-height: 0; }
  .bf-form { grid-template-columns: minmax(0, 1fr); }
  .bf-footer__top { grid-template-columns: minmax(0, 1fr); }
  .bf-news form { flex-direction: column; }
  .bf-mbar { display: flex; gap: 8px; position: fixed; z-index: 80; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 999px; background: rgba(238,242,245,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(10,34,54,.2); transform: translateY(160%); transition: transform .5s var(--ease); }
  .bf-mbar.is-on { transform: none; }
  .bf-mbar .bf-btn { flex: 1; }
  .bf-mbar .bf-btn .bf-btn__txt { flex: 1; justify-content: center; }
  .bf-mbar a.bf-call { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); flex: none; }
  .bf-mbar a.bf-call svg { width: 18px; height: 18px; }
}

/* ======================================================================== WordPress-kiegészítések */

/* iu-tartalom: a jóváhagyott tipográfia (Fraunces címek, Golos szöveg) */
.iu-heading { font-family: var(--f-display); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.015em; color: var(--ink); }
.iu-heading em { font-style: italic; }
.iu-text, .iu-list-item { color: var(--ink-2); }
.iu-text a, .iu-list-item a { color: var(--blue-d); text-decoration: underline; text-underline-offset: 3px; }
.iu-text a:hover { color: var(--ink); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Teljes szélességű szakasz a téma saját blokkjainak (a blokk maga adja a belső margót) */
.iu-section.bf-bleed { padding: 0; }
.iu-section.bf-bleed > .iu-row, .iu-section.iu-section-fullwidth.bf-bleed > .iu-row { width: 100%; max-width: none; padding: 0; gap: 0; display: block; }
.iu-section.bf-bleed > .iu-row > .iu-column { width: 100%; }
main { display: block; }
header:empty, footer:empty { display: none; }

/* Belső oldalak fejléce */
.bf-page-hero { position: relative; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; }
.bf-page-hero .bf-frame { position: absolute; inset: 0; border-radius: 0; }
.bf-page-hero .bf-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,22,36,.82), rgba(6,22,36,.25) 60%, rgba(6,22,36,.4)); }
.bf-page-hero__inner { position: relative; z-index: 1; width: 100%; padding: 120px var(--pad) clamp(28px, 4vw, 56px); }
.bf-page-hero h1 { font: 300 clamp(2.8rem, 7.5vw, 7rem)/.95 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; color: var(--white); margin: 0; max-width: 16ch; }
.bf-page-hero .bf-label { color: rgba(255,255,255,.75); }
.bf-page-hero p.bf-lead { margin-top: 1rem; max-width: 40rem; color: rgba(255,255,255,.88); }
.bf-page-hero--plain { min-height: 0; background: var(--navy); }
.bf-page-hero--plain .bf-page-hero__inner { padding-top: 140px; }

/* Tartalmi (iu) szakaszok a belső oldalakon */
.bf-sec { padding-block: clamp(3rem, 7vw, 6rem); }
.bf-prose { max-width: 46rem; }
.bf-prose .iu-heading { margin: 2.2rem 0 .8rem; }
.bf-prose .iu-text { margin: 0 0 1rem; }
.bf-prose .iu-list { margin: 0 0 1.2rem; padding-left: 1.2rem; }

/* Programrács (programlista, beltéri szobák) */
.bf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.bf-grid .bf-prog { width: auto; }
.bf-grid-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.bf-grid-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.bf-grid + .bf-grid-head { margin-top: clamp(3rem, 6vw, 5rem); }
.bf-prog__ext { font-size: .8rem; color: var(--ink-3); }

/* Programoldal */
.bf-program { padding-bottom: clamp(3rem, 7vw, 6rem); }
.bf-program__layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad) 0; align-items: start; }
.bf-program__lead { font: 300 clamp(1.4rem, 2.2vw, 2rem)/1.25 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--ink); }
.bf-program__content { margin-top: 1.6rem; color: var(--ink-2); }
.bf-program__content p { margin: 0 0 1rem; }
.bf-program__aside { position: sticky; top: 100px; display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); background: var(--white); border-radius: var(--r); }
.bf-program__aside dl { display: grid; gap: 8px; margin: 0; }
.bf-program__aside dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.bf-program__aside dt { color: var(--ink-3); font-size: .9rem; }
.bf-program__aside dd { margin: 0; text-align: right; font-weight: 500; }
.bf-program__video { margin-top: 2rem; }
.bf-program__booking { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad) 0; }
.bf-program__booking h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1.4rem; }
.bf-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy); border: 0; padding: 0; cursor: pointer; color: var(--white); }
.bf-yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bf-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bf-yt:hover img { transform: scale(1.04); }

/* Foglaló (Bookeo) */
.bf-booking { min-height: 200px; }
.bf-booking-frame { min-height: 520px; background: var(--white); border-radius: var(--r); padding: 8px; }
.bf-booking-loading { padding: 2rem; color: var(--ink-3); }
.bf-booking-fallback { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--white); border-radius: var(--r); }
.bf-booking-fallback-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1rem; }
.bf-booking-alt { margin-top: .8rem; font-size: .9rem; color: var(--ink-3); }
.bf-booking-alt a { text-decoration: underline; }
.bf-admin-note { margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 8px; background: #fff4d6; color: #5c4400; font-size: .9rem; }
.bf-btn--ghost.bf-btn--dark .bf-btn__txt, .bf-booking-fallback .bf-btn--ghost .bf-btn__txt { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.bf-booking-fallback .bf-btn--ghost .bf-btn__ico { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }

/* Kapcsolat: az iu/form a kártyában */
.bf-contact .iu-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1.4rem; }
.bf-contact .iu-form-field { display: grid; gap: 6px; margin: 0; }
.bf-contact .iu-form-textarea, .bf-contact .iu-form-accept, .bf-contact .iu-form-foot, .bf-contact .iu-form-error-message, .bf-contact .iu-form-success-message { grid-column: 1 / -1; }
.bf-contact .iu-form-field label { font-size: .85rem; color: var(--ink-2); }
.bf-contact .iu-form input[type=text], .bf-contact .iu-form input[type=email], .bf-contact .iu-form textarea, .bf-contact .iu-form select { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid transparent; border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
.bf-contact .iu-form textarea { min-height: 120px; }
.bf-contact .iu-form input:focus, .bf-contact .iu-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35,120,182,.2); }
.bf-contact .iu-form-checkbox-wrap { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.bf-contact .iu-form-checkbox-input input { width: 22px; height: 22px; accent-color: var(--blue); }
.bf-contact .iu-form-checkbox-label a { text-decoration: underline; }
.bf-contact .iu-form-foot { justify-content: flex-end !important; }
.bf-contact .iu-form-submit.iu-button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 500; border: 0; }
.bf-contact .iu-form-submit.iu-button:hover { background: var(--blue-d); }
.bf-contact .iu-form-field-error-message, .bf-contact .iu-form-error-message { color: #b3261e; font-size: .85rem; }
.bf-contact .iu-form-success-message { padding: 1rem 1.2rem; border-radius: 12px; background: var(--white); }
.bf-help .iu-column > .bf-contact { height: 100%; }

/* 404 / keresés */
.bf-404 { min-height: 70vh; display: flex; align-items: center; }

@media (max-width: 1100px) {
  .bf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bf-program__layout { grid-template-columns: minmax(0, 1fr); }
  .bf-program__aside { position: static; }
}
@media (max-width: 620px) {
  .bf-grid { grid-template-columns: minmax(0, 1fr); }
  .bf-contact .iu-form { grid-template-columns: minmax(0, 1fr); }
}

/* Mobil menü: nyelvváltó a sötét háttéren (a 1100px alatti .bf-lang elrejtést felülírja) */
.bf-mmenu .bf-lang--menu { display: flex; background: rgba(255,255,255,.1); }
.bf-mmenu .bf-lang--menu a { color: var(--white); }
.bf-mmenu .bf-lang--menu span { background: var(--white); color: var(--navy); }

/* GYIK + kapcsolat (iu szakasz) */
.iu-section.bf-help-sec { padding-block: clamp(4rem, 8vw, 7rem); }
.bf-help-row { align-items: stretch; }
.bf-help-row > .iu-column { display: flex; flex-direction: column; }
.bf-help-row .bf-contact { flex: 1; gap: 0; }
.bf-help-row .bf-contact { display: grid; grid-template-rows: auto 1fr; }
.bf-contact .bf-contact__media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.bf-contact .bf-contact__media .iu-image-wrap { position: absolute; inset: 0; display: block; }
.bf-contact .bf-contact__media img { width: 100%; height: 100%; object-fit: cover; }
.bf-contact__body .iu-heading { margin: 0; }
.bf-contact__body .iu-text { margin: .8rem 0 0; }
.bf-contact__title[id] { scroll-margin-top: 110px; }

/* Kapcsolat oldal: elérhetőség */
.bf-contact-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.bf-contact-info .iu-text { margin: 0; }
.bf-contact-info .bf-label { margin-bottom: .4rem; }
.bf-contact-info .bf-big { font: 300 clamp(1.4rem, 2.2vw, 2rem)/1.3 var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--ink); }
.bf-contact-info .bf-big a { color: inherit; text-decoration: none; }
.bf-contact-info .bf-big a:hover { color: var(--blue-d); }
.iu-section.bf-contact-info-sec { padding-bottom: 0; }

/* Ajándékutalvány: tudnivalók */
.bf-sec-title { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.bf-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bf-checks .iu-list-item { position: relative; padding: 1rem 0 1rem 2.2rem; border-bottom: 1px solid var(--line); font-size: 1.15rem; color: var(--ink); }
.bf-checks .iu-list-item::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 1.2rem; height: .6rem; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.iu-section.bf-gift-facts { padding-bottom: 0; }

@media (max-width: 860px) {
  .bf-contact-info { grid-template-columns: minmax(0, 1fr); }
}

/* Programoldal: képgaléria (az ügyfél saját képei) */
.bf-program__gallery { align-items: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 2rem; }
.bf-program__gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.bf-program__gallery .bf-frame > img { top: 0; height: 100%; }
.bf-program__gallery .bf-program__gallery-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.bf-program__gallery .bf-program__gallery-tall { aspect-ratio: 3 / 4; }
.bf-program__gallery .bf-program__gallery-fill { aspect-ratio: auto; align-self: stretch; }
.bf-program__gallery .bf-program__gallery-span { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
@media (max-width: 620px) { .bf-program__gallery { grid-template-columns: minmax(0, 1fr); } .bf-program__gallery .bf-program__gallery-wide { aspect-ratio: 4 / 3; } .bf-program__gallery .bf-program__gallery-span { grid-row: auto; aspect-ratio: 3 / 4; } }

/* Logó görgetés közben és aloldalon: saját, matt hátterű kapszula (ne takarja / keveredjen a szöveggel) – 2026-10-20 */
html { overflow-x: clip; }
.bf-logo { border-radius: 999px; transition: transform .6s var(--ease), opacity .4s, background-color .35s, padding .35s, color .35s; }
.bf-logo.is-solid, .bf-logo--back { mix-blend-mode: normal; color: var(--ink); background: rgba(238, 242, 245, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 8px 16px 8px 14px; top: 16px; box-shadow: 0 6px 24px rgba(10, 34, 54, .12); }
.bf-logo.is-solid b { font-size: 1.25rem; }
.bf-logo.is-solid small { display: none; }
.bf-logo--back { flex-direction: row; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; }
.bf-logo--back > span:last-child { display: flex; flex-direction: column; }
.bf-logo--back b { font: 500 1rem/1.1 var(--f-text); letter-spacing: 0; }
.bf-logo--back small { margin-top: 2px; font-size: .62rem; }
.bf-logo__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); }
.bf-logo__ico svg { width: 16px; height: 16px; }
.bf-logo--back:hover .bf-logo__ico { background: var(--blue); }
@media (max-width: 860px) {
  /* telefonon a logó mindig a matt kapszulában (a hero világos képén se halványuljon el) */
  .bf-logo { mix-blend-mode: normal; color: var(--ink); background: rgba(238, 242, 245, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 8px 16px 8px 14px; top: 16px; box-shadow: 0 6px 24px rgba(10, 34, 54, .12); }
  .bf-logo b { font-size: 1.25rem; }
  .bf-logo small { display: none; }
  .bf-logo--back { padding: 6px 16px 6px 6px; }
  .bf-logo--back b { font-size: 1rem; }
  .bf-logo--back small { display: block; }
}
@media (max-width: 620px) {
  /* telefonon a karusszel kártyái kitöltik az oldal szélességét (az ügyfél kérése, 2026-10-20) – egyszerre egy kártya, lapozva */
  .bf-track .bf-prog, .bf-track .bf-cat { width: calc(100vw - 2 * var(--pad)); flex: none; scroll-snap-align: center; }
  .bf-track { gap: 12px; }
}

/* Jogi oldalak: visszafogottabb címsorok, olvasható szöveg */
.bf-prose h2.iu-heading { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 2rem 0 .6rem; }
.bf-prose .iu-text, .bf-prose .iu-list-item { font-size: 1rem; line-height: 1.65; }

/* Közös foglaló bővítmény (HelloProVision Foglalás: Bookeo + Barion) a Budapest Fun színeivel */
.bf-booking-hpv .hpv-bk { --hpv-bk-accent: var(--blue); --hpv-bk-accent-text: var(--white); --hpv-bk-surface: var(--white); --hpv-bk-border: var(--line); --hpv-bk-radius: var(--r); font-family: var(--f-text); color: var(--ink); }
.bf-booking-hpv .hpv-bk-btn:not(.is-secondary) { border-radius: 999px; }
.bf-booking-hpv .hpv-bk-step-box, .bf-booking-hpv .hpv-bk-status { padding: clamp(18px, 3vw, 30px); border-radius: var(--r); background: var(--white); }
