/* ===================================================================
   TARGONCÁSOK – Landing
   Hubtown-ihlette dizájn: sötétkék + halványkék, becsapott sarkú dobozok
   =================================================================== */

:root {
    /* Hyster-ihlette ipari paletta: sötét szürkésfekete + sárga + piros */
    --dark-blue: #22262d;          /* fő sötét háttér */
    --dark-blue-2: #171a1f;
    --off-blue: #f2f2f2;           /* fő világos szöveg/felület */
    --off-blue-60: rgba(255, 255, 255, 0.6);
    --off-blue-40: rgba(255, 255, 255, 0.4);
    --off-blue-20: rgba(255, 255, 255, 0.2);
    --off-blue-10: rgba(255, 255, 255, 0.1);
    --off-blue-05: rgba(255, 255, 255, 0.05);
    --yellow: #ffd100;             /* ipari sárga akcent */
    --yellow-2: #ffdb33;
    --red: #e2231a;                /* fő CTA gomb */
    --red-2: #c41d12;
    --ink: rgba(0, 0, 0, 1);
    --bevel: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    --pad: 2.5rem;
    --display: 'Roboto', system-ui, sans-serif;
    --grotesk: 'Roboto', system-ui, sans-serif;
    --mono: 'Roboto', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; } /* a simítást a Lenis intézi (ütközés elkerülése) */

body {
    font-family: var(--grotesk);
    background: var(--dark-blue);
    color: var(--off-blue);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--off-blue); color: var(--dark-blue); }

/* ===== LOADER ===== */
.loader {
    position: fixed; inset: 0; z-index: 1000;
    background: var(--dark-blue);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { width: 220px; text-align: center; }
.loader__bar { height: 2px; background: var(--off-blue-10); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--off-blue); transition: width .2s ease; }
.loader__text {
    margin-top: 1rem; font-family: var(--mono); font-size: 11px;
    letter-spacing: .16em; color: var(--off-blue-60);
}
.loader__text em { font-style: normal; color: var(--off-blue); }

