/* ==========================================================================
   BEGO — publikus téma. Egyetlen fájl, .bg-* előtag, tokenek a :root-ban.
   Módosítás után növeld a LAST_MOD-ot az index.php-ban (cache-buster).
   Töréspontok: 1200 (menü -> hamburger), 960, 720, 520
   ========================================================================== */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--bg-green-950: #021F08;
	--bg-green-900: #022E0B;
	--bg-green-800: #034A12;   /* a logó zöldje */
	--bg-green-700: #0A5E1D;
	--bg-green-600: #14772B;
	--bg-green-100: #E3F1E4;
	--bg-green-50:  #F1F8F1;
	--bg-lime:      #B5E58A;   /* kiemelés sötét háttéren */
	--bg-ink:       #171C19;
	--bg-charcoal:  #3D4240;   /* a logó szójele */
	--bg-body:      #3F4843;
	--bg-muted:     #6A746E;
	--bg-line:      #DCE3DC;
	--bg-paper:     #F4F6F3;
	--bg-white:     #FFFFFF;
	--bg-danger:    #B42318;

	--bg-font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
	--bg-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--bg-radius: 6px;
	--bg-radius-lg: 14px;
	--bg-shadow: 0 1px 2px rgba(23, 28, 25, .06), 0 8px 24px -12px rgba(23, 28, 25, .18);
	--bg-shadow-lg: 0 2px 4px rgba(23, 28, 25, .06), 0 24px 48px -20px rgba(2, 46, 11, .35);
	--bg-gutter: clamp(20px, 4vw, 40px);
	--bg-section: clamp(64px, 9vw, 120px);
	--bg-header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bg-header-h) + 16px); }
body { margin: 0; font-family: var(--bg-font-body); font-size: 17px; line-height: 1.65; color: var(--bg-body); background: var(--bg-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--bg-green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bg-green-800); }
h1, h2, h3, h4 { font-family: var(--bg-font-head); font-stretch: 112%; color: var(--bg-ink); line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--bg-green-600); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--bg-green-800); color: #fff; }
[hidden] { display: none !important; }

