/* ==========================================================================
   GAR Acélszerkezet 3D
   Színek: a GAR katalógus palettája – világosszürke és ezüst, fekete, jelzőpiros (#D2231B).
   Betűk: Archivo (változó szélesség) + IBM Plex Mono, a sablonban tárolva.
   ========================================================================== */


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

:root {
	--bg: #F3F3F2;
	--bg-2: #E6E6E5;
	--card: #FFFFFF;
	--ink: #1C1C1B;
	--ink-2: #393C41;
	--mute: #62666C;
	--mute-2: #8C9096;
	--line: rgba(28, 28, 27, .11);
	--line-2: rgba(28, 28, 27, .2);
	--track: #D3D3D1;
	--red: #D2231B;
	--red-hi: #E2392F;
	--red-lo: #AE1A13;
	--red-tint: rgba(210, 35, 27, .08);
	--yellow: #F2B705;
	--silver: linear-gradient(100deg, #C3C3C1 0%, #E3E3E2 36%, #F8F8F7 100%);
	--shadow: 0 1px 2px rgba(28, 28, 27, .05), 0 10px 30px rgba(28, 28, 27, .07);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;
	--gut: clamp(16px, 4vw, 56px);
	--header: 76px;
	--topbar: 34px;
	--cut: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gut); }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipográfia ---------- */
h1, h2 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.012em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4.5rem); }
h3 { font-weight: 700; font-stretch: 105%; letter-spacing: -.005em; line-height: 1.15; }
.accent { color: var(--red); }
.kicker, .eyebrow { display: flex; align-items: center; gap: 12px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.kicker span { color: var(--red); }
.kicker span::after { content: '/'; margin-left: 12px; color: var(--line-2); }
/* a logó kétszínű, ferde csíkja */
.eyebrow__tick { flex: none; width: 38px; height: 8px; background: linear-gradient(180deg, var(--ink) 0 46%, var(--red) 46% 100%); transform: skewX(-42deg); }
.head { margin-bottom: clamp(28px, 4vw, 56px); }
.head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 5vw, 80px); align-items: end; }
.head__lead { color: var(--ink-2); max-width: 46ch; }
.section { padding-block: clamp(64px, 9vw, 136px); position: relative; }

/* ---------- Gombok: lézervágott, levágott sarkú lemez ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; font: 700 .94rem/1 var(--font); font-stretch: 106%; letter-spacing: .01em; text-decoration: none; white-space: nowrap; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 19px 28px; font-size: 1rem; }
.btn--sm { padding: 12px 18px; font-size: .86rem; --cut: 9px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hi); }
.btn--ghost { background: rgba(28, 28, 27, .07); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(28, 28, 27, .13); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px currentColor; }
.linkbtn { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .2s; }
.linkbtn:hover { color: var(--ink); }

/* ---------- Fejléc: piros elérhetőségi sáv (mint a katalógusban) + menü ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.topbar { height: var(--topbar); background: var(--red); color: #fff; overflow: hidden; transition: margin-top .35s var(--ease); }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; font: 500 .76rem/1 var(--mono); letter-spacing: .04em; }
.topbar__slogan { font: italic 700 .8rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.topbar__links { display: flex; align-items: center; gap: 26px; min-width: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; opacity: .94; }
.topbar__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.topbar .icon { width: 14px; height: 14px; }
.site-header.is-scrolled .topbar { margin-top: calc(-1 * var(--topbar)); }
.site-header.is-scrolled, body.is-inner .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(28, 28, 27, .05); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header); }
.brand { display: block; flex: none; text-decoration: none; }
.brand__logo { height: 48px; width: auto; }
.custom-logo { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__list a { display: block; padding: 8px 0; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--ink-2); transition: color .2s; position: relative; white-space: nowrap; }
.nav__list a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--red); transition: right .3s var(--ease-out); }
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { right: 0; }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 500 .84rem var(--mono); color: var(--ink-2); white-space: nowrap; }
.header__phone .icon { color: var(--red); }
.header__phone:hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Nyitókép ---------- */
.hero { position: relative; min-height: max(100svh, 780px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg); overflow: hidden; }
.hero__stage { position: absolute; inset: 0; }
.hero__stage canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); cursor: grab; }
.hero__stage.is-ready canvas { opacity: 1; }
.hero__stage canvas.is-grabbing { cursor: grabbing; }
.no-webgl .hero__stage, .hero__stage.stage--fallback { background: url('../img/hero-poster.webp') center/cover no-repeat; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(243, 243, 242, .95) 0%, rgba(243, 243, 242, .72) 30%, rgba(243, 243, 242, 0) 60%), linear-gradient(0deg, rgba(243, 243, 242, .97) 0%, rgba(243, 243, 242, 0) 30%), linear-gradient(180deg, rgba(243, 243, 242, .75) 0%, rgba(243, 243, 242, 0) 20%); }
.hero__inner { position: relative; z-index: 2; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: calc(var(--header) + var(--topbar) + 24px); }
.hero__copy { max-width: 980px; }
.hero__copy a, .hero__copy button { pointer-events: auto; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 5.7rem); line-height: .98; margin-bottom: 22px; }
.hero__title .accent { display: block; }
.hero__lead { max-width: 58ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.3vw, 1.18rem); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fig { flex: none; display: grid; gap: 8px; justify-items: end; font: 400 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.hero__drag { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.hero__stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(28px, 4vw, 48px); margin-bottom: 0; pointer-events: none; }
.hero__stats li { display: flex; align-items: baseline; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line-2); }
.hero__stats li + li { padding-left: 16px; }
.hero__stats b { font-weight: 800; font-stretch: 112%; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; color: var(--ink); white-space: nowrap; }
.hero__stats span { font-size: .84rem; color: var(--mute); line-height: 1.25; }