/* ===== BACKGROUND (tiszta, statikus, nyugodt sötét) ===== */
.scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(125% 90% at 50% -10%, #2b2f37 0%, #21242b 45%, #171a1f 100%); }
/* finom ipari rács-textúra a szélek felé halványulva */
.scene::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 66px 66px;
    -webkit-mask-image: radial-gradient(120% 100% at 50% 28%, #000 38%, transparent 88%);
    mask-image: radial-gradient(120% 100% at 50% 28%, #000 38%, transparent 88%);
}
.scene__vignette {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(130% 100% at 50% 40%, transparent 60%, rgba(0,0,0,.5) 100%);
}

/* ===== FRAME ===== */
.frame {
    position: fixed; inset: 0.625rem; z-index: 5; pointer-events: none;
    border: 1px solid var(--off-blue-10);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
@media (min-width: 768px) { .frame { inset: var(--pad); } }

/* ===== BEVELED BUTTONS ===== */
.btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    padding: 18px 26px; clip-path: var(--bevel);
    font-family: var(--grotesk); font-weight: 700; font-size: 11px;
    letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
    transition: opacity .3s ease;
}
.btn--lg { padding: 20px 30px; font-size: 12px; }
.btn--full { width: 100%; justify-content: center; }
.btn__label { position: relative; z-index: 2; }

.btn--ghost { color: var(--off-blue); background: var(--off-blue-20); }
.btn--ghost::after {
    content: ''; position: absolute; inset: 1px; clip-path: var(--bevel); z-index: 0;
    background: var(--off-blue-05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.btn--ghost:hover { opacity: 1; }
.btn--ghost:hover::after { background: var(--off-blue-10); }

.btn--solid { color: #fff; background: var(--red); }
.btn--solid:hover { background: var(--red-2); opacity: 1; }

/* Menü gomb: márka-sárga, sötét szöveg */
#menuOpen { color: var(--dark-blue); background: var(--yellow); }
#menuOpen:hover { background: var(--yellow-2); }

/* dot icon clusters (echo of the Hubtown corner dots) */
.btn__dots { position: relative; z-index: 2; width: 12px; height: 12px; flex: none; }
.btn__dots::before, .btn__dots::after { content: ''; position: absolute; width: 4px; height: 4px; background: currentColor; }
.btn__dots--menu::before { top: 0; left: 0; box-shadow: 8px 0 currentColor, 0 8px currentColor, 8px 8px currentColor; }
.btn__dots--login { width: 8px; }
.btn__dots--login::before { top: 0; left: 0; box-shadow: 0 8px currentColor; }
.btn__dots--login::after { top: 50%; right: 0; transform: translateY(-50%); }

/* ===== TOP BAR ===== */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.6rem 2.2rem;
}
@media (min-width: 768px) { .topbar { padding: 2rem 2.5rem; } }
.logo {
    display: inline-block; font-family: var(--display); font-weight: 900; font-size: 1.3rem;
    letter-spacing: .04em; text-transform: uppercase; color: var(--dark-blue);
    background: var(--yellow); padding: 7px 15px 5px; transform: skewX(-9deg);
    line-height: 1;
}
.logo:hover { background: var(--yellow-2); }
.topbar__actions { display: flex; gap: 0; }

/* ===== SIDE NAV (csak pöttyök, felirat hoverre — nem lóg bele a tartalomba) ===== */
.sidenav {
    position: fixed; top: 50%; left: 1.6rem; transform: translateY(-50%);
    z-index: 30; display: flex; flex-direction: column; gap: .9rem;
}
.sidenav__item { position: relative; display: flex; align-items: center; width: 10px; height: 10px; }
.sidenav__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--off-blue-40); transition: background .3s ease, transform .3s ease, box-shadow .3s ease; }
.sidenav__item:hover .sidenav__dot { background: var(--off-blue); }
.sidenav__item.is-active .sidenav__dot { background: var(--yellow); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(255,209,0,.18); }
/* felirat: kiugró sárga címke csak hoverre */
.sidenav__item > span:last-child {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%) translateX(-6px);
    white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--dark-blue); background: var(--yellow); padding: 5px 11px;
    opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.sidenav__item:hover > span:last-child { opacity: 1; transform: translateY(-50%); }
@media (max-width: 820px) { .sidenav { display: none; } }

/* ===== SECTIONS ===== */
.section {
    position: relative; z-index: 10;
    min-height: auto;                         /* tartalom-magasság, nincs erőltetett 100vh-üresség */
    display: flex; align-items: center;
    padding: clamp(5rem, 11vh, 8rem) 2.2rem;
}
@media (min-width: 768px) { .section { padding: clamp(5.5rem, 12vh, 8.5rem) 6rem; } }
.section__inner { width: 100%; max-width: 1100px; margin: 0 auto; }
.section__inner--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem;
    font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--off-blue);
}
.eyebrow__sq { width: 8px; height: 8px; background: var(--yellow); }
.eyebrow--dark { color: var(--dark-blue); }
.eyebrow--dark .eyebrow__sq { background: var(--dark-blue); }

.hero__title, .section__title {
    font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95;
    letter-spacing: .005em;
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
}
.hero__title { color: var(--yellow); }
.section__title { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
.section__title--center { text-align: center; }

.lead {
    margin-top: 1.6rem; max-width: 36ch;
    font-weight: 300; font-size: clamp(.95rem, 1.4vw, 1.05rem);
    line-height: 1.6; letter-spacing: -.01em; color: var(--off-blue-60);
}
.lead--center { max-width: 52ch; margin-left: auto; margin-right: auto; }
.lead strong { color: var(--off-blue); font-weight: 500; }

.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.section__inner--center .hero__cta { justify-content: center; }

/* ===== HERO HÁTTÉRVIDEÓ ===== */
#fooldal { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--dark-blue-2); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.92); }
.hero-media__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(8,9,11,.94) 0%, rgba(8,9,11,.62) 45%, rgba(8,9,11,.2) 100%),
        linear-gradient(to top, rgba(8,9,11,.92), transparent 55%);
}
#fooldal .section__inner { position: relative; z-index: 2; }

/* ===== QUOTE ===== */
.quote {
    max-width: 22ch; font-weight: 700; text-transform: uppercase; line-height: 1.05;
    font-size: clamp(1.6rem, 3.8vw, 2.8rem); letter-spacing: .01em;
    margin-bottom: 2rem;
}