.bg-container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--bg-gutter); }
.bg-container--narrow { max-width: 860px; }
.bg-skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--bg-ink); color: #fff; padding: 10px 16px; border-radius: var(--bg-radius); }
.bg-skip:focus { top: 12px; color: #fff; }
.bg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bg-ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Gombok ---------- */
.bg-btn { --btn-bg: var(--bg-green-800); --btn-fg: #fff; --btn-bd: var(--bg-green-800); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 12px 24px; border: 2px solid var(--btn-bd); border-radius: var(--bg-radius); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--bg-font-head); font-stretch: 110%; font-weight: 650; font-size: .98rem; line-height: 1.2; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.bg-btn:hover { --btn-bg: var(--bg-green-900); --btn-bd: var(--bg-green-900); color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(2, 46, 11, .7); }
.bg-btn .bg-ic { transition: transform .2s; }
.bg-btn:hover .bg-ic { transform: translateX(3px); }
.bg-btn--light { --btn-bg: #fff; --btn-fg: var(--bg-green-900); --btn-bd: #fff; }
.bg-btn--light:hover { --btn-bg: var(--bg-lime); --btn-bd: var(--bg-lime); --btn-fg: var(--bg-green-950); }
.bg-btn--ghost { --btn-bg: transparent; --btn-fg: var(--bg-green-800); --btn-bd: var(--bg-line); }
.bg-btn--ghost:hover { --btn-bg: var(--bg-green-50); --btn-bd: var(--bg-green-800); --btn-fg: var(--bg-green-900); box-shadow: none; }
.bg-btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.bg-btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: #fff; --btn-fg: #fff; box-shadow: none; }
.bg-btn--sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.bg-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.bg-link { display: inline-flex; align-items: center; gap: .5em; font-family: var(--bg-font-head); font-stretch: 110%; font-weight: 650; font-size: .98rem; color: var(--bg-green-800); text-decoration: none; }
.bg-link .bg-ic { transition: transform .2s; }
.bg-link:hover .bg-ic { transform: translateX(4px); }
.bg-link--light { color: var(--bg-lime); }
.bg-link--light:hover { color: #fff; }

/* ---------- Címkék, szakaszok ---------- */
.bg-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--bg-font-head); font-stretch: 122%; font-weight: 650; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bg-green-700); }
.bg-eyebrow::before { content: ""; width: 22px; height: 12px; background: currentColor; clip-path: polygon(0 45%, 55% 0, 100% 55%, 45% 100%); flex: none; }
.bg-dark .bg-eyebrow, .bg-eyebrow--light { color: var(--bg-lime); }
.bg-section { padding-block: var(--bg-section); }
.bg-section--paper { background: var(--bg-paper); }
.bg-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.bg-section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.bg-section__head--split > div { max-width: 760px; }
.bg-section__head h2 { margin-bottom: 0; }
.bg-section__head p { margin: 18px 0 0; font-size: 1.08rem; color: var(--bg-muted); }
.bg-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--bg-body); }
.bg-dark { background: var(--bg-green-900); color: rgba(255, 255, 255, .82); position: relative; isolation: isolate; overflow: hidden; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark a:not(.bg-btn):not(.bg-link) { color: #fff; }

/* a logó izometrikus elemeiből épülő díszítés */
.bg-blocks { position: absolute; z-index: -1; pointer-events: none; color: #fff; opacity: .055; }
.bg-blocks svg { display: block; width: 100%; height: auto; }

/* ---------- Fejléc ---------- */
.bg-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.bg-header.is-stuck { border-bottom-color: var(--bg-line); box-shadow: 0 10px 30px -22px rgba(23, 28, 25, .5); }
.bg-header__in { display: flex; align-items: center; gap: 18px; min-height: var(--bg-header-h); }
.bg-header__logo { display: block; flex: none; line-height: 0; }
.bg-logo { display: block; height: 42px; width: auto; }
.bg-logo__word { fill: var(--bg-charcoal); }
.bg-logo__mark { fill: var(--bg-green-800); }
.bg-logo__slogan { font-family: var(--bg-font-head); font-stretch: 118%; font-weight: 600; font-size: 118px; fill: var(--bg-muted); }
.bg-logo--light .bg-logo__word { fill: #fff; }
.bg-logo--light .bg-logo__mark { fill: var(--bg-lime); }
.bg-logo--light .bg-logo__slogan { fill: rgba(255, 255, 255, .7); }

.bg-nav { margin-left: auto; }
.bg-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.bg-nav__item { position: relative; }
.bg-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 9px; border: 0; background: none; border-radius: var(--bg-radius); font-family: var(--bg-font-head); font-stretch: 100%; font-weight: 600; font-size: .9rem; color: var(--bg-ink); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .15s, background .15s; }
.bg-nav__link:hover, .bg-nav__item.is-active > .bg-nav__link { color: var(--bg-green-800); background: var(--bg-green-50); }
.bg-nav__link .bg-ic { width: 14px; height: 14px; transition: transform .2s; }
.bg-nav__toggle { display: none; }
.bg-nav__sub { position: absolute; left: 0; top: 100%; min-width: 290px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); box-shadow: var(--bg-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.bg-nav__item:hover > .bg-nav__sub, .bg-nav__item:focus-within > .bg-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.bg-nav__item:hover > .bg-nav__link .bg-ic { transform: rotate(180deg); }
.bg-nav__sub a { display: block; padding: 10px 14px; border-radius: var(--bg-radius); font-size: .93rem; font-weight: 500; color: var(--bg-body); text-decoration: none; line-height: 1.35; }
.bg-nav__sub a:hover { background: var(--bg-green-50); color: var(--bg-green-800); }
.bg-header__cta { flex: none; }
.bg-nav__cta { display: none; }
.bg-burger { display: none; width: 48px; height: 48px; margin-left: auto; padding: 0; border: 1px solid var(--bg-line); border-radius: var(--bg-radius); background: #fff; color: var(--bg-ink); cursor: pointer; align-items: center; justify-content: center; }
.bg-burger .bg-ic { width: 24px; height: 24px; }
.bg-burger .bg-ic--close { display: none; }

@media (max-width: 1260px) {
	:root { --bg-header-h: 72px; }
	.bg-logo { height: 38px; }
	.bg-burger { display: inline-flex; }
	.bg-header__cta { display: none; }
	.bg-nav { position: fixed; inset: var(--bg-header-h) 0 0 0; margin: 0; padding: 12px var(--bg-gutter) 40px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; border-top: 1px solid var(--bg-line); }
	.bg-nav-open .bg-nav { transform: none; visibility: visible; }
	.bg-nav-open { overflow: hidden; }
	.bg-nav-open .bg-burger .bg-ic--open { display: none; }
	.bg-nav-open .bg-burger .bg-ic--close { display: block; }
	.bg-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.bg-nav__item { border-bottom: 1px solid var(--bg-line); display: grid; grid-template-columns: 1fr auto; }
	.bg-nav__link { padding: 16px 4px; font-size: 1.08rem; white-space: normal; }
	.bg-nav__link:hover, .bg-nav__item.is-active > .bg-nav__link { background: none; }
	.bg-nav__link .bg-ic { display: none; }
	.bg-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 52px; border: 0; background: none; color: var(--bg-ink); cursor: pointer; }
	.bg-nav__toggle .bg-ic { transition: transform .2s; }
	.bg-nav__item.is-open .bg-nav__toggle .bg-ic { transform: rotate(180deg); }
	.bg-nav__sub { grid-column: 1 / -1; position: static; min-width: 0; padding: 0 0 12px 12px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.bg-nav__item.is-open > .bg-nav__sub { display: block; }
	.bg-nav__cta { display: block; margin-top: 24px; }
	.bg-nav__cta .bg-btn { width: 100%; }
}

/* ---------- Főoldali hero ---------- */
.bg-hero { position: relative; isolation: isolate; color: #fff; background: var(--bg-green-950); overflow: hidden; }
.bg-hero__photo { position: absolute; inset: 0; z-index: -2; }
.bg-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.bg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(2, 31, 8, .96) 0%, rgba(2, 46, 11, .9) 38%, rgba(3, 74, 18, .55) 68%, rgba(3, 74, 18, .25) 100%), linear-gradient(0deg, rgba(2, 31, 8, .75) 0%, rgba(2, 31, 8, 0) 35%); }
.bg-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(120px, 14vw, 190px); }
.bg-hero h1 { color: #fff; max-width: 13ch; margin-bottom: 26px; font-stretch: 116%; }
.bg-hero h1 em { font-style: normal; color: var(--bg-lime); }
.bg-hero__lead { max-width: 56ch; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.6; color: rgba(255, 255, 255, .86); margin-bottom: 36px; }
.bg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bg-hero__eu { display: block; width: clamp(220px, 24vw, 330px); border-radius: var(--bg-radius); overflow: hidden; background: #fff; box-shadow: var(--bg-shadow-lg); line-height: 0; transition: transform .2s; }
.bg-hero__eu:hover { transform: translateY(-3px); }
.bg-stats { position: relative; z-index: 2; margin-top: clamp(-90px, -8vw, -64px); }
.bg-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--bg-radius-lg); box-shadow: var(--bg-shadow-lg); overflow: hidden; }
.bg-stat { padding: clamp(22px, 3vw, 38px) clamp(18px, 2.6vw, 36px); border-left: 1px solid var(--bg-line); }
.bg-stat:first-child { border-left: 0; }
.bg-stat__num { display: block; font-family: var(--bg-font-head); font-stretch: 118%; font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1; letter-spacing: -.02em; color: var(--bg-green-800); margin-bottom: 10px; }
.bg-stat__label { display: block; font-size: .95rem; line-height: 1.4; color: var(--bg-muted); }
@media (max-width: 960px) {
	.bg-hero__in { grid-template-columns: 1fr; }
	.bg-hero__eu { width: 240px; }
	.bg-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.bg-stat:nth-child(3) { border-left: 0; }
	.bg-stat:nth-child(n+3) { border-top: 1px solid var(--bg-line); }
}
@media (max-width: 520px) {
	.bg-hero__actions .bg-btn { width: 100%; }
}

/* ---------- Aloldal fejléc ---------- */
.bg-phead { padding-block: clamp(48px, 7vw, 96px) clamp(44px, 6vw, 80px); }
.bg-phead--photo { background: var(--bg-green-950); }
.bg-phead__photo { position: absolute; inset: 0; z-index: -2; }
.bg-phead__photo img { width: 100%; height: 100%; object-fit: cover; }
.bg-phead--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(2, 31, 8, .96) 0%, rgba(2, 46, 11, .88) 45%, rgba(3, 74, 18, .5) 100%); }
.bg-phead h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 22ch; margin-bottom: 0; }
.bg-phead__lead { max-width: 62ch; margin: 22px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .84); }
.bg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.bg-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.bg-crumbs a { color: rgba(255, 255, 255, .78) !important; text-decoration: none; }
.bg-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.bg-phead .bg-blocks { right: -60px; top: -40px; width: min(46vw, 560px); }