/* ---------- Futószalag: a katalógus piros sávja ---------- */
.marquee { overflow: hidden; background: var(--red); color: #fff; padding-block: 15px; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; }
.marquee span { display: inline-flex; align-items: center; font: 500 .8rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; padding-inline: 26px; }
.marquee span::after { content: ''; width: 7px; height: 7px; background: var(--ink); margin-left: 52px; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-33.3333%); } }

/* ---------- 3D tervező ---------- */
.cfg { background: var(--bg-2); }
.cfg__shell { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0; align-items: stretch; filter: drop-shadow(0 18px 40px rgba(28, 28, 27, .08)); }
.cfg__view { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-right: 0; background: var(--card); }
.cfg__stage { position: relative; flex: 1; min-height: clamp(420px, 66vh, 700px); background: #F6F6F5; overflow: hidden; }
.cfg__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.cfg__stage canvas.is-grabbing { cursor: grabbing; }
.no-webgl .cfg__stage { display: grid; place-items: center; }
.cfg__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font: 400 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: opacity .5s; pointer-events: none; }
.cfg__loading span { width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--red); border-radius: 50%; animation: spin 1s linear infinite; }
.cfg__stage.is-ready .cfg__loading { opacity: 0; }
.no-webgl .cfg__loading span { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.cfg__labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dim { position: absolute; left: 0; top: 0; padding: 3px 7px; font: 500 .74rem/1 var(--mono); color: #fff; background: var(--red); white-space: nowrap; will-change: transform; transition: opacity .25s; box-shadow: 0 2px 6px rgba(28, 28, 27, .18); }
.cfg__corner { position: absolute; left: 16px; top: 14px; display: grid; gap: 6px; pointer-events: none; font: 400 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.cfg__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); transition: opacity .4s; }
.cfg__stage.is-touched .cfg__hint { opacity: 0; }
.cfg__tools { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.tool { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding-inline: 11px; font: 500 .74rem var(--mono); color: var(--ink-2); background: rgba(255, 255, 255, .92); border: 1px solid var(--line-2); transition: color .2s, background .2s, border-color .2s; }
.tool:hover { color: var(--ink); border-color: var(--ink); }
.tool[aria-pressed='true'] { color: var(--red); border-color: var(--red); background: #FFF5F4; }
.cfg__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--card); }
.cfg__stats div { padding: 14px 16px; border-left: 1px solid var(--line); min-width: 0; }
.cfg__stats div:first-child { border-left: 0; }
.cfg__stats dt { font: 400 .68rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 7px; }
.cfg__stats dd { font-weight: 800; font-stretch: 108%; font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cfg__stats dd small { font-size: .62em; font-weight: 600; color: var(--mute); margin-left: 3px; }
.cfg__panel { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); }
.cfg__tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.ctab { display: grid; justify-items: center; align-content: start; gap: 7px; padding: 15px 2px 13px; font-size: .76rem; font-weight: 600; line-height: 1.15; text-align: center; color: var(--mute); border-left: 1px solid var(--line); position: relative; transition: color .2s, background .2s; }
.ctab:first-child { border-left: 0; }
.ctab .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.ctab:hover { color: var(--ink); }
.ctab[aria-selected='true'] { color: var(--red); background: var(--red-tint); }
.ctab[aria-selected='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.cfg__fields { flex: 1; padding: 20px 20px 8px; display: grid; gap: 20px; align-content: start; overflow-y: auto; max-height: 560px; scrollbar-width: thin; scrollbar-color: var(--track) transparent; }
.cf__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.cf__l { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.cf__v { font: 500 .9rem var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: none; cursor: pointer; display: block; margin: 0; --p: 50%; }
input[type='range']::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--red) var(--p), var(--track) var(--p)); }
input[type='range']::-moz-range-track { height: 3px; background: var(--track); }
input[type='range']::-moz-range-progress { height: 3px; background: var(--red); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 22px; margin-top: -10px; background: var(--ink); border: 0; border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); transition: background .15s; }
input[type='range']::-moz-range-thumb { width: 14px; height: 22px; background: var(--ink); border: 0; border-radius: 0; }
input[type='range']:hover::-webkit-slider-thumb { background: var(--red); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.seg button { padding: 10px 6px; font-size: .82rem; font-weight: 600; color: var(--ink-2); background: var(--bg); line-height: 1.15; transition: color .2s, background .2s; }
.seg button:hover { color: var(--ink); background: #EBEBEA; }
.seg button[aria-checked='true'] { color: #fff; background: var(--red); }
.cf--toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.cf--toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tgl { position: relative; flex: none; width: 42px; height: 22px; background: var(--track); transition: background .2s; }
.tgl::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: #fff; transition: transform .25s var(--ease-out), background .2s; }
.cf--toggle input:checked + .tgl { background: var(--red); }
.cf--toggle input:checked + .tgl::after { transform: translateX(20px); }
.cf--toggle input:focus-visible + .tgl { outline: 2px solid var(--red); outline-offset: 2px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; padding: 3px; border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.swatch i { display: block; width: 100%; height: 100%; }
.swatch[aria-checked='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cfg__foot { padding: 16px 20px 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cfg__spec { font-size: .86rem; line-height: 1.45; color: var(--ink-2); min-height: 3.8em; }
.cfg__sub { display: grid; gap: 6px; justify-items: start; }
.cfg__note { margin-top: 14px; font: 400 .74rem/1.5 var(--mono); color: var(--mute); }

/* ---------- Szolgáltatások: a katalógus három területe ---------- */
.services { background: var(--bg); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { position: relative; display: flex; flex-direction: column; background: var(--card); padding: clamp(24px, 2.6vw, 38px); padding-top: calc(clamp(24px, 2.6vw, 38px) + 8px); box-shadow: var(--shadow); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.pillar::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--red); }
/* ipari védelem: sárga-fekete jelzőcsík */
.pillar--1::before { background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px); }
.pillar--3::before { background: linear-gradient(180deg, var(--ink) 0 46%, var(--red) 46% 100%); }
.pillar__n { font-weight: 900; font-stretch: 118%; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--red); }
.pillar h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); text-transform: uppercase; font-weight: 800; margin-block: 14px 10px; }
.pillar__intro { color: var(--ink-2); font-weight: 600; margin-bottom: 18px; }
.pillar__list { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: 24px; }
.pillar__list li { position: relative; padding-left: 22px; font-size: .97rem; line-height: 1.5; color: var(--ink-2); }
.pillar__list li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.pillar__list b { display: block; color: var(--ink); font-weight: 800; }
.pillar__links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.pillar .tile__cta { color: var(--ink); }
.pillar .tile__cta::before { display: none; }
.head--sub { margin-top: clamp(64px, 8vw, 112px); }
.h2--sub { font-size: clamp(1.8rem, 3.4vw, 3.2rem); }

/* ---------- Munkák képekkel ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; background: var(--card); display: flex; flex-direction: column; isolation: isolate; box-shadow: var(--shadow); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.tile--1 { grid-column: span 7; }
.tile--2 { grid-column: span 5; }
.tile--3 { grid-column: span 5; }
.tile--4 { grid-column: span 7; }
.tile--5, .tile--6, .tile--cta { grid-column: span 4; }
.tile__media { position: relative; height: clamp(200px, 19vw, 300px); overflow: hidden; background: var(--bg-2); flex: none; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transform: scale(1.01); transition: filter .6s var(--ease), transform 1s var(--ease-out); }
.tile__media::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 6px; background: var(--red); }
.tile:hover .tile__media img { filter: saturate(1); transform: scale(1.06); }
.tile__body { flex: 1; padding: clamp(18px, 2.2vw, 28px); width: 100%; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tile__n { font: 500 .74rem var(--mono); color: var(--red); letter-spacing: .1em; }
.tile h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); text-transform: uppercase; font-weight: 800; }
.tile p { color: var(--ink-2); font-size: .96rem; line-height: 1.5; max-width: 52ch; }
.tile__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 8px; align-items: center; }
.tile__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); }
.tile__cta::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.tile__cta .icon { color: var(--red); transition: transform .3s var(--ease-out); }
.tile:hover .tile__cta .icon, .pillar:hover .tile__cta .icon { transform: translateX(5px); }
.tile__3d { position: relative; font: 500 .74rem var(--mono); color: var(--mute); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.tile__3d:hover { color: var(--red); }
.tile--cta { background: var(--red); background-image: linear-gradient(135deg, var(--red-hi), var(--red-lo)); color: #fff; justify-content: flex-end; min-height: 320px; }
.tile--cta .tile__body { flex: 0 0 auto; }
.tile--cta p { color: rgba(255, 255, 255, .88); }
.tile__icon { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.tile--cta .btn { background: #fff; color: var(--red-lo); margin-top: 8px; }
.tile--cta .btn:hover { background: #FFEDEB; }

/* ---------- Folyamat ---------- */
.process { background: var(--bg); }
.process__track { height: 560vh; position: relative; }
.process__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.process__stage { position: absolute; inset: 0; }
.process__stage canvas { width: 100%; height: 100%; }
.no-webgl .process__track { height: auto; }
.no-webgl .process__sticky { position: relative; height: auto; }
.no-webgl .process__stage, .no-webgl .process__shade, .no-webgl .about__stage { display: none; }
.no-webgl .pstep { display: grid; }
.no-webgl .pstep .pstep__more { grid-template-rows: 1fr; opacity: 1; }
.process__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(243, 243, 242, .96) 0%, rgba(243, 243, 242, .82) 26%, rgba(243, 243, 242, 0) 56%), linear-gradient(180deg, rgba(243, 243, 242, .7) 0%, rgba(243, 243, 242, 0) 24%); }
.process__ui { position: relative; height: 100%; display: flex; flex-direction: column; padding-top: calc(var(--header) + clamp(12px, 3vh, 36px)); padding-bottom: 26px; pointer-events: none; }
.process__ui a, .process__ui button { pointer-events: auto; }
.process__head { max-width: 600px; }
.process__head h2 { font-size: clamp(1.9rem, 3.4vw, 3.3rem); }
.process__steps { margin-top: auto; margin-bottom: auto; max-width: 480px; padding-block: 24px; display: grid; gap: 2px; }
.pstep { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; border-top: 1px solid var(--line-2); padding-block: 12px; transition: border-color .3s; }
.pstep:last-child { border-bottom: 1px solid var(--line-2); }
.pstep__num { justify-self: start; font: 500 .8rem/1.6 var(--mono); color: var(--mute-2); padding: 2px 8px 2px 0; transition: color .3s; }
.pstep h3 { font-size: 1.12rem; text-transform: uppercase; font-weight: 700; color: var(--mute-2); transition: color .3s; }
.pstep__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out), opacity .35s; opacity: 0; }
.pstep__more > * { overflow: hidden; min-height: 0; }
.pstep__more p { grid-row: 1; color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.pstep__more small { display: none; }
.pstep.is-done .pstep__num { color: var(--red); }
.pstep.is-active .pstep__num { color: var(--red); }
.pstep.is-active h3 { color: var(--ink); }
.pstep.is-active .pstep__more { grid-template-rows: 1fr; opacity: 1; }
.pstep.is-active .pstep__more p { padding-top: 8px; }
.process__cta { display: flex; align-items: center; gap: 24px; }
.process__bar { flex: 1; max-width: 480px; height: 3px; background: var(--track); }
.process__bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Miért a GAR ---------- */
.why { background: var(--card); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.num { padding: clamp(22px, 3vw, 40px) clamp(16px, 3vw, 44px) clamp(22px, 3vw, 40px) 0; border-right: 1px solid var(--line); position: relative; }
.num + .num { padding-left: clamp(16px, 3vw, 44px); }
.num:last-child { border-right: 0; }
.num__idx { font: 400 .72rem var(--mono); color: var(--mute); }
.num b { display: block; font-weight: 900; font-stretch: 118%; font-size: clamp(3.4rem, 8.4vw, 8.2rem); line-height: 1; letter-spacing: -.02em; margin-block: 10px 14px; font-variant-numeric: tabular-nums; }
.num b i { font-style: normal; color: var(--red); }
.num p { color: var(--ink-2); max-width: 34ch; }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.reason { background: var(--bg); padding: clamp(22px, 2.6vw, 34px); position: relative; transition: background .3s; }
.reason::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 4px; background: var(--red); transition: width .5s var(--ease-out); }
.reason:hover::before { width: 100%; }
.reason span { font: 500 .74rem var(--mono); color: var(--mute); }
.reason h3 { font-size: 1.32rem; margin-block: 14px 10px; text-transform: uppercase; font-weight: 800; }
.reason p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Referenciák ---------- */
.refs { background: var(--bg); }
.refs__grid { columns: 4 160px; column-gap: 16px; }
.ref img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.ref { position: relative; overflow: hidden; background: var(--card); box-shadow: var(--shadow); break-inside: avoid; margin: 0 0 16px; display: block; }
.ref:hover img { transform: scale(1.05); }
.ref figcaption { padding: 14px 16px; display: grid; gap: 4px; }
.ref figcaption span { font: 400 .78rem var(--mono); color: var(--mute); }

/* ---------- Rólunk: a katalógus levele ---------- */
.about { background: var(--bg); overflow: hidden; border-top: 1px solid var(--line); }
.about__stage { position: absolute; inset: 0 0 auto auto; width: 62%; height: min(100%, 880px); }
.about__stage canvas { width: 100%; height: 100%; }
.about__fig { position: absolute; right: clamp(16px, 4vw, 56px); bottom: clamp(18px, 6%, 64px); display: grid; gap: 8px; justify-items: end; font: 400 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); pointer-events: none; }
.about__fig span:first-child { color: var(--ink); font-weight: 500; }
.about__fig span:first-child::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--red); }
.about__grid { position: relative; pointer-events: none; }
.about__copy { max-width: 640px; pointer-events: auto; }
.about__copy h2 { margin-bottom: 26px; font-size: clamp(2rem, 3.9vw, 3.8rem); }
.about__greeting { font-weight: 800; font-stretch: 106%; font-size: 1.15rem; color: var(--ink); margin-bottom: 12px; }
.about__copy > p { color: var(--ink-2); margin-bottom: 14px; max-width: 56ch; }
.about blockquote { margin-top: 30px; padding: 22px 24px; background: var(--card); border-left: 4px solid var(--red); box-shadow: var(--shadow); max-width: 600px; }
.about blockquote p { font-weight: 600; font-style: italic; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: var(--ink); margin-bottom: 16px; }
.about blockquote footer { display: grid; gap: 2px; font-size: .9rem; color: var(--mute); }
.about blockquote footer small { font-size: .85rem; }
.about blockquote footer b { color: var(--ink); font-weight: 800; font-stretch: 108%; font-size: 1.25rem; text-transform: uppercase; }
.about__points { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 88px); border-top: 2px solid var(--ink); }
.point { padding: 24px clamp(14px, 2.4vw, 34px) 0 0; }
.point + .point { padding-left: clamp(14px, 2.4vw, 34px); border-left: 1px solid var(--line); }
.point span { font: 500 .78rem var(--mono); color: var(--red); }
.point h3 { font-size: 1.14rem; text-transform: uppercase; font-weight: 800; margin-block: 10px 8px; }
.point p { color: var(--ink-2); font-size: .96rem; }