/* ===== CARDS ===== */
.cards {
    list-style: none; margin-top: 3rem;
    display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    background: var(--off-blue-10);
    border: 1px solid var(--off-blue-10);
}
.card { background: rgba(20,22,26,.6); backdrop-filter: blur(8px); padding: 2rem 1.8rem; }
.card__num { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--off-blue-40); }
.card h3 { margin: 1.4rem 0 .6rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; }
.card p { font-weight: 300; font-size: .92rem; line-height: 1.55; color: var(--off-blue-60); }

/* ===== BADGE ===== */
.badge {
    display: inline-block; margin-bottom: 1.4rem; padding: 8px 16px;
    font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--dark-blue); background: var(--yellow); clip-path: var(--bevel);
}

/* ===== STATS ===== */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; margin-top: 3rem; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num { font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.stat__suffix { display: none; }
.stat__num::after { content: '+'; }
.stat:last-child .stat__num::after { content: '%'; }
.stat__label { margin-top: .6rem; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--off-blue-60); }

/* ===== FORM TABS (Cég / Targoncavezető választó) ===== */
.formtabs { display: inline-flex; gap: 1px; margin: 2.4rem auto 0; background: var(--off-blue-10); border: 1px solid var(--off-blue-20); }
.formtab {
    padding: 12px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--off-blue-60); background: transparent; transition: color .2s ease, background .2s ease;
}
.formtab:hover { color: var(--off-blue); }
.formtab.is-active { color: var(--dark-blue); background: var(--yellow); }
@media (max-width: 480px) { .formtab { padding: 11px 14px; font-size: 10px; } }

/* ===== SIGNUP FORM ===== */
.signup { width: 100%; max-width: 560px; margin: 1.6rem auto 0; text-align: left; }
.signup.is-hidden { display: none; }
.field textarea {
    width: 100%; padding: 14px 16px; color: var(--off-blue); font-size: .95rem; font-family: var(--grotesk);
    background: var(--off-blue-05); border: 1px solid var(--off-blue-20); outline: none; resize: vertical; min-height: 80px;
    clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
    transition: border-color .25s ease, background .25s ease;
}
.field textarea::placeholder { color: var(--off-blue-40); }
.field textarea:focus { border-color: var(--yellow); background: var(--off-blue-10); }
.signup__row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .signup__row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 1rem; }
.field__label { display: block; margin-bottom: .5rem; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--off-blue-60); }
.field input {
    width: 100%; padding: 14px 16px; color: var(--off-blue); font-size: .95rem; font-family: var(--grotesk);
    background: var(--off-blue-05); border: 1px solid var(--off-blue-20); outline: none;
    clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
    transition: border-color .25s ease, background .25s ease;
}
.field input::placeholder { color: var(--off-blue-40); }
.field input:focus { border-color: var(--yellow); background: var(--off-blue-10); }
.field input:invalid:not(:placeholder-shown) { border-color: #ff6b6b; }

.field select {
    width: 100%; padding: 14px 40px 14px 16px; color: var(--off-blue); font-size: .95rem; font-family: var(--grotesk);
    background-color: var(--off-blue-05); border: 1px solid var(--off-blue-20); outline: none;
    clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
    transition: border-color .25s ease, background .25s ease;
    -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffd100' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
.field select:focus { border-color: var(--yellow); background-color: var(--off-blue-10); }
.field select option { background: var(--dark-blue-2); color: var(--off-blue); }

.signup__note { margin-top: .7rem; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--off-blue-40); }

.checkbox { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.6rem; font-size: .82rem; line-height: 1.5; color: var(--off-blue-60); cursor: pointer; }
.checkbox input { flex: none; margin-top: 2px; width: 16px; height: 16px; accent-color: var(--off-blue); }

.signup__msg { margin-top: 1rem; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; min-height: 1.2em; }
.signup__msg.is-ok { color: #5fe0a0; }
.signup__msg.is-err { color: #ff8080; }

/* ===== BOTTOM BAR ===== */
.bottombar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    display: flex; align-items: stretch; justify-content: space-between;
    border-top: 1px solid var(--off-blue-10);
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
    font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.bottombar__progress { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--off-blue-05); pointer-events: none; transition: width .2s ease; }
.bottombar__side {
    position: relative; z-index: 2; display: flex; align-items: center; gap: .6rem;
    padding: 1.4rem 2rem; color: var(--off-blue); transition: background .25s ease;
}
.bottombar__side:hover { background: var(--off-blue-05); }
.bottombar__side--right { border-left: 1px solid var(--off-blue-10); }
.bottombar__side:first-of-type { border-right: 1px solid var(--off-blue-10); }
.bottombar__sq { width: 8px; height: 8px; background: var(--yellow); }
.bottombar__icon, .bottombar__arrow { width: 16px; height: 16px; }
.bottombar__center {
    position: relative; z-index: 2; display: flex; align-items: center; gap: .7rem;
    padding: 1.4rem; color: var(--off-blue-60);
}
.bottombar__arrow { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(-2px)} 50%{transform:translateY(2px)} }
@media (max-width: 640px) { .bottombar__center span { display: none; } .bottombar__side span:not(.bottombar__sq) { display: none; } }

/* ===== MENU OVERLAY ===== */
.menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; backdrop-filter: blur(4px); transition: opacity .4s ease; }
.menu.is-open .menu__scrim { opacity: 1; }
.menu__panel {
    position: absolute; top: 0; right: 0; height: 100%;
    width: min(560px, 90vw);
    background: var(--off-blue); color: var(--dark-blue);
    padding: 2.2rem 2.5rem;
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .5s cubic-bezier(.16,1,.3,1);
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
}
.menu.is-open .menu__panel { transform: translateX(0); }
.menu__top { display: flex; align-items: flex-start; justify-content: space-between; }
.btn--close { color: var(--dark-blue); background: rgba(0,0,0,.07); }
.btn--close .btn__label { color: var(--dark-blue); }