/* ---------- Rács és kártyák ---------- */
.bg-grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.bg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .bg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .bg-grid--2, .bg-grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .bg-grid--4 { grid-template-columns: 1fr; } }

/* három pillér */
.bg-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--bg-line); }
.bg-pillar { padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 44px) 0 0; position: relative; }
.bg-pillar + .bg-pillar { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--bg-line); }
.bg-pillar__no { font-family: var(--bg-font-head); font-stretch: 120%; font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--bg-green-700); }
.bg-pillar h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 14px 0 12px; }
.bg-pillar p { margin: 0; color: var(--bg-muted); }
.bg-pillar::before { content: ""; position: absolute; left: 0; top: -2px; width: 64px; height: 3px; background: var(--bg-green-800); }
.bg-pillar + .bg-pillar::before { left: clamp(20px, 3vw, 44px); }
@media (max-width: 820px) {
	.bg-pillars { grid-template-columns: 1fr; border-top: 0; }
	.bg-pillar, .bg-pillar + .bg-pillar { padding: 28px 0 28px; border-left: 0; border-top: 1px solid var(--bg-line); }
	.bg-pillar + .bg-pillar::before { left: 0; }
}

/* szolgáltatás kártya */
.bg-svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.bg-svc:hover { transform: translateY(-4px); box-shadow: var(--bg-shadow-lg); border-color: transparent; color: inherit; }
.bg-svc__media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-green-900); overflow: hidden; }
.bg-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bg-svc:hover .bg-svc__media img { transform: scale(1.05); }
.bg-svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 31, 8, .55), rgba(2, 31, 8, 0) 55%); }
.bg-svc__icon { position: absolute; left: 22px; bottom: -26px; z-index: 2; width: 56px; height: 56px; display: grid; place-items: center; background: var(--bg-green-800); color: #fff; border-radius: var(--bg-radius); box-shadow: 0 10px 20px -8px rgba(2, 46, 11, .7); }
.bg-svc__icon .bg-ic { width: 28px; height: 28px; }
.bg-svc__body { display: flex; flex-direction: column; flex: 1; padding: 44px 24px 24px; }
.bg-svc__body h3 { margin-bottom: 10px; }
.bg-svc__body p { color: var(--bg-muted); font-size: .98rem; margin-bottom: 20px; }
.bg-svc__more { margin-top: auto; }
.bg-svc__count { font-size: .85rem; color: var(--bg-muted); margin-left: auto; }
.bg-svc__foot { margin-top: auto; display: flex; align-items: center; gap: 12px; }

/* referencia kártya */
.bg-ref { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: var(--bg-radius-lg); overflow: hidden; background: var(--bg-green-900); color: #fff; text-decoration: none; isolation: isolate; }
.bg-ref img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.bg-ref::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(2, 31, 8, .94) 0%, rgba(2, 31, 8, .55) 42%, rgba(2, 31, 8, .05) 75%); transition: opacity .3s; }
.bg-ref:hover { color: #fff; }
.bg-ref:hover img { transform: scale(1.06); }
.bg-ref__body { padding: 26px 26px 24px; }
.bg-ref__tag { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(181, 229, 138, .16); color: var(--bg-lime); font-family: var(--bg-font-head); font-stretch: 112%; font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.bg-ref h3 { color: #fff; margin-bottom: 8px; font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.bg-ref__meta { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .74); }
.bg-ref--wide { grid-column: span 2; }
@media (max-width: 720px) { .bg-ref--wide { grid-column: auto; } .bg-ref { min-height: 320px; } }

/* szűrő-chipek */
.bg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(28px, 3vw, 44px); padding: 0; list-style: none; }
.bg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--bg-line); border-radius: 99px; background: #fff; color: var(--bg-body); font-family: var(--bg-font-head); font-stretch: 108%; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; transition: all .18s; }
.bg-chip:hover { border-color: var(--bg-green-800); color: var(--bg-green-800); }
.bg-chip.is-active { background: var(--bg-green-800); border-color: var(--bg-green-800); color: #fff; }
.bg-chip__n { font-weight: 500; opacity: .65; font-size: .82rem; }

/* tömör referencia-lista */
.bg-worklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--bg-line); }
.bg-worklist li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 6px 32px; padding: 16px 0; border-bottom: 1px solid var(--bg-line); align-items: baseline; }
.bg-worklist__t { font-weight: 600; color: var(--bg-ink); }
.bg-worklist__t a { color: inherit; text-decoration: none; }
.bg-worklist__t a:hover { color: var(--bg-green-800); text-decoration: underline; }
.bg-worklist__m { font-size: .93rem; color: var(--bg-muted); }
@media (max-width: 720px) { .bg-worklist li { grid-template-columns: 1fr; } }
.bg-group-title { display: flex; align-items: center; gap: 14px; margin: clamp(40px, 5vw, 64px) 0 20px; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.bg-group-title:first-child { margin-top: 0; }
.bg-group-title span { font-family: var(--bg-font-body); font-weight: 500; font-size: .9rem; color: var(--bg-muted); letter-spacing: 0; }

/* munkanem-lista (szolgáltatás oldal) */
.bg-items { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.bg-items > li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--bg-line); color: var(--bg-ink); line-height: 1.45; break-inside: avoid; }
.bg-items > li::before { content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 11px; background: var(--bg-green-800); clip-path: polygon(0 45%, 55% 0, 100% 55%, 45% 100%); }
.bg-items ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.bg-items ul li { padding: 3px 11px; border-radius: 99px; background: var(--bg-green-50); color: var(--bg-green-800); font-size: .86rem; font-weight: 500; }
@media (max-width: 720px) { .bg-items { grid-template-columns: 1fr; } }

