/* ==========================================================================
   BaluDesign – fő stíluslap
   Tartalom: 1 alapok · 2 gombok · 3 fejléc · 4 hero · 5 szalag · 6 szekciók
             7 űrlap · 8 lábléc · 9 asszisztens · 10 aloldalak · 11 reszponzív
   ========================================================================== */

/* 1 · ALAPOK -------------------------------------------------------------- */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/bricolage-grotesque.woff") format("woff");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/jetbrains-mono.woff") format("woff");
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #0e0e0e;
    --ink-2: #1b1b1a;
    --paper: #f3f2ec;
    --paper-2: #e6e4d8;
    --lime: #c8f031;
    --mute: #66655c;
    --red: #b42318;
    --display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --gut: clamp(16px, 4vw, 48px);
    --max: 1320px;
    --header-h: 68px;
    --focus: var(--ink);
}

/* A téma alapbeállításai csak a saját területén (.bd-site) élnek, és :where()-rel nulla súlyúak: így a Pencil
   és a WordPress saját felületei (felugró ablakok, eszköztárak) nem változnak meg. */
:where(.bd-site), :where(.bd-site) *, :where(.bd-site) *::before, :where(.bd-site) *::after { box-sizing: border-box; }

html {
    background: var(--ink);
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--paper-2);
    color: var(--ink);
    font: 400 17px/1.55 var(--display);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
:where(.bd-site) :is(img, svg) { max-width: 100%; }
:where(.bd-site) a { color: inherit; }
:where(.bd-site) :is(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
:where(.bd-site) :is(ul, ol) { padding: 0; }
:where(.bd-site) :is(button, input, select, textarea) { font: inherit; color: inherit; }
.bd-site [hidden] { display: none !important; }
#main { overflow-x: clip; } /* a beúszó dobozok kezdőállása ne tegye az oldalt szélesebbé */

:where(.bd-site) :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-header, .sec--work, .sec--pricing, .sec--quote, .site-footer, .agent__panel { --focus: var(--lime); }

.bd-site ::selection { background: var(--lime); color: var(--ink); }

.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }

.bd-sr {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
    position: absolute; left: 12px; top: -80px; z-index: 100;
    background: var(--lime); color: var(--ink); padding: 12px 16px; font: 700 14px var(--mono);
}
.skip:focus { top: 12px; }

/* 2 · GOMBOK ---------------------------------------------------------------
   A letört sarok a logó B betűjének "levágott" oldalát idézi. */
.btn {
    --c: 11px; --bg: var(--ink); --fg: var(--paper);
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: .75em;
    padding: 1.1em 1.6em; border: 0; background: none; cursor: pointer;
    font: 700 13.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase;
    color: var(--fg); text-decoration: none; white-space: nowrap;
    transition: transform .15s ease;
}
.btn::before, .btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.btn::before { background: var(--bg); transition: background .15s ease; }
.btn::after { z-index: -2; background: var(--sh, var(--ink)); transition: transform .15s ease; }
.btn i { font-style: normal; display: inline-block; transition: transform .15s ease; }
.btn:hover, .btn:focus-visible { transform: translate(-3px, -3px); }
.btn:hover::after, .btn:focus-visible::after { transform: translate(6px, 6px); }
.btn:hover i, .btn:focus-visible i { transform: translateX(5px); }
.btn:active { transform: translate(0, 0); }
.btn:active::after { transform: translate(0, 0); }

.btn--lime { --bg: var(--lime); --fg: var(--ink); --sh: #55680f; } /* a zöld gomb árnyéka a zöld mély árnyalata (mint az árdoboz hoveré), nem szürke */
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--line { --fg: currentColor; }
.btn--line::before { background: transparent; clip-path: none; border: 2px solid currentColor; }
.btn--line::after { display: none; }
.btn--sm { padding: .85em 1.1em; font-size: 12px; }
.btn--lg { padding: 1.35em 1.9em; font-size: 15px; }
.btn--block { width: 100%; }

/* 3 · FEJLÉC -------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--ink); color: var(--paper);
}
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; flex: none; }
.brand .logo-mark, .brand .custom-logo { display: block; width: 38px; height: 38px; object-fit: contain; }
.wordmark { font: 400 21px/1 var(--mono); letter-spacing: -.04em; }
.wordmark b { font-weight: 800; }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__list a {
    display: block; padding: 8px 0; color: var(--paper); text-decoration: none;
    font: 500 12.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase;
    border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav__list a:hover { color: var(--lime); border-color: var(--lime); }
.nav__cta { display: none; }

.site-header__right { display: flex; align-items: center; gap: 18px; flex: none; }
.avail { display: inline-flex; align-items: center; gap: 9px; font: 500 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #cfcfc6; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: ping 2.2s infinite; }
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(200, 240, 49, .55); }
    70%, 100% { box-shadow: 0 0 0 10px rgba(200, 240, 49, 0); }
}

.burger { display: none; width: 44px; height: 44px; border: 2px solid var(--paper); background: none; cursor: pointer; position: relative; }
.burger__bars, .burger__bars::before, .burger__bars::after {
    position: absolute; left: 50%; width: 20px; height: 2px; background: var(--paper); content: ""; transform: translateX(-50%); transition: transform .2s, top .2s, opacity .2s;
}
.burger__bars { top: 50%; margin-top: -1px; }
.burger__bars::before { top: -7px; left: 50%; }
.burger__bars::after { top: 7px; left: 50%; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* 4 · HERO -----------------------------------------------------------------
   Sötét nyitókép. Bal oldalt a nagy cím, jobb oldalt a három valódi koncepcióoldal lépcsőzetesen, böngészőablakban.
   Mozgás: a cím soronként felcsúszik, az ablakok hátulról előre beúsznak. Más nem mozog (nyugodt, igényes).
   Csökkentett mozgásnál minden azonnal a helyén van. */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--ink); color: var(--paper);
    border-bottom: 1px solid rgba(243, 242, 236, .14);
}
/* finom ráccsal és halvány zöld fénnyel: "terv" hangulat; a jobb oldalra fókuszál */
.hero__bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(820px 520px at 74% 46%, rgba(200, 240, 49, .13), transparent 64%),
        linear-gradient(rgba(243, 242, 236, .05) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(90deg, rgba(243, 242, 236, .05) 1px, transparent 1px) 0 0 / 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 90% 100% at 66% 46%, #000 22%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 100% at 66% 46%, #000 22%, transparent 100%);
}
.hero__in {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center;
    gap: clamp(36px, 5vw, 96px);
    min-height: clamp(540px, calc(100svh - var(--header-h) - 92px), 820px);
    padding-block: clamp(40px, 5vw, 80px) clamp(36px, 4vw, 64px);
}
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__kicker {
    display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(20px, 2.4vw, 32px);
    font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 242, 236, .66);
    animation: rise .5s 0s cubic-bezier(.2, .8, .2, 1) backwards;
}
.hero__kicker i { flex: none; width: 28px; height: 8px; background: var(--lime); transform-origin: 0 50%; animation: bar .55s 0s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes bar { from { transform: scaleX(0); } }
.hero__title { font: 800 clamp(54px, 8.2vw, 130px)/.9 var(--display); letter-spacing: -.036em; color: var(--paper); }
/* soronként "felcsúszó" cím: a sor egy ablak, a szöveg alulról úszik be */
.ln { display: block; overflow: hidden; padding: 0 .04em .14em 0; margin-bottom: -.14em; }
.ln > span { display: block; transform: translateY(110%); animation: ln-up .65s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.12s + var(--n, 0) * .15s); }
.ln--1 { --n: 0; } .ln--2 { --n: 1; } .ln--3 { --n: 2; }
.ln--3 { color: var(--lime); }
@keyframes ln-up { to { transform: none; } }