.menu__nav { margin: 2.5rem 0 auto; display: flex; flex-direction: column; }
.menu__nav a {
    font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1.0;
    font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: 0;
    color: var(--dark-blue); transition: opacity .2s ease, padding-left .25s ease;
}
.menu__nav a:hover { opacity: .55; padding-left: 12px; }

.menu__links { margin-top: 2rem; }
.menu__links ul { list-style: none; margin-top: 1rem; }
.menu__links li { border-top: 1px solid rgba(0,0,0,.12); }
.menu__links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(0,0,0,.75); transition: color .2s ease, padding-left .2s ease;
}
.menu__links a:hover { color: var(--dark-blue); padding-left: 8px; }
.menu__links em { font-style: normal; color: rgba(0,0,0,.4); }

.menu__foot {
    margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(0,0,0,.12);
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
}
.menu__social { display: flex; gap: 1rem; }
.menu__social a { width: 26px; height: 26px; display: grid; place-items: center; background: rgba(0,0,0,.08); border-radius: 50%; font-size: 13px; transition: background .2s ease; }
.menu__social a:hover { background: rgba(0,0,0,.18); }

/* ===== HIGHLIGHT (kiemelt szó címben) ===== */
.hl { color: var(--yellow); }

/* ===== TRUST MARQUEE (csúszó logók) ===== */
.marquee-band {
    position: relative; z-index: 10; padding: 2.4rem 2.2rem;
    border-top: 1px solid var(--off-blue-10); border-bottom: 1px solid var(--off-blue-10);
    background: rgba(0,0,0,.25);
}
@media (min-width: 768px) { .marquee-band { padding: 2.4rem 6rem; } }
.marquee-band__label {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem;
    font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--off-blue-60);
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { display: flex; align-items: center; gap: .7rem; padding: 0 2.4rem; color: var(--off-blue); opacity: .5; transition: opacity .3s ease; white-space: nowrap; }
.logo-chip:hover { opacity: 1; }
.logo-chip svg { width: 24px; height: 24px; flex: none; color: var(--yellow); }
.logo-chip span { font-family: var(--display); font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; }