/* kétoszlopos elrendezés ragadós oldalsávval */
.bg-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.bg-split--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.bg-split__aside { position: sticky; top: calc(var(--bg-header-h) + 24px); }
@media (max-width: 960px) { .bg-split, .bg-split--form { grid-template-columns: 1fr; } .bg-split__aside { position: static; } }

.bg-card { background: #fff; border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); padding: clamp(22px, 2.6vw, 34px); }
.bg-card--green { background: var(--bg-green-900); border-color: var(--bg-green-900); color: rgba(255, 255, 255, .84); }
.bg-card--green h3, .bg-card--green h4 { color: #fff; }
.bg-card--paper { background: var(--bg-paper); border-color: transparent; }
.bg-card h3 { margin-bottom: 14px; }

/* adatlista (cégadatok, referencia-adatok) */
.bg-dl { margin: 0; display: grid; gap: 0; }
.bg-dl > div { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1.4fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--bg-line); }
.bg-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.bg-dl dt { font-size: .86rem; color: var(--bg-muted); }
.bg-dl dd { margin: 0; font-weight: 600; color: var(--bg-ink); overflow-wrap: anywhere; }
.bg-card--green .bg-dl > div { border-color: rgba(255, 255, 255, .14); }
.bg-card--green .bg-dl dt { color: rgba(255, 255, 255, .62); }
.bg-card--green .bg-dl dd { color: #fff; }

/* ---------- Rólunk sáv a főoldalon ---------- */
.bg-about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.bg-about__text p { font-size: 1.08rem; }
.bg-values { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.bg-value { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--bg-radius-lg); background: rgba(255, 255, 255, .04); }
.bg-value__ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--bg-radius); background: rgba(181, 229, 138, .14); color: var(--bg-lime); }
.bg-value h3 { font-size: 1.12rem; margin: 2px 0 6px; }
.bg-value p { margin: 0; font-size: .96rem; color: rgba(255, 255, 255, .74); }
.bg-about .bg-blocks { left: -120px; bottom: -160px; width: 620px; }
@media (max-width: 960px) { .bg-about { grid-template-columns: 1fr; } }