.hero__side { position: relative; z-index: 2; max-width: 560px; margin-top: clamp(26px, 3vw, 46px); }
.hero__lead { max-width: 32em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; letter-spacing: -.01em; color: rgba(243, 242, 236, .74); animation: rise .55s .75s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; }
.hero__cta > * { animation: rise .5s .9s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero__cta > *:nth-child(2) { animation-delay: 1s; }
.hero .btn--line { --fg: var(--paper); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); filter: blur(5px); } }

/* színpad: három böngészőablak lépcsőzetesen, elöl az első */
.hero__stage { position: relative; min-width: 0; }
.stack { position: relative; aspect-ratio: 1 / .84; container-type: inline-size; }
.shot {
    --sx: 0px; --sy: 0px; --lift: 0px;
    position: absolute; left: 0; bottom: 0; display: block; width: 79%; color: inherit; text-decoration: none;
    background: #161615; border: 1px solid rgba(243, 242, 236, .2);
    box-shadow: 0 46px 90px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5);
    /* a hely a translate-ből jön (nem left/bottom): a mozgás a videokártyán fut, ezért sima; a --lift az "előre emelt" állapoté */
    translate: var(--sx) calc(var(--sy) + var(--lift));
    transition: translate .85s cubic-bezier(.4, 0, .15, 1), scale .7s cubic-bezier(.4, 0, .15, 1), box-shadow .8s ease, border-color .5s ease;
    will-change: translate;
    animation: shot-in .65s cubic-bezier(.2, .8, .2, 1) backwards;
}
/* a három hely: a stack szélességének törtrésze (cqi). 1 = elöl, bal alul; 3 = hátul, jobb felül. A JS data-slot-tal osztja ki
   (assets/js/main.js, initHeroStack: SLOT_X / SLOT_B ugyanezeket az arányokat használja); JS nélkül a .shot--N alaprend marad. */
.shot--1, .shot[data-slot="1"] { --sx: 0cqi;    --sy: 0cqi;      z-index: 3; }
.shot--2, .shot[data-slot="2"] { --sx: 10.5cqi; --sy: -13.02cqi; z-index: 2; }
.shot--3, .shot[data-slot="3"] { --sx: 21cqi;   --sy: -26.04cqi; z-index: 1; }
.shot--1 { animation-delay: .5s; }
.shot--2 { animation-delay: .35s; }
.shot--3 { animation-delay: .2s; }
.shot.is-up, .shot:focus-visible, .stack:not(.is-js) .shot:hover { --lift: -10px; scale: 1.01; border-color: rgba(200, 240, 49, .7); box-shadow: 0 60px 110px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5); outline: none; }
/* régi böngésző (cqi nélkül): a helyet left/bottom adja, mozgás nélkül */
@supports not (width: 1cqi) {
    .shot--2, .shot[data-slot="2"] { --sx: 0px; --sy: 0px; left: 10.5%; bottom: 15.5%; }
    .shot--3, .shot[data-slot="3"] { --sx: 0px; --sy: 0px; left: 21%; bottom: 31%; }
}
.shot__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; background: #1d1d1c; border-bottom: 1px solid rgba(243, 242, 236, .1); }
@supports (width: 1cqi) { .shot__bar { height: max(22px, 4.6cqi); gap: max(5px, .9cqi); } }
.shot__bar i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(243, 242, 236, .24); }
.shot__bar i:first-child { background: var(--lime); }
.shot__name { margin-left: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 242, 236, .62); }
.shot__view { display: block; overflow: hidden; background: #000; }
.shot__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
@keyframes shot-in { from { opacity: 0; transform: translateY(40px) scale(.985); filter: blur(6px); } }

/* jelvény: átfutás (a bal felső üres sarokban) */
.sticker {
    position: absolute; z-index: 4; left: -3%; top: -4%; width: clamp(86px, 8.4vw, 120px); aspect-ratio: 1; border-radius: 50%;
    display: grid; align-content: center; justify-items: center; text-align: center; gap: .2em;
    background: var(--paper); color: var(--ink); box-shadow: 0 20px 46px rgba(0, 0, 0, .55);
    animation: pop .5s 1.1s cubic-bezier(.2, .9, .2, 1.25) backwards;
}
.sticker::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(14, 14, 14, .42); border-radius: 50%; }
.sticker__big { font: 800 clamp(27px, 2.7vw, 40px)/.9 var(--display); letter-spacing: -.05em; }
.sticker__small { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-30deg); } }