/* ===== KÁRTYÁK – IRÁNYÉRZÉKENY HOVER (floema-ihlette) ===== */
.cards.is-reveal .card { position: relative; overflow: hidden; isolation: isolate; }
.card__img {
    position: absolute; inset: 0; z-index: 0;
    background-color: #1b1e24; background-image: var(--img, none); background-size: cover; background-position: center;
    transform-origin: var(--bg-origin, 50% 50%);
    transform: scaleX(var(--bg-sx, 0)) scaleY(var(--bg-sy, 0));
    border-radius: var(--bg-radius, 160px);
    transition: var(--bg-trans, none);
    will-change: transform, border-radius;
}
.card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,13,.9), rgba(10,11,13,.45)); }
.cards.is-reveal .card > .card__num,
.cards.is-reveal .card > h3,
.cards.is-reveal .card > p { position: relative; z-index: 1; }
.cards.is-reveal .card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; z-index: 3;
    background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.19,1,.22,1);
}
.cards.is-reveal .card.is-hover::before { transform: scaleX(1); }
.card__arrow { position: absolute; top: 1.4rem; right: 1.4rem; width: 18px; height: 18px; z-index: 3; color: var(--yellow); opacity: 0; transform: translateX(-6px); transition: opacity .35s ease, transform .35s ease; }
.cards.is-reveal .card.is-hover .card__arrow { opacity: 1; transform: none; }
/* érintős / kis kijelző: statikus halvány háttér (ne villogjon) */
@media (hover: none), (max-width: 700px) {
    .card__img { transform: none; border-radius: 0; opacity: .26; }
}

/* ===== RAJZOLÓDÓ VONAL-ELVÁLASZTÓ (floema-ihlette) ===== */
.line-sep { position: relative; z-index: 10; height: 1px; margin: 0 2.2rem; background: var(--off-blue-05); overflow: hidden; }
@media (min-width: 768px) { .line-sep { margin: 0 6rem; } }
.line-sep__bar { display: block; height: 100%; width: 100%; background: var(--off-blue-40); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.19,1,.22,1); }
.line-sep.is-drawn .line-sep__bar { transform: scaleX(1); }

/* ===== 3D SZOLGÁLTATÁS-KÁRTYÁK (stage) ===== */
.section--stage { display: block; min-height: auto; padding-top: 7rem; padding-bottom: 3rem; }
.section--stage .section__inner { max-width: 1100px; margin: 0 auto; }
.svc-stage { position: relative; width: 100%; height: min(68vh, 700px); min-height: 440px; margin-top: 1.6rem; }
#svcCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.svc-hint {
    position: absolute; left: 50%; bottom: .3rem; transform: translateX(-50%);
    font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--off-blue-40); pointer-events: none; transition: opacity .4s ease;
}
.svc-stage.is-open .svc-hint { opacity: 0; }

.svc-detail { position: absolute; inset: 0; z-index: 5; display: flex; justify-content: flex-end; }
.svc-detail[hidden] { display: none; }
.svc-detail__scrim { position: absolute; inset: 0; background: rgba(8,9,11,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s ease; }
.svc-detail.is-open .svc-detail__scrim { opacity: 1; }
.svc-detail__panel {
    position: relative; z-index: 1; width: min(460px, 92%); align-self: stretch;
    display: flex; flex-direction: column; justify-content: center; gap: 1rem;
    padding: 3rem 2.6rem; background: rgba(14,16,20,.96); border-left: 1px solid var(--off-blue-10);
    transform: translateX(100%); transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.svc-detail.is-open .svc-detail__panel { transform: none; }
.svc-detail__close { position: absolute; top: 1.3rem; right: 1.3rem; width: 38px; height: 38px; display: grid; place-items: center; color: var(--off-blue); background: var(--off-blue-10); transition: background .2s ease; }
.svc-detail__close svg { width: 16px; height: 16px; }
.svc-detail__close:hover { background: var(--off-blue-20); }
.svc-detail__num { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--yellow); }
.svc-detail__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.svc-detail__desc { font-weight: 300; line-height: 1.6; color: var(--off-blue-60); }
.svc-detail .btn { align-self: flex-start; margin-top: .6rem; }
@media (max-width: 640px) { .svc-detail__panel { width: 100%; } }

/* ===== HERO (60fps-szerkezet) ===== */
.section--hero { display: block; padding: 0; min-height: 100vh; min-height: 100dvh; }
.hero-inner {
    position: relative; z-index: 10; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 8.5rem 2.2rem 6rem;
}
@media (min-width: 768px) { .hero-inner { padding: 9rem 6rem 5.5rem; } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--off-blue-60); }
.hero-headline { display: flex; flex-direction: column; font-family: var(--grotesk); line-height: 1.0; letter-spacing: -.015em; }
.hero-headline__accent { color: var(--yellow); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.8rem); }
.hero-headline__main { color: var(--off-blue); font-weight: 900; font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
.section--hero .hero__cta { margin-top: 2rem; }

.hero-projects { width: 100%; }
.hero-projects__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hero-projects__label { color: var(--off-blue); }
.hero-projects__count { color: var(--yellow); }

/* szekció-fejléc a Szolgáltatásoknál (cím + /4 számláló) */
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.svc-head__count { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--yellow); padding-top: .5rem; }