/* ---------- Megrendelők ---------- */
.bg-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; background: var(--bg-line); border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); overflow: hidden; margin: 0; padding: 0; list-style: none; }
.bg-logos li { background: #fff; }
.bg-logos__cell { display: grid; place-items: center; height: 118px; padding: 22px 26px; color: var(--bg-charcoal); text-decoration: none; text-align: center; font-family: var(--bg-font-head); font-stretch: 108%; font-weight: 650; font-size: .95rem; line-height: 1.25; transition: background .2s; }
.bg-logos__cell img { max-height: 58px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
a.bg-logos__cell:hover { background: var(--bg-green-50); color: var(--bg-green-800); }
.bg-logos__cell:hover img { filter: none; opacity: 1; }
.bg-sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 960px) { .bg-sectors { grid-template-columns: 1fr; } }
.bg-sector__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--bg-radius); background: var(--bg-green-100); color: var(--bg-green-800); margin-bottom: 18px; }
.bg-sector p { color: var(--bg-muted); margin-bottom: 0; }

/* ---------- Dokumentumok ---------- */
.bg-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin: 0; padding: 0; list-style: none; }
.bg-doc { display: grid; grid-template-columns: auto 1fr; gap: 18px; height: 100%; padding: 22px; border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bg-doc:hover { border-color: var(--bg-green-800); box-shadow: var(--bg-shadow); transform: translateY(-2px); color: inherit; }
.bg-doc__ic { width: 50px; height: 60px; display: grid; place-items: center; border-radius: 5px; background: var(--bg-green-50); color: var(--bg-green-800); position: relative; }
.bg-doc__ic::after { content: "PDF"; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 3px; background: var(--bg-green-800); color: #fff; font-family: var(--bg-font-head); font-size: .6rem; font-weight: 700; letter-spacing: .08em; }
.bg-doc h3 { font-size: 1.04rem; margin: 0 0 6px; }
.bg-doc p { margin: 0; font-size: .9rem; color: var(--bg-muted); line-height: 1.45; }
.bg-doc__dl { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--bg-font-head); font-weight: 650; font-size: .86rem; color: var(--bg-green-800); }
.bg-doc__dl .bg-ic { width: 16px; height: 16px; }
.bg-dark .bg-doc { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #fff; }
.bg-dark .bg-doc:hover { border-color: var(--bg-lime); }
.bg-dark .bg-doc h3 { color: #fff; }
.bg-dark .bg-doc p { color: rgba(255, 255, 255, .68); }

/* ---------- Géppark ---------- */
.bg-machine { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); overflow: hidden; }
.bg-machine__media { aspect-ratio: 4 / 3; background: var(--bg-green-50); display: grid; place-items: center; color: var(--bg-green-800); overflow: hidden; }
.bg-machine__media img { width: 100%; height: 100%; object-fit: cover; }
.bg-machine__media .bg-ic { width: 72px; height: 72px; opacity: .35; stroke-width: 1.1; }
.bg-machine__body { padding: 22px 24px 24px; }
.bg-machine__cat { font-family: var(--bg-font-head); font-stretch: 116%; font-weight: 650; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bg-green-700); }
.bg-machine h3 { margin: 8px 0 10px; }
.bg-machine p { color: var(--bg-muted); font-size: .97rem; }
.bg-machine .bg-dl > div { padding: 8px 0; }
.bg-machine__thumbs { display: flex; gap: 6px; padding: 0 24px 20px; flex-wrap: wrap; }
.bg-machine__thumbs a { width: 54px; height: 54px; border-radius: 5px; overflow: hidden; }
.bg-machine__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galéria + lightbox ---------- */
.bg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bg-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--bg-radius); overflow: hidden; background: var(--bg-paper); }
.bg-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bg-gallery a:hover img { transform: scale(1.05); }
.bg-figure { margin: 0 0 clamp(24px, 3vw, 40px); border-radius: var(--bg-radius-lg); overflow: hidden; background: var(--bg-paper); }
.bg-figure img { width: 100%; max-height: 620px; object-fit: cover; display: block; }
.bg-lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: 1fr auto; background: rgba(2, 20, 6, .96); color: #fff; padding: 20px; }
.bg-lightbox__stage { display: grid; place-items: center; min-height: 0; }
.bg-lightbox__stage img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 4px; }
.bg-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.bg-lightbox button { width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: inline-grid; place-items: center; }
.bg-lightbox button:hover { background: rgba(255, 255, 255, .2); }
.bg-lightbox__close { position: absolute; top: 18px; right: 18px; }
.bg-lightbox__nav { display: flex; gap: 10px; }
.bg-lightbox__prev .bg-ic { transform: rotate(180deg); }