/* ---------- GYIK ---------- */
.faq { background: var(--card); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq .head { position: sticky; top: calc(var(--header) + 24px); margin-bottom: 0; }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.faq__item { border-top: 1px solid var(--line-2); }
.faq__item:last-child { border-bottom: 1px solid var(--line-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 20px; font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red); }
.faq__item summary .icon { color: var(--red); transition: transform .3s var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Ajánlatkérés ---------- */
.quote { background: radial-gradient(80% 70% at 88% 8%, rgba(210, 35, 27, .09), transparent 60%), var(--silver); }
.quote__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.quote__info h2 { font-size: clamp(2.4rem, 5.2vw, 5rem); margin-bottom: 20px; }
.quote__lead { color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.quote__next { display: grid; gap: 0; margin-block: 30px; max-width: 420px; }
.quote__next li { display: flex; gap: 16px; align-items: center; padding-block: 13px; border-top: 1px solid var(--line-2); font-weight: 600; }
.quote__next li:last-child { border-bottom: 1px solid var(--line-2); }
.quote__next span { font: 500 .78rem var(--mono); color: var(--red); }
.quote__contacts { display: grid; gap: 4px; }
.quote__contacts a { display: flex; align-items: center; gap: 14px; padding-block: 8px; text-decoration: none; }
.quote__contacts .icon { width: 20px; height: 20px; color: var(--red); }
.quote__contacts small { display: block; font: 400 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.quote__contacts b { font-weight: 700; font-size: 1.04rem; overflow-wrap: anywhere; }
.quote__contacts a:hover b { color: var(--red); }
.quote__box { background: var(--card); border-top: 6px solid var(--red); padding: clamp(20px, 3vw, 40px); position: relative; box-shadow: 0 2px 4px rgba(28, 28, 27, .05), 0 24px 60px rgba(28, 28, 27, .1); }
.qsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 26px; }
.qsteps li { display: flex; align-items: center; gap: 9px; padding-top: 10px; border-top: 3px solid var(--track); font-size: .84rem; font-weight: 600; color: var(--mute); transition: color .3s, border-color .3s; }
.qsteps i { font: 500 .74rem var(--mono); }
.qsteps li.is-active, .qsteps li.is-done { color: var(--ink); border-color: var(--red); }
.qpane { display: grid; gap: 18px; animation: paneIn .45s var(--ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.qpane legend { font-weight: 800; font-stretch: 108%; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; text-transform: uppercase; margin-bottom: 18px; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 54px; height: 100%; padding: 12px 14px; font-size: .94rem; font-weight: 600; background: var(--bg); border: 1px solid var(--line); line-height: 1.2; transition: background .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--line-2); background: #EDEDEC; }
.chip input:checked + span { background: #FFF3F2; border-color: var(--red); color: var(--red-lo); box-shadow: inset 3px 0 0 var(--red); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.qfield { display: grid; gap: 7px; min-width: 0; }
.qfield label, .qfield__label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.qfield input, .qfield select, .qfield textarea { width: 100%; padding: 13px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 0; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.qfield select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362666C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.qfield textarea { resize: vertical; min-height: 110px; }
.qfield input::placeholder, .qfield textarea::placeholder { color: var(--mute-2); }
.qfield input:focus, .qfield select:focus, .qfield textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(210, 35, 27, .16); }
.qfield.is-invalid input { border-color: var(--red); }
.qfile { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bg); border: 1px dashed var(--line-2); cursor: pointer; position: relative; transition: border-color .2s; }
.qfile:hover, .qfile.has-files { border-color: var(--red); }
.qfile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qfile .icon { width: 24px; height: 24px; color: var(--red); stroke-width: 1.5; }
.qfile__text { font-weight: 600; font-size: .96rem; min-width: 0; overflow-wrap: anywhere; }
.qfile__text small { display: block; font-weight: 400; color: var(--mute); font-size: .8rem; margin-top: 2px; }
.qcheck { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--ink-2); cursor: pointer; position: relative; }
.qcheck input { position: absolute; opacity: 0; width: 22px; height: 22px; }
.qcheck__box { flex: none; width: 22px; height: 22px; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s; }
.qcheck__box .icon { width: 15px; height: 15px; stroke-width: 3; }
.qcheck input:checked + .qcheck__box { background: var(--red); border-color: var(--red); color: #fff; }
.qcheck input:focus-visible + .qcheck__box { outline: 2px solid var(--red); outline-offset: 2px; }
.qcheck.is-invalid .qcheck__box { border-color: var(--red); box-shadow: 0 0 0 3px rgba(210, 35, 27, .16); }
.qcheck a { color: var(--ink); }
.qnav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; flex-wrap: wrap; }
.qnav .btn--primary { flex: 1 1 auto; max-width: 340px; }
.qform__free { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; font-size: .84rem; color: var(--mute); }
.qform__free .icon { color: var(--red); width: 16px; height: 16px; }
.qform__config { display: flex; align-items: center; gap: 14px; padding: 12px; margin-bottom: 20px; background: var(--bg); border-left: 3px solid var(--red); animation: paneIn .5s var(--ease-out); }
.qform__shot { width: 92px; aspect-ratio: 16 / 10; object-fit: cover; flex: none; border: 1px solid var(--line); }
.qform__config > div { min-width: 0; flex: 1; }
.qform__config small { display: block; font: 400 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 3px; }
.qform__config b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.qform__config-edit { font-size: .82rem; color: var(--ink-2); flex: none; }
.qform__submit.is-loading { opacity: .7; pointer-events: none; }
.qdone { display: grid; justify-items: start; gap: 14px; padding-block: 24px; outline: none; }
.qdone__icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--red); color: #fff; }
.qdone__icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.qdone h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; font-weight: 800; }
.qdone p { color: var(--ink-2); max-width: 46ch; }

/* ---------- Lábléc: ezüst fejléc + piros elérhetőségi sáv, ahogy a katalógusban ---------- */
.site-footer { background: var(--silver); border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 72px); color: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 32px clamp(24px, 5vw, 72px); padding-bottom: 40px; }
.site-footer .brand__logo { height: 62px; }
.footer__slogan { margin-top: 14px; font: italic 800 .92rem/1.3 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.footer__about p:not(.footer__slogan) { margin-top: 10px; color: var(--ink-2); max-width: 42ch; font-size: .96rem; }
.footer__social { display: inline-flex; margin-top: 14px; color: var(--ink-2); }
.footer__title { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; font-stretch: 100%; }
.footer__links { display: grid; gap: 8px; }
.footer__links a, .footer__links span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; font-size: .96rem; overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--red); }
.footer__links .icon { color: var(--red); }
.footer__bar { background: var(--red); color: #fff; }
.footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 0; padding-block: 12px; font: 600 .82rem/1.4 var(--font); font-stretch: 92%; letter-spacing: .02em; }
.footer__bar-inner > * { text-decoration: none; padding-inline: 16px; position: relative; }
.footer__bar-inner > * + *::before { content: ''; position: absolute; left: -2.5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: #fff; border-radius: 50%; }
.footer__bar-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 18px; font-size: .82rem; color: var(--mute); }
.footer__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__meta a { color: var(--ink-2); }
.footer__meta a:hover { color: var(--red); }