/* szolgáltatás-kártyák: EGY közös B&W kép négy negyedre osztva, hoverre besötétül + középre úszik a felirat */
.hcards { position: relative; list-style: none; display: flex; gap: 2px; height: clamp(250px, 38vh, 400px); margin-top: 2.4rem; overflow: hidden; clip-path: var(--bevel); }
.hcards::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background-image: var(--split-img); background-size: cover; background-position: center;
    filter: grayscale(1) contrast(1.14) brightness(.8);
}
.hcards::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to top, rgba(8,9,11,.6), rgba(8,9,11,.12)); }
.hcards > li { flex: 1 1 0; min-width: 0; display: flex; }
.hcard { position: relative; flex: 1; min-width: 0; display: block; overflow: hidden; color: var(--off-blue); }
.hcard__num { position: absolute; top: 1rem; left: 1.1rem; z-index: 3; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--off-blue); transition: opacity .4s ease; }
.hcard__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(8,9,11,.85); opacity: 0; transform: scaleY(0); transform-origin: bottom; transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1); }
.hcard:hover .hcard__overlay,
.hcard.is-active .hcard__overlay { opacity: 1; transform: scaleY(1); }   /* a kép „felwipe-olódva" eltűnik (hover v. tap) */
.hcard:hover .hcard__num,
.hcard.is-active .hcard__num { opacity: 0; }
.hcard__center {
    position: absolute; inset: 0; z-index: 2; padding: 1rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; text-align: center;
    opacity: 0; transform: translateY(14px); transition: opacity .5s ease .1s, transform .5s ease .1s; pointer-events: none;
}
.hcard:hover .hcard__center,
.hcard.is-active .hcard__center { opacity: 1; transform: none; }
.hcard__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem, 1.7vw, 1.6rem); line-height: 1.05; letter-spacing: .01em; }
.hcard__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.hcard__tags span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--off-blue-20); color: var(--off-blue-60); white-space: nowrap; }
.hcard__arrow { width: 22px; height: 22px; color: var(--yellow); }
.hcard--soon .hcard__tags span { background: var(--yellow); color: var(--dark-blue); border-color: var(--yellow); }

@media (max-width: 760px) {
    /* felső sáv: az Ajánlatkérés a heróban úgyis ott van → itt csak logó + Menü férjen ki */
    .topbar { padding: 1.1rem 1.2rem; }
    .topbar__actions .btn--ghost { display: none; }
    .topbar__actions .btn { padding: 14px 18px; }

    /* hero: a „targoncavezetőket" hosszú szó ne vágódjon le */
    .hero-inner { padding: 7.5rem 1.4rem 4.5rem; }
    .hero-headline__accent { font-size: clamp(1.7rem, 6.6vw, 3.8rem); }
    .hero-headline__main { font-size: clamp(2rem, 9vw, 5.4rem); }

    /* szolgáltatás-kártyák: 2×2, az effekt TAP-re jön (.is-active), num mindig látszik */
    .hcards { flex-wrap: wrap; height: auto; gap: 2px; }
    .hcards > li { flex: 1 1 calc(50% - 1px); }   /* valódi 2×2 (a 2px gap miatt -1px) */
    .hcard { height: 44vw; min-height: 150px; }
    .hcard__center { gap: .6rem; }
}