/* árkártya: zöld tábla letört sarokkal, az első ablak jobb alsó sarkán */
.hero__price {
    --cut: 1.6em; --frame: 11px;
    position: absolute; z-index: 5; right: 0; bottom: 0; width: clamp(220px, 46%, 316px);
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .55));
    animation: stage-in .55s .95s cubic-bezier(.2, .8, .2, 1) backwards;
}
/* fekete keret fent és balra: elválasztja a zöld táblát a mögötte álló példaoldaltól */
.hero__price::before {
    content: ""; position: absolute; z-index: -1; inset: calc(var(--frame) * -1) 0 0 calc(var(--frame) * -1); background: var(--ink);
    clip-path: polygon(calc(var(--cut) + var(--frame) * .64) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) + var(--frame) * .64));
}
.pricetag {
    background: var(--lime); color: var(--ink); padding: 1.45em 1.6em 1.4em;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.pricetag__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(14, 14, 14, .72); }
.pricetag__amount { margin: .15em 0 .3em; font: 800 clamp(38px, 3.6vw, 54px)/1 var(--display); letter-spacing: -.05em; white-space: nowrap; }
.pricetag__note { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: rgba(14, 14, 14, .72); }
@keyframes stage-in { from { opacity: 0; transform: translateY(24px); filter: blur(5px); } }

/* alsó sor: a három ígéret, finom választóvonalakkal */
.chips {
    list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(243, 242, 236, .16);
    font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(243, 242, 236, .7);
}
.chips li { display: flex; align-items: center; gap: 12px; padding: 22px 20px 22px 0; line-height: 1.3; animation: rise .5s 1.2s cubic-bezier(.2, .8, .2, 1) backwards; }
.chips li:nth-child(2) { animation-delay: 1.3s; }
.chips li:nth-child(3) { animation-delay: 1.4s; }
.chips li + li { padding-left: 22px; border-left: 1px solid rgba(243, 242, 236, .12); }
.chips i { flex: none; display: grid; place-items: center; width: 17px; height: 17px; background: var(--lime); color: var(--ink); font-style: normal; font-size: 11px; font-weight: 800; line-height: 1; }

@media (max-width: 900px) {
    .hero__in { grid-template-columns: minmax(0, 1fr); gap: 48px; min-height: 0; padding-block: 40px 40px; }
    .hero__title { font-size: clamp(54px, 15.5vw, 108px); }
    .sticker { left: auto; right: 0; top: -3%; }
    .hero__price { position: relative; right: auto; bottom: auto; width: min(78%, 300px); margin: -24px 0 0 auto; }
    .chips { grid-template-columns: minmax(0, 1fr); }
    .chips li, .chips li + li { padding: 15px 0; border-left: 0; }
    .chips li + li { border-top: 1px solid rgba(243, 242, 236, .12); }
}
@media (prefers-reduced-motion: reduce) {
    .ln > span, .hero__kicker, .hero__kicker i, .hero__lead, .hero__cta > *, .shot, .hero__price, .sticker, .chips li { animation: none; transform: none; }
    .ln > span { transform: none; }
    .shot { transition: none; }
}