/* ---------- Szöveg (CMS) ---------- */
.bg-prose { font-size: 1.05rem; color: var(--bg-body); overflow-wrap: break-word; }
.bg-prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 1.9em 0 .6em; }
.bg-prose h3 { margin: 1.6em 0 .5em; }
.bg-prose > :first-child { margin-top: 0; }
.bg-prose ul, .bg-prose ol { padding-left: 1.3em; }
.bg-prose li { margin-bottom: .4em; }
.bg-prose ul > li::marker { color: var(--bg-green-700); }
.bg-prose img { border-radius: var(--bg-radius); }
.bg-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; font-size: .95rem; display: block; overflow-x: auto; }
.bg-prose th, .bg-prose td { padding: 10px 12px; border: 1px solid var(--bg-line); text-align: left; vertical-align: top; }
.bg-prose th { background: var(--bg-paper); }
.bg-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--bg-green-800); color: var(--bg-ink); font-size: 1.12rem; }

/* ---------- CTA sáv ---------- */
.bg-cta { padding-block: clamp(56px, 7vw, 96px); }
.bg-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.bg-cta h2 { max-width: 20ch; margin-bottom: 12px; }
.bg-cta p { margin: 0; max-width: 54ch; color: rgba(255, 255, 255, .8); }
.bg-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bg-cta .bg-blocks { right: -40px; top: -80px; width: 480px; }