/* ===== FOLYAMAT IDŐVONAL ===== */
.timeline { position: relative; width: 100%; max-width: 980px; margin: 3.4rem auto 0; }
.timeline__line { position: absolute; top: 42px; left: 12%; right: 12%; height: 2px; background: var(--off-blue-10); overflow: hidden; z-index: 0; }
.timeline__fill { display: block; height: 100%; width: 0; background: var(--yellow); transition: width 1.6s cubic-bezier(.16,1,.3,1); }
.timeline.is-in .timeline__fill { width: 100%; }
.timeline__steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; z-index: 1; }
.tstep { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tstep__node {
    width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
    background: var(--dark-blue); border: 2px solid var(--off-blue-20);
    transition: border-color .5s ease, box-shadow .5s ease;
}
.tstep__num { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--off-blue-40); transition: color .5s ease; }
.timeline.is-in .tstep .tstep__node { border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(255,209,0,.1); }
.timeline.is-in .tstep .tstep__num { color: var(--yellow); }
.timeline.is-in .tstep:nth-child(1) .tstep__node, .timeline.is-in .tstep:nth-child(1) .tstep__num { transition-delay: .15s; }
.timeline.is-in .tstep:nth-child(2) .tstep__node, .timeline.is-in .tstep:nth-child(2) .tstep__num { transition-delay: .55s; }
.timeline.is-in .tstep:nth-child(3) .tstep__node, .timeline.is-in .tstep:nth-child(3) .tstep__num { transition-delay: .95s; }
.tstep__title { margin-top: 1.5rem; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.05rem, 1.6vw, 1.4rem); line-height: 1.05; letter-spacing: .01em; }
.tstep__desc { margin-top: .8rem; max-width: 26ch; font-weight: 300; font-size: .92rem; line-height: 1.55; color: var(--off-blue-60); }
@media (max-width: 720px) {
    .timeline__line { display: none; }
    .timeline__steps { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ===== KÉT-OSZLOPOS SZEKCIÓK (split) ===== */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 880px) {
    .split--contact { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
    .split--platform { grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
}
.split__left .lead { margin-bottom: 0; }

.contact-points { list-style: none; margin: 2rem 0 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.contact-points li { position: relative; padding-left: 1.6rem; font-size: .95rem; color: var(--off-blue); }
.contact-points li::before { content: ''; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; background: var(--yellow); }
.contact-info { display: flex; flex-direction: column; gap: .5rem; }
.contact-info a { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--off-blue-60); width: fit-content; transition: color .2s ease; }
.contact-info a:hover { color: var(--yellow); }

.stats--left { justify-content: flex-start; gap: 2.4rem; margin-top: 2.2rem; }

.platform-visual {
    position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; clip-path: var(--bevel);
    background-color: #1b1e24;
}
.platform-visual__img { position: absolute; inset: 0; z-index: 0; background-image: var(--img); background-size: cover; background-position: center; filter: grayscale(1) contrast(1.1) brightness(.9); transition: transform 1s cubic-bezier(.16,1,.3,1); }
.platform-visual:hover .platform-visual__img { transform: scale(1.05); }
.platform-visual::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(8,9,11,.7), rgba(8,9,11,.35)); transition: background .4s ease; }
.platform-visual:hover::after { background: linear-gradient(135deg, rgba(8,9,11,.55), rgba(8,9,11,.2)); }
.platform-visual__badge { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 1; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dark-blue); background: var(--yellow); padding: 7px 13px; clip-path: var(--bevel); }
.platform-visual__url { position: absolute; bottom: 1.3rem; left: 1.3rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.9rem); text-transform: lowercase; color: var(--off-blue); }
.platform-visual__url svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }

/* ===== FOOTER ===== */
.footer { position: relative; z-index: 10; padding: 4.5rem 2.2rem 6rem; border-top: 1px solid var(--off-blue-10); background: rgba(0,0,0,.25); }
@media (min-width: 768px) { .footer { padding: 5rem 6rem 6.5rem; } }
.footer__inner { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; max-width: 1280px; margin: 0 auto; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; } }
.footer__brand { max-width: 32ch; }
.footer__brand .logo { margin-bottom: 1.2rem; }
.footer__brand p { font-weight: 300; font-size: .9rem; line-height: 1.6; color: var(--off-blue-60); }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__head { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--off-blue-40); margin-bottom: .4rem; }
.footer__col a { font-size: .92rem; color: var(--off-blue-60); width: fit-content; transition: color .2s ease; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { max-width: 1280px; margin: 2.6rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--off-blue-10); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--off-blue-40); }
.footer__bottom a { color: var(--off-blue-40); transition: color .2s ease; }
.footer__bottom a:hover { color: var(--yellow); }