/* 5 · SZALAG --------------------------------------------------------------- */
.ticker {
    background: var(--lime); color: var(--ink); overflow: hidden;
    border-bottom: 2px solid var(--ink); white-space: nowrap;
    font: 800 clamp(15px, 1.6vw, 21px)/1 var(--mono); text-transform: uppercase; letter-spacing: -.01em;
}
.ticker__track { display: flex; width: max-content; padding-block: 15px; }
.ticker.is-running .ticker__track { animation: tick 38s linear infinite; }
.ticker__set { display: flex; flex: none; }
.ticker__set span { padding: 0 clamp(16px, 2vw, 28px); }
.ticker__set b { font-weight: 400; opacity: .5; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Pencil szövegblokkok (div.pencil-richtext): a bekezdések, listák alapstílusa. A saját osztályok felülírják. */
.pencil-richtext > * + * { margin-top: .8em; }
.pencil-richtext ul, .pencil-richtext ol { padding-left: 1.2em; }
.pencil-richtext a { text-decoration: underline; text-underline-offset: 3px; }
.pencil-richtext strong, .pencil-richtext b { font-weight: 800; }

/* 6 · SZEKCIÓK --------------------------------------------------------------- */
.sec { padding-block: clamp(48px, 5.6vw, 80px); position: relative; }
.sec__head { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 24px; align-items: start; margin-bottom: clamp(40px, 6vw, 88px); }
.sec__no { padding-top: 12px; border-top: 2px solid currentColor; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.sec__no span { font-weight: 800; }
.sec__title { font: 800 clamp(44px, 7.2vw, 120px)/.94 var(--display); letter-spacing: -.034em; text-wrap: balance; }
.sec__title em { font-style: normal; display: inline-block; line-height: .88; background: var(--lime); color: var(--ink); padding: 0 .1em; margin-inline: -.04em; }
.sec__lead { max-width: 640px; margin: -24px 0 56px calc(210px + 24px); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #c8c7bf; }

/* 01 szolgáltatások: hat önálló doboz, külön szegéllyel és árnyékkal */
.grid--services {
    list-style: none; margin: 0; padding: 0 8px 8px 0; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(22px, 2.6vw, 40px);
}
.cell {
    position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 34px); min-height: 300px;
    background: var(--paper-2); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.cell:nth-child(even) { background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--lime); }
.cell:nth-child(even) .cell__no { background: var(--lime); color: var(--ink); }
.cell:nth-child(even) p { color: #cfcfc6; }
.cell:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.cell:nth-child(even):hover { box-shadow: 11px 11px 0 var(--lime); }
.cell__no { align-self: flex-start; display: inline-block; padding: 4px 8px; background: var(--ink); color: var(--paper); font-size: 11px; }
.cell h3 { margin: clamp(48px, 6vw, 84px) 0 14px; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--display); letter-spacing: -.035em; }
.cell p { max-width: 36ch; color: #34332e; }

/* 02 munkák */
.sec--work { background: var(--ink); color: var(--paper); }
.sec--work .sec__no { border-color: var(--paper); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.work { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.work__frame {
    position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 4;
    background: var(--c2); border: 2px solid var(--paper);
    transition: transform .25s ease, box-shadow .25s ease;
}
.work:hover .work__frame, .work:focus-visible .work__frame { transform: translate(-7px, -7px); box-shadow: 11px 11px 0 var(--lime); }
.work__shot { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: 50% 0; transform: translateY(0); transition: transform 6s cubic-bezier(.45, 0, .25, 1); will-change: transform; }
.work:hover .work__shot, .work:focus-visible .work__shot { transform: translateY(-52%); }
.work__badge {
    position: absolute; left: 0; top: 0; padding: 8px 14px 8px 10px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.work__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 18px; flex: 1; }
.work__swatches { display: flex; gap: 5px; }
.work__swatches i { width: 18px; height: 18px; border: 1.5px solid var(--paper); }
.work__swatches i:nth-child(1) { background: var(--c1); }
.work__swatches i:nth-child(2) { background: var(--c2); }
.work__swatches i:nth-child(3) { background: var(--c3); }
.work__title { font: 800 clamp(26px, 2.6vw, 38px)/1 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.work__meta { color: #aaa9a0; font-size: 11px; line-height: 1.5; }
.work__open { margin-top: auto; padding-top: 6px; color: var(--lime); font-size: 11.5px; white-space: nowrap; } /* a három kártyán egy sorba kerül (a leírás hosszától függetlenül) */
.work__open i { font-style: normal; display: inline-block; transition: transform .2s; }
.work:hover .work__open i { transform: translate(3px, -3px); }
.work__after {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
    margin-top: clamp(48px, 6vw, 84px); padding-top: 28px; border-top: 2px solid rgba(243, 242, 236, .22);
    font: 800 clamp(24px, 3vw, 42px)/1.05 var(--display); letter-spacing: -.04em;
}

/* 03 folyamat */
.sec--process { background: var(--paper-2); border-block: 2px solid var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.step { position: relative; padding: 22px clamp(14px, 2vw, 28px) 36px; border-right: 2px dashed rgba(14, 14, 14, .35); }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step__no { display: block; font: 800 clamp(84px, 9.5vw, 150px)/.8 var(--display); letter-spacing: -.05em; color: var(--ink); margin-bottom: 30px; }
.step h3 { font: 800 clamp(22px, 2.1vw, 30px)/1.05 var(--display); letter-spacing: -.035em; margin-bottom: 12px; }
.step p { color: #34332e; max-width: 30ch; }
.step__time { display: inline-block; margin-top: 20px; padding: 5px 9px; border: 1.5px solid var(--ink); font-size: 11px; }

/* 04 árak: sötét szekció, három egyforma papír-kártya. Alapból mind olyan, mint a Landing; ráállva (vagy billentyűvel
   rálépve) a kártyára finoman zöldre vált, felemelkedik, és nagyobb árnyékot kap (az eddigi "Üzleti" kinézet). */
.sec--pricing { background: var(--ink); color: var(--paper); }
.sec--pricing .sec__no { border-color: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; margin-top: clamp(40px, 4.5vw, 64px); }
.plan {
    position: relative; isolation: isolate; display: flex; flex-direction: column;
    background: var(--paper-2); color: var(--ink); border: 3px solid var(--paper-2); box-shadow: 9px 9px 0 #2f2f2c;
    padding: clamp(24px, 2.6vw, 38px);
    transition: translate .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}
/* a zöld réteg: nem "tölt" sehonnan, hanem egyenletesen átúszik (a kártya mögött, a tartalom alatt) */
.plan::before {
    content: ""; position: absolute; inset: -3px; z-index: -1; background: var(--lime);
    opacity: 0; transition: opacity .35s ease;
}
.plan__flag {
    position: absolute; left: -3px; top: -3px; transform: translateY(-100%); padding: 9px 18px 9px 12px; background: var(--paper-2); color: var(--ink); font-size: 11.5px; font-weight: 800;
    border: 3px solid var(--paper-2); border-bottom: 0;
}
.plan__name { font-size: 12.5px; font-weight: 800; display: inline-block; padding: 4px 8px; background: var(--ink); color: var(--paper); transition: color .3s ease; }
.plan__tag { margin-top: 14px; font: 800 clamp(22px, 2vw, 28px)/1.05 var(--display); letter-spacing: -.035em; }
.plan__price { margin-top: 26px; display: grid; gap: 8px; }
.plan__price strong { font: 800 clamp(44px, 4.4vw, 68px)/.95 var(--display); letter-spacing: -.042em; white-space: nowrap; }
.plan__price span { font-size: 11.5px; color: var(--mute); transition: color .3s ease; }
.plan__time { margin-top: 18px; padding-top: 14px; border-top: 2px solid currentColor; font-size: 11.5px; color: var(--mute); transition: color .3s ease, border-color .3s ease; }
.plan__list { margin: 14px 0 32px; flex: 1; }
.plan__list ul { list-style: none; margin: 0; padding: 0; }
.plan__list li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid rgba(14, 14, 14, .16); font-size: 16px; line-height: 1.4; transition: border-color .3s ease; }
.plan__list li::before { content: "+"; position: absolute; left: 0; top: 8px; font: 800 17px/1.4 var(--mono); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.plan__list li:nth-child(2)::before { transition-delay: .05s; }
.plan__list li:nth-child(3)::before { transition-delay: .1s; }
.plan__list li:nth-child(4)::before { transition-delay: .15s; }
.plan__list li:nth-child(5)::before { transition-delay: .2s; }
.plan__list li:nth-child(6)::before { transition-delay: .25s; }
.plan__list li:nth-child(n+7)::before { transition-delay: .3s; }

/* ráállva: zöld, felemelkedik, nagyobb árnyék. Az egérnélküli (érintős) eszközökön csak a billentyűs/érintéses fókusz váltja ki. */
.plan:focus-within { translate: 0 -22px; box-shadow: 11px 11px 0 #55680f; }
.plan:focus-within::before { opacity: 1; }
.plan:focus-within .plan__name { color: var(--lime); }
.plan:focus-within .plan__price span, .plan:focus-within .plan__time { color: rgba(14, 14, 14, .72); }
.plan:focus-within .plan__time { border-color: rgba(14, 14, 14, .4); }
.plan:focus-within .plan__list li { border-color: rgba(14, 14, 14, .26); }
.plan:focus-within .plan__list li::before { transform: rotate(180deg) scale(1.18); }
.plan:focus-within .btn { --fg: var(--lime); }
@media (hover: hover) {
    .plan:hover { translate: 0 -22px; box-shadow: 11px 11px 0 #55680f; }
    .plan:hover::before { opacity: 1; }
    .plan:hover .plan__name { color: var(--lime); }
    .plan:hover .plan__price span, .plan:hover .plan__time { color: rgba(14, 14, 14, .72); }
    .plan:hover .plan__time { border-color: rgba(14, 14, 14, .4); }
    .plan:hover .plan__list li { border-color: rgba(14, 14, 14, .26); }
    .plan:hover .plan__list li::before { transform: rotate(180deg) scale(1.18); }
    .plan:hover .btn { --fg: var(--lime); }
}
@media (prefers-reduced-motion: reduce) {
    .plan, .plan::before, .plan__list li::before { transition: none; }
    .plan:hover, .plan:focus-within { translate: 0 0; }
}
.plans__note { margin-top: clamp(40px, 5vw, 64px); max-width: 70ch; font: 500 14px/1.5 var(--mono); color: #cfcfc6; }

/* 05 rólam */
.sec--about { background: var(--paper-2); }
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text { display: grid; gap: 1.2em; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; letter-spacing: -.01em; max-width: 36em; }
.about__text > * + * { margin-top: 0; }
.about__text p:first-child::first-line { font-weight: 800; }
.about__sign { margin-top: 22px; color: var(--mute); }
.about__side { display: grid; gap: 24px; }
.about__fig {
    display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.about__fig .logo-mark { width: min(46%, 220px); height: auto; }
.about__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); }
.fact { padding: 18px 20px 20px; }
.fact + .fact { border-left: 2px solid var(--ink); }
.fact h3 { font-size: 11.5px; font-weight: 800; margin-bottom: 12px; color: var(--mute); }
.fact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-weight: 700; font-size: 17px; }
.fact .pencil-richtext > * + * { margin-top: 0; }
.fact li::before { content: "×"; display: inline-block; width: 1.3em; font-family: var(--mono); color: var(--red); font-weight: 800; }
.fact--yes { background: var(--lime); }
.fact--yes h3 { color: var(--ink); }
.fact--yes li::before { content: "✓"; color: var(--ink); }

/* 07 kérdések: világos szekció (a szekciók váltakozása: ... Rólam világos, Ajánlatkérés sötét, Kérdések világos, lábléc sötét) */
.sec--faq { background: var(--paper-2); color: var(--ink); }
.faq { border-bottom: 2px solid var(--ink); }
.faq__item { border-top: 2px solid var(--ink); }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none;
    padding: clamp(18px, 2vw, 28px) 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font: 800 clamp(20px, 2.3vw, 32px)/1.1 var(--display); letter-spacing: -.035em; }
.faq__item summary:hover .faq__q { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--ink); }
.faq__icon { position: relative; flex: none; width: 38px; height: 38px; border: 2px solid var(--ink); transition: background .3s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--lime); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
/* záráskor a jel már az animáció elején visszaáll (a [open] még a végéig marad) */
.faq__item.is-closing .faq__icon { background: transparent; }
.faq__item.is-closing .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { padding: 0 62px clamp(22px, 2.4vw, 34px) 0; max-width: 62ch; color: #34332e; font-size: 18px; }

/* 06 ajánlatkérés: sötét szekció (Rólam világos után, a világos Kérdések előtt). A villogó kurzor zöld. */
.sec--quote { background: var(--ink); color: var(--paper); }
.sec--quote .sec__no { border-color: var(--paper); }
.cursor { color: var(--lime); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote__lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; letter-spacing: -.01em; }
.quote__next { list-style: none; margin: 32px 0; display: grid; gap: 0; border-top: 2px solid var(--paper); }
.quote__next li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(243, 242, 236, .28); font-weight: 600; }
.quote__next b { flex: none; padding: 3px 7px; background: var(--lime); color: var(--ink); font-weight: 800; }
.quote__demo { display: inline-block; padding: 6px 10px; background: var(--lime); color: var(--ink); margin-bottom: 22px; font-weight: 700; }
.quote__contacts { list-style: none; margin: 0; display: grid; gap: 8px; font: 600 17px var(--mono); }
.quote__contacts a { text-decoration: none; border-bottom: 2px solid var(--paper); }
.quote__contacts a:hover { background: var(--lime); color: var(--ink); border-bottom-color: var(--lime); }

/* az űrlap papírszínű lap a sötét szekción; az árnyéka semleges sötétszürke (mint az árkártyáké) */
.quote__panel { --focus: var(--ink); position: relative; background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 44px); border: 3px solid var(--paper); box-shadow: 12px 12px 0 #2f2f2c; }
.quote__ok { display: grid; gap: 12px; padding-block: 28px; }
.quote__ok-mark { display: grid; place-items: center; width: 72px; height: 72px; background: var(--lime); border: 3px solid var(--ink); font: 800 38px/1 var(--mono); }
.quote__ok h3 { font: 800 clamp(34px, 4vw, 56px)/1 var(--display); letter-spacing: -.05em; }
.quote__ok p { font-size: 19px; max-width: 32ch; }

/* 7 · ŰRLAP ------------------------------------------------------------------ */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; position: relative; }
.field label { font: 700 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.field label b { color: var(--red); }
.field label i { font-style: normal; font-weight: 500; color: var(--mute); text-transform: none; letter-spacing: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
    width: 100%; padding: 14px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 0;
    font: 500 16px/1.3 var(--display); appearance: none; -webkit-appearance: none; transition: box-shadow .12s, transform .12s;
}
.field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #9a998f; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fff6f5; }
.field__err { color: var(--red); font: 700 12.5px/1.35 var(--mono); }
.field__err:empty { display: none; }

.consent { position: relative; display: flex; align-items: flex-start; gap: 13px; cursor: pointer; font-size: 15px; line-height: 1.4; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent__box { flex: none; width: 24px; height: 24px; background: var(--paper); border: 2px solid var(--ink); position: relative; transition: background .12s; }
.consent__box::after { content: ""; position: absolute; left: 6px; top: 1px; width: 8px; height: 14px; border: solid var(--lime); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .12s; }
.consent input:checked + .consent__box { background: var(--ink); }
.consent input:checked + .consent__box::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--ink); outline-offset: 3px; }
.field.has-error .consent__box { border-color: var(--red); }
.consent__text a { font-weight: 700; }
.field .consent { font: 500 15px/1.4 var(--display); letter-spacing: 0; text-transform: none; }

/* igen / nem választó (rádiógombok, nagy érintési felülettel) */
.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 8px; font: 700 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.choice legend b { color: var(--red); }
.choice__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .choice__opt { position: relative; display: block; cursor: pointer; font: 700 16px/1.2 var(--display); letter-spacing: 0; text-transform: none; }
.choice__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__box {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 14px;
    background: var(--paper); border: 2px solid var(--ink); transition: background .12s, color .12s, box-shadow .12s, transform .12s;
}
.choice__box i { flex: none; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.choice__box i::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform .12s; }
.choice__opt input:checked + .choice__box { background: var(--ink); color: var(--paper); }
.choice__opt input:checked + .choice__box i::after { transform: scale(1); }
.choice__opt input:focus-visible + .choice__box { outline: 3px solid var(--ink); outline-offset: 3px; }
.field.has-error .choice__box { border-color: var(--red); }


.form__alert { margin-bottom: 20px; padding: 12px 14px; background: #fff0ee; border: 2px solid var(--red); color: var(--red); font: 700 13px/1.4 var(--mono); }
.form__fine { margin-top: 14px; color: var(--mute); font-size: 11px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* 8 · LÁBLÉC ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; border-top: 2px solid var(--lime); }
.site-footer__top { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.site-footer__brand { margin-bottom: clamp(28px, 4vw, 48px); gap: 14px; }
.site-footer__brand .logo-mark { width: 52px; height: 52px; }
.site-footer__brand .wordmark { font-size: 24px; }
.site-footer__claim { font: 800 clamp(32px, 4vw, 58px)/.98 var(--display); letter-spacing: -.038em; }
.site-footer__claim a { color: var(--lime); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 4px no-repeat; transition: background-size .3s; }
.site-footer__claim a:hover { background-size: 100% 4px; }
.site-footer h2 { color: #8f8e86; margin-bottom: 16px; font-size: 11.5px; }
.site-footer ul { list-style: none; margin: 0; display: grid; gap: 9px; font-weight: 600; font-size: 17px; }
.site-footer ul + ul { margin-top: 9px; }
.site-footer a { text-decoration: none; }
.site-footer ul a:hover { color: var(--lime); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 18px; border-top: 1px solid rgba(243, 242, 236, .22); color: #9d9c93; font-size: 11px; }
.site-footer__bottom a:hover { color: var(--lime); }

/* 9 · ASSZISZTENS ---------------------------------------------------------------- */
.agent { display: none; }
.js .agent { display: block; }
.agent__tab {
    position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 18px 10px 14px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); border-right: 0; cursor: pointer;
    font: 800 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
    box-shadow: -5px 5px 0 var(--ink); transition: padding .2s, box-shadow .2s;
    clip-path: polygon(0 16px, 16px 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.agent__tab:hover { padding-right: 16px; }
.agent__tab-text { writing-mode: vertical-rl; transform: rotate(180deg); }
.agent__tab-mark { display: grid; place-items: center; width: 24px; height: 24px; background: var(--ink); color: var(--lime); font-size: 14px; }
.agent__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); animation: ping-ink 2.2s infinite; }
@keyframes ping-ink {
    0% { box-shadow: 0 0 0 0 rgba(14, 14, 14, .5); }
    70%, 100% { box-shadow: 0 0 0 10px rgba(14, 14, 14, 0); }
}
.agent.is-open .agent__tab { visibility: hidden; }

.agent__panel {
    position: fixed; z-index: 70; right: 0; top: 0; bottom: 0; width: min(410px, 100vw);
    display: flex; flex-direction: column; background: var(--ink); color: var(--paper);
    border-left: 3px solid var(--lime);
    transform: translateX(105%); transition: transform .36s cubic-bezier(.2, .8, .2, 1);
}
.admin-bar .agent__panel { top: 32px; }
.agent__panel.is-open { transform: none; }
.agent__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid rgba(243, 242, 236, .22); }
.agent__head strong { display: block; font: 800 20px/1.1 var(--display); letter-spacing: -.03em; }
.agent__head span { display: block; margin-top: 4px; color: var(--lime); font-size: 11px; }
.agent__close { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--paper); background: none; color: var(--paper); cursor: pointer; }
.agent__close:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.agent__log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 20px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 90%; padding: 12px 14px; font-size: 15.5px; line-height: 1.45; animation: pop .25s ease both; }
.msg p + p { margin-top: .6em; }
.msg--bot { align-self: flex-start; background: var(--ink-2); border: 1px solid rgba(243, 242, 236, .28); }
.msg--user { align-self: flex-end; background: var(--lime); color: var(--ink); font-weight: 700; }
.msg__cta { margin-top: 14px; }
.msg--typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.msg--typing i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; animation: dot 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

.agent__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; border-top: 1px solid rgba(243, 242, 236, .22); max-height: 42%; overflow-y: auto; }
.chip {
    padding: 9px 12px; border: 1.5px solid rgba(243, 242, 236, .45); background: none; color: var(--paper); cursor: pointer;
    font: 600 14px/1.2 var(--display); text-align: left; transition: background .12s, color .12s, border-color .12s;
}
.chip:hover, .chip:focus-visible { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.chip--own { border-style: dashed; }
.chip.is-used { opacity: .55; }
.agent__note { padding: 0 20px 16px; color: #8f8e86; font-size: 10.5px; line-height: 1.5; text-transform: none; letter-spacing: .02em; }

/* 10 · ALOLDALAK ---------------------------------------------------------------- */
.page-head { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.page-head__kicker { color: var(--lime); margin-bottom: 18px; }
.page-head__kicker a { text-decoration: none; }
.page-head__title { font: 800 clamp(44px, 8vw, 128px)/.92 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.page-head__lead { margin: 22px 0 28px; font-size: 20px; max-width: 40ch; color: #cfcfc6; }
.prose-wrap { padding-block: clamp(40px, 6vw, 88px); }
.prose { max-width: 760px; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font: 800 clamp(26px, 3vw, 38px)/1.05 var(--display); letter-spacing: -.04em; }
.prose h3 { margin-top: 1.6em; font: 800 22px/1.15 var(--display); letter-spacing: -.03em; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: var(--lime); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { height: auto; }
.post-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.post-card { padding-block: 28px; border-bottom: 2px solid var(--ink); }
.post-card__title { font: 800 clamp(26px, 3vw, 40px)/1.05 var(--display); letter-spacing: -.04em; margin: 8px 0 10px; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { background: var(--lime); }
.post-card__date { color: var(--mute); }
.navigation.pagination { margin-top: 40px; font: 700 14px var(--mono); }
.navigation.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.navigation.pagination a, .navigation.pagination span { padding: 8px 12px; border: 2px solid var(--ink); text-decoration: none; }
.navigation.pagination .current { background: var(--lime); }

/* 11 · RESZPONZÍV --------------------------------------------------------------- */
@media (max-width: 1180px) {
    .avail { display: none; }
}

@media (max-width: 980px) {
    .grid--services { grid-template-columns: repeat(2, 1fr); }
    .works { grid-template-columns: 1fr; max-width: 560px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step { border-right: 0; border-bottom: 2px dashed rgba(14, 14, 14, .35); padding-left: 0; }
    .step:nth-child(odd) { padding-right: 24px; border-right: 2px dashed rgba(14, 14, 14, .35); }
    .step:nth-child(even) { padding-left: 24px; }
    .plans { grid-template-columns: 1fr; max-width: 560px; }
    .plan--featured { margin: 28px 0; }
    .about { grid-template-columns: 1fr; }
    .quote { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
    .site-footer__lead { grid-column: 1 / -1; }
    .sec__lead { margin-left: 0; margin-top: -16px; }
}

@media (max-width: 900px) {
    .burger { display: inline-block; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px;
        padding: 36px var(--gut); background: var(--ink); overflow-y: auto;
        transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
    }
    .admin-bar .nav { inset-block-start: calc(var(--header-h) + 46px); }
    .nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
    .nav__list { flex-direction: column; gap: 6px; width: 100%; }
    .nav__list a { font: 800 clamp(34px, 9vw, 54px)/1.1 var(--display); letter-spacing: -.04em; text-transform: none; padding: 8px 0; border: 0; }
    .nav__cta { display: inline-flex; }
    .header-cta { display: none; }
    .site-header__right { gap: 0; }
}

@media (max-width: 760px) {
    body { font-size: 16.5px; }
    .sec__head { grid-template-columns: 1fr; gap: 18px; }
    .sec__no { max-width: 210px; }
    .grid--services { grid-template-columns: 1fr; }
    .cell { min-height: 0; }
    .steps { grid-template-columns: 1fr; }
    .step:nth-child(odd), .step:nth-child(even) { padding: 22px 0 32px; border-right: 0; }
    .about__facts { grid-template-columns: 1fr; }
    .fact + .fact { border-left: 0; border-top: 2px solid var(--ink); }
    .form__row { grid-template-columns: 1fr; }
    .faq__a { padding-right: 0; }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
    .site-footer__legalcol { grid-column: 1 / -1; }
    .quote__panel { box-shadow: 8px 8px 0 #2f2f2c; }
    .site-footer__brand .logo-mark { width: 46px; height: 46px; }

    .agent__tab { padding: 14px 7px 10px; font-size: 11.5px; gap: 8px; box-shadow: -3px 3px 0 var(--ink); }
    .agent__tab-mark { width: 20px; height: 20px; font-size: 12px; }
    .agent__panel { top: auto; width: 100%; height: min(90svh, 760px); border-left: 0; border-top: 3px solid var(--lime); transform: translateY(105%); }
    .admin-bar .agent__panel { top: auto; }
    .agent__chips { max-height: 48%; padding: 12px 16px; gap: 6px; }
    .agent__log { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .bd-site *, .bd-site *::before, .bd-site *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .ticker__track { animation: none; }
    .work__shot { transition: none; }
    .work:hover .work__shot { transform: none; }
}

/* 13 · SÜTI-SÁV ÉS TÁJÉKOZTATÓ ABLAKOK --------------------------------------------
   A süti-sáv nem takarja el az oldalt (nincs "süti-fal"), a két gomb azonos méretű és súlyú. */
.ckbar[hidden], .legal:not([open]) { display: none; }
.ckbar {
    position: fixed; z-index: 95; left: var(--gut); bottom: var(--gut);
    width: min(470px, calc(100vw - 2 * var(--gut))); padding: 18px 20px 20px;
    background: var(--ink); color: var(--paper); border: 2px solid #3a3a36; box-shadow: 7px 7px 0 #2f2f2c;
    animation: ck-in .5s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes ck-in { from { opacity: 0; transform: translateY(24px); } }
.ckbar__title { color: var(--lime); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.ckbar__text { font-size: 15px; line-height: 1.5; }
.ckbar__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 14px; }
.ckbar__links a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ckbar__links a:hover { background: var(--lime); color: var(--ink); text-decoration-color: transparent; }
.ckbar__btns { display: flex; gap: 10px; margin-top: 16px; }
.ckbtn {
    flex: 1; min-height: 46px; padding: 10px 14px; border: 2px solid var(--paper); border-radius: 0; background: var(--paper); color: var(--ink);
    font: 800 12.5px/1.15 var(--mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}
.ckbar [data-consent="all"] { background: var(--lime); border-color: var(--lime); }
.ckbtn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 #55680f; }
.ckbtn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.legal .ckbtn { flex: none; border-color: var(--ink); }
.legal .ckbtn:hover { box-shadow: 3px 3px 0 var(--ink); }
.legal .ckbtn:focus-visible { outline-color: var(--ink); }
.ckbtn--line { background: transparent; }
@media (max-width: 520px) { .ckbar__btns { flex-direction: column; } }

/* lábléc, jogi oszlop: az impresszum és a tájékoztatók gombok, mind felugró ablakot nyitnak (a süti-beállítás a süti-sávot) */
.site-footer .site-footer__legal { gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(243, 242, 236, .18); }
.site-footer .site-footer__legal li { border-bottom: 1px solid rgba(243, 242, 236, .18); }
.lgl {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 13px 0;
    border: 0; border-radius: 0; background: none; color: var(--paper); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: left; text-decoration: none; cursor: pointer;
    transition: color .2s ease, padding .25s ease;
}
.lgl i { flex: none; font: 500 18px/1 var(--mono); font-style: normal; color: var(--lime); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.lgl:hover, .site-footer ul a.lgl:hover { color: var(--lime); padding-left: 6px; }
.lgl:hover i { transform: rotate(90deg); }
.site-footer__ck:hover i { transform: translateX(4px); }
.lgl:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* impresszum ablak */
.legal--imprint { width: min(620px, calc(100vw - 24px)); }
.imprint__name { margin: 0 0 20px; font: 800 clamp(26px, 3.4vw, 38px)/1.05 var(--display); letter-spacing: -.03em; }
.imprint { margin: 0; border-top: 2px solid var(--ink); }
.imprint__row { display: grid; grid-template-columns: minmax(0, 11.5em) minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid rgba(14, 14, 14, .28); }
.imprint dt { padding-top: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #55544c; }
.imprint dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.imprint dd a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .imprint__row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); } }

.legal {
    width: min(880px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0;
    border: 3px solid var(--ink); background: var(--paper-2); color: var(--ink); box-shadow: 12px 12px 0 #2f2f2c; overflow: hidden;
}
.legal[open] { display: flex; animation: ck-in .35s cubic-bezier(.2, .8, .2, 1) both; }
.legal::backdrop { background: rgba(14, 14, 14, .76); }
.legal__in { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 30px); }
.legal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px clamp(18px, 3vw, 32px) 18px; background: var(--ink); color: var(--paper); }
.legal__kicker { margin-bottom: 8px; color: var(--lime); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal__head h2 { font: 800 clamp(24px, 3.4vw, 40px)/1 var(--display); letter-spacing: -.04em; }
.legal__x { flex: none; width: 44px; height: 44px; border: 2px solid var(--paper); border-radius: 0; background: none; color: var(--paper); font: 400 26px/1 var(--mono); cursor: pointer; }
.legal__x:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.legal__x:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.legal__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(18px, 3vw, 32px); }
.legal .prose { max-width: none; font-size: 16px; line-height: 1.6; }
.legal .prose h2 { margin-top: 1.7em; font-size: clamp(20px, 2.4vw, 27px); }
.legal .prose h2:first-child { margin-top: 0; }
.legal .prose h3 { margin-top: 1.3em; font-size: 18px; }
.legal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px clamp(18px, 3vw, 32px); border-top: 2px solid var(--ink); }
.legal__full { margin-right: auto; font: 700 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.legal__full:hover { background: var(--lime); }
html.has-legal { overflow: hidden; }
@media (max-width: 520px) { .legal { box-shadow: 6px 6px 0 #2f2f2c; } .legal__foot .ckbtn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .ckbar, .legal[open] { animation: none; } }

@media print {
    .site-header, .agent, .ticker { display: none !important; }
}

/* 12 · BEÚSZÓ DOBOZOK ---------------------------------------------------------
   A [data-reveal] elemek görgetésre úsznak be (assets/js/main.js, initReveal).
   A tartalom JS nélkül és csökkentett mozgás mellett is látszik: a rejtett állapot
   csak a .reveal-on osztállyal él, amit a szkript tesz fel. */
.reveal-on [data-reveal] {
    opacity: 0; transform: translate3d(0, 44px, 0) scale(.988); filter: blur(6px);
    /* a homály (filter) a többinél jóval hamarabb tisztul ki: a tartalom még mozog, de már éles */
    transition: opacity .4s cubic-bezier(.22, .8, .24, 1), transform .5s cubic-bezier(.22, .8, .24, 1), filter .24s ease-out;
    transition-delay: calc(var(--d, 0) * 55ms);
    will-change: opacity, transform;
}
.reveal-on [data-reveal="left"] { transform: translate3d(-72px, 0, 0); }
.reveal-on [data-reveal="right"] { transform: translate3d(72px, 0, 0); }
.reveal-on [data-reveal="zoom"] { transform: translate3d(0, 40px, 0) scale(.9); }
/* a hat szolgáltatás-doboz lassabban, sorban, egyenesen úszik be, közben kiélesedik */
.reveal-on [data-reveal="box"] {
    opacity: 0; transform: translate3d(0, 64px, 0) scale(.97); filter: blur(7px);
    transition: opacity .5s cubic-bezier(.22, .7, .24, 1), transform .66s cubic-bezier(.16, .8, .22, 1), filter .28s ease-out;
    transition-delay: calc(var(--d, 0) * 100ms);
}
@media (max-width: 980px) and (min-width: 761px) { .reveal-on [data-reveal="box"] { transition-delay: calc(var(--d2, 0) * 100ms); } }
@media (max-width: 760px) { .reveal-on [data-reveal="box"] { transition-delay: 0ms; } }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* a csomag-kártyák: a beúszás mellé a ráállásos felemelkedés és az árnyék átmenete is kell */
.reveal-on .plan[data-reveal] {
    transition: opacity .4s cubic-bezier(.22, .8, .24, 1), transform .5s cubic-bezier(.22, .8, .24, 1), filter .24s ease-out, translate .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
    transition-delay: calc(var(--d, 0) * 55ms), calc(var(--d, 0) * 55ms), calc(var(--d, 0) * 55ms), 0ms, 0ms;
}
@media (prefers-reduced-motion: reduce) { .reveal-on .plan[data-reveal] { transition: none; } }
@media print { .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; } }