/* ---------- Űrlap ---------- */
.bg-form { display: grid; gap: 20px; }
.bg-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .bg-form__row { grid-template-columns: 1fr; } }
.bg-field { display: grid; gap: 7px; min-width: 0; }
.bg-field > label, .bg-field > legend, .bg-label { font-family: var(--bg-font-head); font-stretch: 106%; font-weight: 650; font-size: .9rem; color: var(--bg-ink); padding: 0; }
.bg-field .bg-opt { font-family: var(--bg-font-body); font-weight: 400; color: var(--bg-muted); font-size: .84rem; }
.bg-input, .bg-select, .bg-textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #C5CEC6; border-radius: var(--bg-radius); background: #fff; color: var(--bg-ink); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.bg-textarea { min-height: 150px; resize: vertical; }
.bg-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D4240' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.bg-input:focus, .bg-select:focus, .bg-textarea:focus { outline: 0; border-color: var(--bg-green-700); box-shadow: 0 0 0 4px rgba(20, 119, 43, .16); }
.bg-field.has-error .bg-input, .bg-field.has-error .bg-select, .bg-field.has-error .bg-textarea { border-color: var(--bg-danger); }
.bg-error { font-size: .88rem; color: var(--bg-danger); font-weight: 500; }
fieldset.bg-field { border: 0; margin: 0; padding: 0; }
.bg-radios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .bg-radios { grid-template-columns: 1fr; } }
.bg-radio { position: relative; }
.bg-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bg-radio span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1px solid #C5CEC6; border-radius: var(--bg-radius); background: #fff; font-weight: 500; font-size: .95rem; color: var(--bg-ink); line-height: 1.25; transition: all .15s; }
.bg-radio span .bg-ic { color: var(--bg-muted); }
.bg-radio input:checked + span { border-color: var(--bg-green-800); background: var(--bg-green-50); box-shadow: inset 0 0 0 1px var(--bg-green-800); color: var(--bg-green-900); }
.bg-radio input:checked + span .bg-ic { color: var(--bg-green-800); }
.bg-radio input:focus-visible + span { outline: 3px solid var(--bg-green-600); outline-offset: 2px; }
.bg-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; max-height: 300px; overflow-y: auto; padding: 14px 16px; border: 1px solid #C5CEC6; border-radius: var(--bg-radius); background: #fff; }
@media (max-width: 640px) { .bg-checks { grid-template-columns: 1fr; } }
.bg-checks__group { grid-column: 1 / -1; margin: 10px 0 2px; font-family: var(--bg-font-head); font-stretch: 116%; font-weight: 650; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bg-green-700); }
.bg-checks__group:first-child { margin-top: 0; }
.bg-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 6px 0; font-size: .94rem; line-height: 1.4; color: var(--bg-ink); cursor: pointer; }
.bg-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bg-green-800); cursor: pointer; }
.bg-check--privacy { font-size: .95rem; color: var(--bg-body); }
.bg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bg-form__foot { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.bg-form__note { margin: 0; font-size: .88rem; color: var(--bg-muted); }
.bg-alert { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 22px; border-radius: var(--bg-radius-lg); border: 1px solid; }
.bg-alert h3 { margin: 0 0 4px; font-size: 1.1rem; }
.bg-alert p { margin: 0; }
.bg-alert--ok { background: var(--bg-green-50); border-color: #B9DDBC; color: var(--bg-green-900); }
.bg-alert--ok .bg-ic { color: var(--bg-green-700); width: 28px; height: 28px; }
.bg-alert--err { background: #FEF3F2; border-color: #FDA29B; color: #7A271A; }
.bg-alert--err .bg-ic { color: var(--bg-danger); width: 28px; height: 28px; }
.bg-quote { background: #fff; border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--bg-shadow); }
.bg-quote > h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.bg-quote > p { color: var(--bg-muted); margin-bottom: 28px; }

/* ---------- Kapcsolat ---------- */
.bg-contact-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bg-contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--bg-line); }
.bg-contact-list li:last-child { border-bottom: 0; }
.bg-contact-list__ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--bg-radius); background: var(--bg-green-100); color: var(--bg-green-800); }
.bg-contact-list small { display: block; font-size: .82rem; color: var(--bg-muted); margin-bottom: 2px; }
.bg-contact-list strong, .bg-contact-list a { font-family: var(--bg-font-head); font-stretch: 106%; font-weight: 650; font-size: 1.1rem; color: var(--bg-ink); text-decoration: none; overflow-wrap: anywhere; }
.bg-contact-list a:hover { color: var(--bg-green-800); text-decoration: underline; }
.bg-map { position: relative; border-radius: var(--bg-radius-lg); overflow: hidden; border: 1px solid var(--bg-line); background: var(--bg-paper); aspect-ratio: 21 / 9; min-height: 340px; }
.bg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bg-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Közösségi média ---------- */
.bg-social { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-radius: var(--bg-radius-lg); border: 1px solid var(--bg-line); background: #fff; color: inherit; text-decoration: none; min-height: 290px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
a.bg-social:hover { transform: translateY(-4px); box-shadow: var(--bg-shadow-lg); border-color: transparent; color: inherit; }
.bg-social__ic { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--bg-radius-lg); background: var(--bg-green-100); color: var(--bg-green-800); margin-bottom: 24px; }
.bg-social__ic .bg-ic { width: 30px; height: 30px; }
.bg-social h2 { font-size: 1.6rem; margin-bottom: 10px; }
.bg-social p { color: var(--bg-muted); }
.bg-social__foot { margin-top: auto; }
.bg-social--main { background: var(--bg-green-900); border-color: var(--bg-green-900); color: rgba(255, 255, 255, .82); }
.bg-social--main h2 { color: #fff; }
.bg-social--main p { color: rgba(255, 255, 255, .78); }
.bg-social--main .bg-social__ic { background: rgba(181, 229, 138, .16); color: var(--bg-lime); }
.bg-social__badge { position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 99px; background: var(--bg-lime); color: var(--bg-green-950); font-family: var(--bg-font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.bg-social__soon { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--bg-paper); color: var(--bg-muted); font-size: .86rem; font-weight: 600; }
.bg-social--main .bg-social__soon { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); }

/* ---------- Állások ---------- */
.bg-job { display: grid; grid-template-columns: 1fr auto; gap: 10px 32px; align-items: center; padding: 26px 28px; border: 1px solid var(--bg-line); border-radius: var(--bg-radius-lg); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bg-job:hover { border-color: var(--bg-green-800); box-shadow: var(--bg-shadow); transform: translateY(-2px); color: inherit; }
.bg-job h3 { margin: 0 0 6px; }
.bg-job p { margin: 0; color: var(--bg-muted); font-size: .97rem; }
.bg-job__loc { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--bg-green-700); font-weight: 600; margin-bottom: 8px; }
.bg-job__loc .bg-ic { width: 16px; height: 16px; }
@media (max-width: 640px) { .bg-job { grid-template-columns: 1fr; } }
.bg-taglist { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bg-taglist li { padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--bg-line); font-size: .93rem; font-weight: 500; color: var(--bg-ink); }

/* ---------- EU / Széchenyi ---------- */
.bg-eu-logos { display: grid; gap: 22px; }
.bg-eu-logos img { width: 100%; border-radius: var(--bg-radius); border: 1px solid var(--bg-line); background: #fff; }

/* ---------- Lábléc ---------- */
.bg-footer { background: var(--bg-green-950); color: rgba(255, 255, 255, .72); font-size: .96rem; }
.bg-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.bg-footer a:hover { color: var(--bg-lime); }
.bg-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 56px); }
.bg-footer .bg-logo { height: 54px; margin-bottom: 22px; }
.bg-footer h2 { font-size: .78rem; font-stretch: 122%; letter-spacing: .16em; text-transform: uppercase; color: var(--bg-lime); margin-bottom: 20px; font-weight: 650; }
.bg-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bg-footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.bg-footer__contact .bg-ic { width: 18px; height: 18px; margin-top: 4px; color: var(--bg-lime); }
.bg-footer__social { display: flex !important; gap: 10px !important; margin-top: 24px !important; }
.bg-footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: all .2s; }
.bg-footer__social a:hover { background: var(--bg-lime); border-color: var(--bg-lime); color: var(--bg-green-950); }
.bg-footer__eu { display: inline-block; margin-top: 26px; width: 250px; max-width: 100%; border-radius: var(--bg-radius); overflow: hidden; line-height: 0; background: #fff; }
.bg-footer__bottom { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: rgba(255, 255, 255, .56); }
.bg-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bg-footer__legal { margin: 0; }
@media (max-width: 1000px) { .bg-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bg-footer__top { grid-template-columns: 1fr; } }

/* ---------- Sütisáv (csak ha van mérőkód) ---------- */
.bg-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 560px; margin-left: auto; padding: 22px 24px; border-radius: var(--bg-radius-lg); background: #fff; border: 1px solid var(--bg-line); box-shadow: var(--bg-shadow-lg); font-size: .93rem; }
.bg-consent p { margin: 0 0 16px; }
.bg-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.bg-404 { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.bg-404__num { font-family: var(--bg-font-head); font-stretch: 125%; font-weight: 800; font-size: clamp(5rem, 16vw, 11rem); line-height: 1; color: var(--bg-green-100); letter-spacing: -.03em; }

/* ---------- Megjelenési animáció ---------- */
.bg-js .bg-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.bg-js .bg-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.bg-js .bg-reveal { opacity: 1; transform: none; }
}

@media print {
	.bg-header, .bg-footer, .bg-cta, .bg-consent, .bg-quote { display: none !important; }
	.bg-dark { background: #fff !important; color: #000 !important; }
	.bg-dark h1, .bg-dark h2 { color: #000 !important; }
}

/* ---------- Utólagos finomítások ---------- */
.bg-card--green a:not(.bg-btn):not(.bg-link) { color: #fff; }
.bg-card--green .bg-ic { color: var(--bg-lime); }
.bg-card--green .bg-btn .bg-ic { color: inherit; }
.bg-card--green p { color: rgba(255, 255, 255, .8); }
@media (max-width: 520px) {
	.bg-dl > div { grid-template-columns: 1fr; gap: 2px; }
	.bg-hero h1 { font-size: 2.15rem; }
	.bg-stat__num { font-size: 1.5rem; }
}