/* ===== REVEAL ANIMATIONS ===== */
/* filmszerű, lépcsőzetes belépő: az inner blokkok külön-külön úsznak be */
.reveal > * { opacity: 0; transform: translateY(42px); transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1); }
.reveal.is-in > * { opacity: 1; transform: none; }
.reveal.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal.is-in > *:nth-child(6) { transition-delay: .40s; }

/* ===== LENIS (smooth scroll) ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal > * { opacity: 1; transform: none; }
}

/* STILL mód (akadálymentesítés / statikus előnézet) */
.is-still *, .is-still *::before, .is-still *::after { animation: none !important; transition: none !important; }
.is-still .reveal > * { opacity: 1; transform: none; }

/* ===================================================================
   HERO ŰRLAP + SZOLGÁLTATÁS-VÁLASZTÓ + LENYÍLÓ RÉSZLETEK (új)
   =================================================================== */

/* --- hero: kétoszlopos rács (szöveg + ajánlatkérő űrlap) --- */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; width: 100%; align-items: center; }
@media (min-width: 920px) {
    .hero-grid { grid-template-columns: 1.05fr minmax(380px, 460px); gap: 3.5rem; align-items: center; }
}
.hero-form {
    position: relative; align-self: start;
    background: rgba(14,16,20,.72);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--off-blue-10);
    clip-path: var(--bevel);
    padding: 2rem 1.7rem 1.8rem;
}
@media (min-width: 920px) { .hero-form { padding: 2.3rem 2.1rem; } }
.hero-form__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: .8rem 0 .5rem; }
.hero-form__sub { font-weight: 300; font-size: .9rem; line-height: 1.5; color: var(--off-blue-60); }
.hero-form .signup { margin: 1.2rem 0 0; max-width: none; }
.hero-form .field { margin-bottom: .8rem; }
.hero-form .signup__row { gap: .8rem; }

/* --- szolgáltatás-választó chipek (mindkét céges űrlapon) --- */
.svc-pick { border: none; padding: 0; margin: .2rem 0 1rem; }
.svc-pick__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-chip { position: relative; display: inline-flex; }
.svc-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.svc-chip span {
    display: inline-block; padding: 9px 13px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
    color: var(--off-blue-60); background: var(--off-blue-05);
    border: 1px solid var(--off-blue-20); cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.svc-chip:hover span { color: var(--off-blue); border-color: var(--off-blue-40); }
.svc-chip input:checked + span { color: var(--dark-blue); background: var(--yellow); border-color: var(--yellow); }
.svc-chip input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* --- szolgáltatás-kártyák: a 01–03 most <button> --- */
button.hcard { width: 100%; font: inherit; text-align: inherit; background: none; border: none; color: var(--off-blue); }
.hcard__arrow--toggle { transition: transform .4s cubic-bezier(.16,1,.3,1); }
.hcard[aria-expanded="true"] .hcard__arrow--toggle { transform: rotate(45deg); }

/* --- lenyíló részletek a kártyák alatt --- */
.svc-acc { margin-top: 2px; }
.svc-acc__panel { overflow: hidden; background: var(--off-blue-05); border-left: 2px solid var(--yellow); }
.svc-acc__panel[hidden] { display: none; }
.svc-acc__panel.is-open { animation: svcAccIn .45s cubic-bezier(.16,1,.3,1); }
@keyframes svcAccIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.svc-acc__inner { display: grid; grid-template-columns: 1fr; gap: 1.3rem 2.5rem; padding: 1.8rem 1.5rem; }
@media (min-width: 760px) { .svc-acc__inner { grid-template-columns: 1.1fr 1fr; align-items: start; padding: 2.2rem 2rem; } }
.svc-acc__num { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--yellow); }
.svc-acc__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.05; margin: .5rem 0 .8rem; }
.svc-acc__lead { font-weight: 300; line-height: 1.6; color: var(--off-blue-60); margin-bottom: 1.2rem; }
.svc-acc__main .btn { margin-top: .2rem; }
.svc-acc__list { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.svc-acc__list li { position: relative; padding-left: 1.5rem; font-size: .94rem; line-height: 1.5; color: var(--off-blue); }
.svc-acc__list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--yellow); }