/* ---------- Mobil gombsáv, értesítés ---------- */
.mobile-cta { display: none; }
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; gap: 12px; max-width: 380px; padding: 14px 16px; background: var(--card); color: var(--ink); border-left: 4px solid var(--ink); box-shadow: 0 16px 40px rgba(28, 28, 27, .18); transform: translateY(16px); opacity: 0; transition: transform .4s var(--ease-out), opacity .3s; }
.toast.is-shown { transform: none; opacity: 1; }
.toast--error { border-left-color: var(--red); }
.toast b, .toast span span { display: block; }
.toast__text { display: block; font-size: .9rem; color: var(--ink-2); }

/* ---------- Megjelenési animáció ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Belső oldalak ---------- */
.page-hero { padding-top: calc(var(--header) + var(--topbar) + clamp(36px, 6vw, 80px)); padding-bottom: clamp(24px, 3vw, 44px); background: var(--silver); border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(2rem, 5vw, 4rem); }
.page-wrap { padding-block: clamp(32px, 5vw, 72px); }
.page-thumb { margin-bottom: 26px; }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-block: 32px 12px; color: var(--ink); }
.prose h3 { margin-block: 22px 8px; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose a { color: var(--red); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-card { background: var(--card); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-card__media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { width: 44px; height: 44px; fill: none; stroke: var(--mute-2); stroke-width: 1.4; }
.post-card__body { padding: 18px; display: grid; gap: 8px; }
.post-card__date { font: 400 .74rem var(--mono); color: var(--mute); }
.post-card__title { font-size: 1.15rem; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { color: var(--ink-2); font-size: .95rem; }
.post-card__excerpt p { margin: 0; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--red); }
.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; gap: 6px; }
.pagination .page-numbers { padding: 8px 13px; background: var(--card); text-decoration: none; border: 1px solid var(--line); }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; }
.notfound { min-height: 100vh; display: grid; align-items: center; padding-top: calc(var(--header) + var(--topbar)); background: var(--silver); }
.notfound__logo { width: 60px; height: 60px; fill: none; stroke: var(--red); stroke-width: 1.2; margin-bottom: 18px; }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); margin-bottom: 14px; }
.notfound p { color: var(--ink-2); margin-bottom: 24px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nyelvválasztó ---------- */
.lang { position: relative; flex: none; }
.lang > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid var(--line-2); font: 600 .78rem/1 var(--mono); letter-spacing: .06em; color: var(--ink-2); cursor: pointer; user-select: none; transition: border-color .2s, color .2s; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary::after { content: ''; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.lang[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.lang > summary:hover, .lang[open] > summary { border-color: var(--ink); color: var(--ink); }
.lang > summary .icon { width: 16px; height: 16px; color: var(--red); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 176px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(28, 28, 27, .16); }
.lang__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.lang__list a b { width: 26px; font: 600 .74rem/1 var(--mono); letter-spacing: .06em; color: var(--mute); }
.lang__list a:hover { background: var(--bg); color: var(--ink); }
.lang__list a[aria-current] { color: var(--red); }
.lang__list a[aria-current] b { color: var(--red); }

/* külföldi böngészőnek felajánlott nyelv */
.langbar { position: fixed; left: 50%; bottom: 16px; z-index: 75; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px); padding: 12px 12px 12px 18px; background: var(--ink); color: #fff; box-shadow: 0 16px 40px rgba(28, 28, 27, .3); transform: translate(-50%, 24px); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; font-size: .92rem; }
.langbar.is-shown { transform: translate(-50%, 0); opacity: 1; }
.langbar span { min-width: 0; }
.langbar .btn { flex: none; }
.langbar__x { flex: none; width: 36px; height: 36px; font-size: 1.4rem; line-height: 1; color: rgba(255, 255, 255, .7); }
.langbar__x:hover { color: #fff; }

/* ---------- Tördelés ---------- */
@media (max-width: 1360px) {
	.topbar__slogan { display: none; }
	.topbar__inner { justify-content: flex-end; }
}

@media (min-width: 1021px) and (max-width: 1180px) {
	.nav__list { gap: 14px; }
	.nav__list a { font-size: .84rem; }
	.header__actions { gap: 12px; }
}

@media (max-width: 1240px) {
	.header__phone span { display: none; }
	.cfg__shell { grid-template-columns: minmax(0, 1fr) 380px; }
	.pillars { grid-template-columns: 1fr 1fr; }
	.pillar--3 { grid-column: span 2; }
}

@media (max-width: 1020px) {
	:root { --header: 64px; --topbar: 0px; }
	.topbar { display: none; }
	.brand__logo { height: 40px; }
	.custom-logo { height: 38px; }
	.nav-toggle { display: block; }
	.header__phone, .header__cta { display: none; }
	.header__actions { margin-left: auto; }
	.site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
	.nav { position: fixed; inset: var(--header) 0 0; margin: 0; padding: 22px var(--gut) 32px; background: var(--bg); display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease-out), visibility .25s; }
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open .site-header { background: var(--bg); }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { font-size: 1.5rem; font-weight: 800; font-stretch: 110%; text-transform: uppercase; padding: 13px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
	.nav__list a::after { display: none; }
	.nav__mobile-extra { display: grid; gap: 14px; margin-top: auto; padding-top: 24px; }
	.nav__phone { display: inline-flex; gap: 10px; align-items: center; justify-content: center; font: 500 1rem var(--mono); text-decoration: none; padding-block: 8px; }

	.head--split { grid-template-columns: 1fr; gap: 14px; }

	.cfg__shell { grid-template-columns: 1fr; padding-inline: 0; filter: none; }
	.cfg__view { position: sticky; top: var(--header); z-index: 6; border-inline: 0; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
	.cfg__stage { min-height: 0; height: min(46svh, 62vw); flex: none; }
	.cfg__stats { grid-template-columns: repeat(4, 1fr); }
	.cfg__stats div { padding: 9px 10px; }
	.cfg__stats dt { font-size: .6rem; margin-bottom: 4px; letter-spacing: .04em; }
	.cfg__stats dd { font-size: .95rem; }
	.cfg__panel { border-inline: 0; border-top: 0; }
	.cfg__fields { max-height: none; overflow: visible; padding-inline: var(--gut); }
	.cfg__foot { padding-inline: var(--gut); }
	.cfg__note { padding-top: 0; }

	.about__stage { position: relative; inset: auto; width: 100%; height: 78vw; min-height: 300px; max-height: 560px; margin-bottom: 8px; }
	.about__fig { bottom: 4px; font-size: .62rem; }
	.about { padding-top: 24px; }
	.faq__grid, .quote__grid { grid-template-columns: 1fr; }
	.faq .head { position: static; }
	.tile--1, .tile--2, .tile--3, .tile--4 { grid-column: span 6; }
	.tile--5, .tile--6, .tile--cta { grid-column: span 6; }
	.tile--cta { grid-column: span 12; min-height: 260px; }
	.hero__fig { display: none; }
}

@media (max-width: 760px) {
	body { font-size: 1rem; }
	.hero { min-height: 100svh; }
	.hero__shade { background: linear-gradient(0deg, var(--bg) 20%, rgba(243, 243, 242, .86) 48%, rgba(243, 243, 242, 0) 72%), linear-gradient(180deg, rgba(243, 243, 242, .6) 0%, rgba(243, 243, 242, 0) 14%); }
	.hero__title { font-size: clamp(1.92rem, 9vw, 3.4rem); font-stretch: 100%; }
	.hero__lead { margin-bottom: 22px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
	.hero__stats li { padding-block: 11px; gap: 8px; }
	.hero__stats li + li { padding-left: 0; }
	.hero__stats li:nth-child(2) { padding-left: 12px; }
	.hero__stats li:nth-child(n+3) { display: none; }
	.hero__stats span { font-size: .78rem; }
	h2 { font-stretch: 100%; }

	.pillars { grid-template-columns: 1fr; gap: 12px; }
	.pillar--3 { grid-column: auto; }
	.bento { gap: 12px; }
	.tile, .tile--1, .tile--2, .tile--3, .tile--4, .tile--5, .tile--6, .tile--cta { grid-column: span 12; }
	.tile__media { height: 54vw; }

	.process__track { height: 640vh; }
	.process__shade { background: linear-gradient(0deg, var(--bg) 22%, rgba(243, 243, 242, .8) 42%, rgba(243, 243, 242, 0) 62%), linear-gradient(180deg, rgba(243, 243, 242, .85) 0%, rgba(243, 243, 242, 0) 24%); }
	.process__head h2 { font-size: 1.5rem; }
	.process__head .kicker { margin-bottom: 10px; }
	.process__steps { margin-top: auto; margin-bottom: 0; padding-block: 12px; gap: 0; max-width: none; }
	.pstep { display: none; border: 0; padding-block: 0; }
	.pstep:last-child { border: 0; }
	.pstep.is-active { display: grid; }
	.pstep h3 { font-size: 1.3rem; }
	.process__cta { gap: 14px; padding-bottom: 60px; }
	.process__bar { max-width: none; }

	.nums, .reasons, .about__points { grid-template-columns: 1fr; }
	.num { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.num + .num { padding-left: 0; }
	.point, .point + .point { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.about blockquote { padding: 18px; }
	.chips, .qgrid { grid-template-columns: 1fr; }
	.chip span { min-height: 48px; }
	.qform__free { justify-content: flex-start; }
	.footer__grid { grid-template-columns: 1fr; }
	.footer__bar-inner { flex-direction: column; gap: 2px; }
	.footer__bar-inner > * + *::before { display: none; }
	.footer__bottom { padding-bottom: 84px; }

	.mobile-cta { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease-out); }
	.mobile-cta.is-shown { transform: none; }
	.mobile-cta .btn { padding-block: 14px; }
	.toast { left: 16px; right: 16px; bottom: 76px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.marquee__track { animation: none; }
	.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.process__track { height: 420vh; }
}

/* A tervező eszközei keskeny kijelzőn: csak ikonok, a kép felirat nélkül */
@media (max-width: 1020px) {
	.cfg__corner [data-out='fig'] { display: none; }
	.cfg__corner { left: 12px; top: auto; bottom: 10px; }
}
@media (max-width: 480px) {
	.tool span { display: none; }
	.tool { padding-inline: 10px; }
	.dim { font-size: .66rem; padding: 2px 5px; }
	.ctab { font-size: .68rem; }
}

/* WordPress eszköztár bejelentkezett szerkesztőknek */
.admin-bar .site-header { top: 32px; }
.admin-bar .nav { top: calc(var(--header) + 32px); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .nav { top: calc(var(--header) + 46px); }
}
body.nav-open { overflow: hidden; }

/* nyelvválasztó telefonon: a menügomb mellett, a felajánló sáv a fejléc alatt (a lenti gyorsgombokat nem takarja) */
@media (max-width: 1020px) {
	.lang > summary { height: 40px; padding: 0 9px; }
	.langbar { top: calc(var(--header) + 10px); bottom: auto; transform: translate(-50%, -16px); flex-wrap: wrap; justify-content: space-between; row-gap: 10px; }
	.langbar span { flex: 1 1 100%; padding-right: 30px; }
	.langbar__x { position: absolute; top: 6px; right: 6px; }
}
