/* ==========================================================================
   Kiállítási stand – fő stíluslap
   Színek: zöld #2ad03d · szürke #333438 · fehér · fekete
   ========================================================================== */

/* --------------------------------------------------------------------------
   Betűtípus (Manrope, saját szerverről – SIL Open Font License)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokenek
   -------------------------------------------------------------------------- */
:root {
    --green: #2ad03d;
    --green-hover: #4fde5f;
    --green-soft: rgba(42, 208, 61, .14);
    --gray: #333438;
    --black: #0b0b0c;
    --white: #fff;

    --ink: var(--gray);
    --ink-muted: #5d5e63;
    --line: rgba(51, 52, 56, .12);
    --surface-alt: #f4f4f5;
    --danger: #c0271d;

    --on-dark: #fff;
    --on-dark-muted: rgba(255, 255, 255, .72);
    --on-dark-line: rgba(255, 255, 255, .12);

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -18px rgba(0, 0, 0, .28);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
    --section-y: clamp(72px, 10vw, 136px);

    --ease: cubic-bezier(.2, .7, .2, 1);
    --focus: var(--black);
}

/* --------------------------------------------------------------------------
   Alapok
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

html.has-modal,
body.nav-open {
    overflow: hidden;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

main:focus {
    outline: none;
}

::selection {
    background: var(--green);
    color: var(--black);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--green);
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .2s var(--ease);
}

.skip-link:focus {
    transform: none;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

.text-muted {
    color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Elrendezés
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: clamp(48px, 6vw, 80px);
}

.section--alt {
    background: var(--surface-alt);
}

.section--dark,
.contact,
.hero,
.page-hero,
.error-page,
.site-footer,
.lightbox {
    --focus: var(--green);
}

.section--dark {
    background: var(--gray);
    color: var(--on-dark);
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 48px;
    max-width: none;
}

.section-head--split > div {
    max-width: 680px;
}

.section-head--compact {
    margin-bottom: 32px;
    align-items: baseline;
}

.section-head__lead {
    max-width: 440px;
    margin: 0;
    color: var(--ink-muted);
}

.section--dark .section-head__lead {
    color: var(--on-dark-muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
}

.eyebrow--light {
    color: var(--on-dark);
}

@media (max-width: 479.98px) {
    .eyebrow {
        gap: 10px;
        font-size: .75rem;
        letter-spacing: .1em;
    }

    .eyebrow::before {
        width: 20px;
    }
}

.section-title {
    font-size: clamp(2rem, 1.25rem + 2.8vw, 3.25rem);
    margin-bottom: 20px;
}

.section-title--sm {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    margin: 0;
}

.section-head .section-title {
    margin-bottom: 0;
}

.lead {
    font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
    line-height: 1.6;
}

/* Kiemelés: világos háttéren "szövegkiemelő", sötéten zöld szöveg */
.hl {
    font-style: normal;
    background: linear-gradient(transparent 60%, rgba(42, 208, 61, .45) 60%, rgba(42, 208, 61, .45) 92%, transparent 92%);
    padding-inline: .04em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.section--dark .hl,
.hero .hl,
.contact .hl,
.page-hero .hl {
    background: none;
    padding: 0;
    color: var(--green);
}

/* --------------------------------------------------------------------------
   Gombok
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    min-height: 50px;
    padding: 0 1.5em;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
}

.btn .icon {
    width: 18px;
    height: 18px;
    transition: transform .25s var(--ease);
}

.btn:hover .icon--arrow-right {
    transform: translateX(3px);
}

.btn:hover .icon--arrow-left {
    transform: translateX(-3px);
}

.btn:active {
    transform: translateY(1px);
}

.btn--sm {
    min-height: 42px;
    padding: 0 1.15em;
    font-size: .9375rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0 1.8em;
    font-size: 1.0625rem;
}

.btn--primary {
    background: var(--green);
    color: var(--black);
}

.btn--primary:hover {
    background: var(--green-hover);
    box-shadow: 0 10px 30px -10px rgba(42, 208, 61, .6);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, .35);
    color: var(--on-dark);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.btn--dark {
    background: var(--gray);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--black);
}

.btn--outline {
    border-color: var(--gray);
    color: var(--gray);
}

.btn--outline:hover {
    background: var(--gray);
    color: var(--white);
}

.btn[disabled],
.btn.is-loading {
    pointer-events: none;
    opacity: .75;
}

.btn.is-loading .icon {
    display: none;
}

.btn.is-loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--white);
    transition: background-color .2s, color .2s, border-color .2s;
}

.icon-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--black);
}

.icon-btn .icon {
    width: 22px;
    height: 22px;
}

/* --------------------------------------------------------------------------
   Fejléc és navigáció
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    color: var(--on-dark);
    --focus: var(--green);
}

/* A háttér külön rétegen van: a backdrop-filter így nem lesz a mobilmenü (position: fixed) tartalmazó blokkja */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(11, 11, 12, .82);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
    transition: opacity .35s;
}

.site-header.is-open::before {
    background: var(--black);
}

.site-header--transparent:not(.is-scrolled):not(.is-open)::before {
    opacity: 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    color: inherit;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

/* A logó képe (assets/img/logo-mark.png, átlátszó hátterű) – arányosan illesztve a négyzetbe */
.brand__mark {
    flex: none;
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform .4s var(--ease);
}

.brand__name {
    white-space: nowrap;
}

.brand__light {
    font-weight: 500;
    opacity: .85;
}

@media (max-width: 379.98px) {
    .brand {
        gap: 10px;
        font-size: 1.0625rem;
    }

    .brand__mark {
        width: 42px;
        height: 42px;
    }
}

.brand:hover .brand__mark {
    transform: scale(1.06);
}

.main-nav__list {
    display: flex;
    gap: 2px;
    list-style: none;
}

.main-nav__link {
    position: relative;
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--on-dark-muted);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s, background-color .2s;
}

.main-nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.main-nav__link.is-active {
    color: var(--white);
}

.main-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--green);
}

.main-nav__cta {
    display: none;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.nav-toggle__bar {
    position: absolute;
    left: 13px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: transform .3s var(--ease), top .3s var(--ease);
}

.nav-toggle__bar:first-child {
    top: 18px;
}

.nav-toggle__bar:last-child {
    top: 25px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
    top: 21.5px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
    top: 21.5px;
    transform: rotate(-45deg);
}

@media (max-width: 959.98px) {
    :root {
        --header-h: 68px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 16px var(--gutter) max(32px, env(safe-area-inset-bottom));
        overflow-y: auto;
        background: var(--black);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .3s var(--ease), transform .3s var(--ease);
    }

    .main-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav__link {
        padding: 16px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--on-dark-line);
        color: var(--white);
        font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
        font-weight: 700;
        letter-spacing: -.02em;
    }

    .main-nav__link:hover {
        background: none;
        color: var(--green);
    }

    .main-nav__link.is-active::after {
        display: none;
    }

    .main-nav__cta {
        display: inline-flex;
        align-self: flex-start;
    }
}

@media (max-width: 559.98px), (min-width: 960px) and (max-width: 1199.98px) {
    .site-header__cta {
        display: none;
    }
}

/* Nyelvváltó */
.lang-switch__list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.lang-switch__link {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--on-dark-muted);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    transition: color .2s, background-color .2s;
}

.lang-switch__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.lang-switch__link[aria-current="true"] {
    background: var(--white);
    color: var(--black);
}

.lang-switch--header .lang-switch__list {
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
}

.lang-switch--menu {
    display: none;
}

.lang-switch--footer .lang-switch__list {
    gap: 4px;
}

.lang-switch--footer .lang-switch__link {
    height: auto;
    padding: 2px 10px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: 0;
}

.lang-switch--footer .lang-switch__link[aria-current="true"] {
    background: none;
    color: var(--green);
}

@media (max-width: 959.98px) {
    .lang-switch--header {
        display: none;
    }

    .lang-switch--menu {
        display: block;
    }

    .lang-switch--menu .lang-switch__list {
        gap: 8px;
    }

    .lang-switch--menu .lang-switch__link {
        height: 44px;
        padding: 0 18px;
        border: 1px solid var(--on-dark-line);
        font-size: 1rem;
        letter-spacing: 0;
    }
}

/* JavaScript nélkül a mobilmenü egyszerű, mindig látható linksor */
@media (scripting: none) and (max-width: 959.98px) {
    .nav-toggle {
        display: none;
    }

    .site-header__inner {
        flex-wrap: wrap;
        height: auto;
        padding-block: 12px;
    }

    .main-nav {
        position: static;
        width: 100%;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        overflow: visible;
    }

    .main-nav__list {
        flex-flow: row wrap;
        gap: 4px 16px;
    }

    .main-nav__link {
        padding: 4px 0;
        border: 0;
        font-size: 1rem;
    }

    .main-nav__cta {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Nyitókép (hero)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--black);
    color: var(--on-dark);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .7) 42%, rgba(11, 11, 12, .25) 100%),
        linear-gradient(0deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, 0) 45%);
}

.hero__inner {
    align-self: center;
    padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px));
    padding-bottom: 48px;
}

.hero__eyebrow {
    margin-bottom: 24px;
}

/* A felcím a H1 része (kulcsszó a főcímben), de külön sorban, kis betűvel jelenik meg */
.hero__title > .eyebrow,
.page-title > .eyebrow {
    display: flex;
    width: fit-content;
}

.hero__title {
    max-width: 15ch;
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.hero__lead {
    max-width: 54ch;
    margin-bottom: 0;
    color: var(--on-dark-muted);
    font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 28px 0 clamp(28px, 4vh, 44px);
    border-top: 1px solid var(--on-dark-line);
    list-style: none;
}

.hero-stats__value {
    display: block;
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hero-stats__label {
    display: block;
    margin-top: 4px;
    color: var(--on-dark-muted);
    font-size: .9375rem;
}

@media (max-width: 759.98px) {
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__img {
        animation: hero-zoom 14s var(--ease) both;
    }

    .hero__inner > *,
    .hero-stats {
        animation: rise .9s var(--ease) both;
    }

    .hero__inner > :nth-child(2) { animation-delay: .08s; }
    .hero__inner > :nth-child(3) { animation-delay: .16s; }
    .hero__inner > :nth-child(4) { animation-delay: .24s; }
    .hero-stats { animation-delay: .36s; }
}

@keyframes hero-zoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Ügyfelek – végtelenített névsor
   -------------------------------------------------------------------------- */
.clients {
    padding-block: clamp(36px, 5vw, 56px);
    border-bottom: 1px solid var(--line);
}

.clients__title {
    margin-bottom: 24px;
    color: var(--ink-muted);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
}

.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
}

.marquee__list {
    display: flex;
    align-items: center;
    gap: 56px;
    padding-right: 56px;
    list-style: none;
}

.marquee__list li {
    display: flex;
    align-items: center;
    gap: 56px;
    color: var(--ink);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.marquee__list li::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--green);
    transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
    .marquee__track {
        animation: marquee 50s linear infinite;
    }

    .marquee:hover .marquee__track {
        animation-play-state: paused;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .marquee__track {
        width: auto;
        justify-content: center;
    }

    .marquee__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 32px;
        padding: 0 var(--gutter);
    }

    .marquee__list[aria-hidden="true"] {
        display: none;
    }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Rólunk
   -------------------------------------------------------------------------- */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: center;
}

.about__media {
    position: relative;
    padding: 0 14% 14% 0;
}

.about__img {
    object-fit: cover;
    background: var(--surface-alt);
}

.about__img--main {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
}

.about__img--sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54%;
    aspect-ratio: 4 / 3;
    border: 8px solid var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about__badge {
    position: absolute;
    top: 28px;
    left: -16px;
    display: grid;
    margin: 0;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--green);
    color: var(--black);
    box-shadow: 0 18px 40px -16px rgba(42, 208, 61, .7);
    line-height: 1.2;
}

.about__badge strong {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.about__badge span {
    font-size: .875rem;
    font-weight: 700;
}

.about__content .lead {
    margin-bottom: 16px;
}

.checklist {
    display: grid;
    gap: 16px;
    margin: 32px 0 40px;
    list-style: none;
}

.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.checklist__item strong {
    display: block;
    color: var(--ink);
}

.checklist__item > span:last-child {
    color: var(--ink-muted);
}

.checklist__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray);
    color: var(--green);
}

.checklist__icon .icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

@media (max-width: 959.98px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__media {
        max-width: 560px;
    }

    .about__badge {
        left: 16px;
    }
}

/* --------------------------------------------------------------------------
   Szolgáltatások
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 32px 28px 36px;
    border: 1px solid var(--on-dark-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    transition: transform .4s var(--ease), background-color .4s, border-color .4s;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 32px;
    border-radius: 14px;
    background: var(--green-soft);
    color: var(--green);
}

.service-card__icon .icon {
    width: 28px;
    height: 28px;
}

.service-card__num {
    position: absolute;
    top: 30px;
    right: 28px;
    color: rgba(255, 255, 255, .28);
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.service-card__title {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card__text {
    margin: 0;
    color: var(--on-dark-muted);
    font-size: 1rem;
}

@media (max-width: 1099.98px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599.98px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Referenciák – kártyák (rámutatásra nagyítás)
   -------------------------------------------------------------------------- */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.ref-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1099.98px) {
    .ref-grid,
    .ref-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639.98px) {
    .ref-grid,
    .ref-grid--3 {
        grid-template-columns: 1fr;
    }
}

.ref-card__link {
    position: relative;
    isolation: isolate;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--gray);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.ref-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.ref-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}

.ref-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 11, 12, .88) 0%, rgba(11, 11, 12, .35) 40%, rgba(11, 11, 12, 0) 65%);
    transition: opacity .4s;
}

.ref-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: flex;
    gap: 6px;
}

.ref-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(11, 11, 12, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.2;
}

.ref-card__badge .icon {
    width: 14px;
    height: 14px;
}

.ref-card__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green);
    color: var(--black);
    opacity: 0;
    transform: scale(.6) rotate(-90deg);
    transition: opacity .35s var(--ease), transform .45s var(--ease);
}

.ref-card__zoom .icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.25;
}

.ref-card__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: block;
    padding: 18px 20px;
}

.ref-card__title {
    margin-bottom: 2px;
    font-size: 1.125rem;
    letter-spacing: -.015em;
}

.ref-card__meta {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-size: .8125rem;
    font-weight: 600;
}

.ref-card__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    color: var(--green);
    font-size: .875rem;
    font-weight: 700;
    opacity: 0;
    transition: max-height .4s var(--ease), opacity .3s, margin .4s var(--ease);
}

.ref-card__cta .icon {
    width: 16px;
    height: 16px;
}

.ref-card__link:hover,
.ref-card__link:focus-visible {
    box-shadow: var(--shadow);
}

.ref-card__link:hover .ref-card__media img,
.ref-card__link:focus-visible .ref-card__media img {
    transform: scale(1.1);
}

.ref-card__link:hover .ref-card__zoom,
.ref-card__link:focus-visible .ref-card__zoom {
    opacity: 1;
    transform: none;
}

.ref-card__link:hover .ref-card__cta,
.ref-card__link:focus-visible .ref-card__cta {
    max-height: 24px;
    margin-top: 6px;
    opacity: 1;
}

@media (hover: none) {
    .ref-card__zoom {
        opacity: 1;
        transform: none;
    }
}

.ref-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.ref-more .icon {
    width: 18px;
    height: 18px;
}

/* Vásárvárosok */
.ref-cities {
    margin-top: clamp(48px, 6vw, 72px);
    text-align: center;
}

.ref-cities__title {
    margin-bottom: 18px;
    color: var(--ink-muted);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ref-cities__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.ref-cities__list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 600;
}

.ref-cities__list .icon {
    width: 16px;
    height: 16px;
    color: var(--gray);
}

/* --------------------------------------------------------------------------
   Folyamat
   -------------------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
    list-style: none;
}

.step {
    position: relative;
    padding-top: 84px;
}

.step__num {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray);
    color: var(--green);
    font-weight: 800;
    letter-spacing: .04em;
    transition: transform .4s var(--ease), background-color .3s, color .3s;
}

.step:hover .step__num {
    transform: scale(1.08);
    background: var(--green);
    color: var(--black);
}

/* összekötő vonal a lépések között */
.step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 76px;
    right: calc(-1 * clamp(24px, 3vw, 40px) + 16px);
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(51, 52, 56, .3) 0 8px, transparent 8px 14px);
}

.step__title {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.step__text {
    margin: 0;
    color: var(--ink-muted);
}

@media (max-width: 959.98px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step {
        padding: 0 0 36px 88px;
        min-height: 96px;
    }

    .step:last-child {
        padding-bottom: 0;
    }

    .step:not(:last-child)::before {
        top: 68px;
        bottom: 8px;
        left: 29px;
        right: auto;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, rgba(51, 52, 56, .3) 0 8px, transparent 8px 14px);
    }

    .step__title {
        padding-top: 14px;
    }
}

/* --------------------------------------------------------------------------
   Ajánlatkérés / kapcsolat
   -------------------------------------------------------------------------- */
.contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
    color: var(--on-dark);
}

.contact::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -320px;
    left: -280px;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 208, 61, .2) 0%, rgba(42, 208, 61, 0) 62%);
    pointer-events: none;
}

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.contact__intro .lead {
    color: var(--on-dark-muted);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 40px;
    list-style: none;
}

.contact-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
}

.contact-list__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border: 1px solid var(--on-dark-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: var(--green);
    transition: background-color .25s, color .25s, border-color .25s;
}

a.contact-list__item:hover .contact-list__icon {
    background: var(--green);
    border-color: var(--green);
    color: var(--black);
}

.contact-list__label {
    display: block;
    color: var(--on-dark-muted);
    font-size: .8125rem;
    font-weight: 600;
}

.contact-list__value {
    display: block;
    font-weight: 700;
    word-break: break-word;
}

@media (max-width: 959.98px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

/* Űrlap */
.form-card {
    --focus: var(--black);
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field--full {
    grid-column: 1 / -1;
}

@media (max-width: 559.98px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.field__label {
    display: block;
    margin-bottom: 8px;
    font-size: .875rem;
    font-weight: 700;
}

.field__req {
    color: var(--ink-muted);
}

.input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border: 1.5px solid rgba(51, 52, 56, .22);
    border-radius: 12px;
    background: var(--white);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}

.input::placeholder {
    color: #8b8c91;
}

.input:hover {
    border-color: rgba(51, 52, 56, .45);
}

.input:focus {
    outline: none;
    border-color: var(--gray);
    box-shadow: 0 0 0 4px rgba(42, 208, 61, .35);
}

.input--textarea {
    min-height: 150px;
    resize: vertical;
}

.input--select {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333438' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    cursor: pointer;
}

.field.is-invalid .input {
    border-color: var(--danger);
}

.field.is-invalid .input:focus {
    box-shadow: 0 0 0 4px rgba(192, 39, 29, .18);
}

.field__error {
    margin: 6px 0 0;
    color: var(--danger);
    font-size: .8125rem;
    font-weight: 600;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: .9375rem;
    line-height: 1.5;
}

.check__input {
    position: absolute;
    opacity: 0;
    width: 22px;
    height: 22px;
    margin: 0;
}

.check__box {
    display: grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border: 1.5px solid rgba(51, 52, 56, .4);
    border-radius: 6px;
    background: var(--white);
    color: transparent;
    transition: background-color .2s, border-color .2s, color .2s;
}

.check__box .icon {
    width: 15px;
    height: 15px;
    stroke-width: 3;
}

.check__input:checked + .check__box {
    border-color: var(--gray);
    background: var(--green);
    color: var(--black);
}

.check__input:focus-visible + .check__box {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.field.is-invalid .check__box {
    border-color: var(--danger);
}

.check__label a {
    font-weight: 700;
    text-decoration-color: var(--green);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.hp-field {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 28px;
}

.form-note {
    margin: 0;
    color: var(--ink-muted);
    font-size: .8125rem;
}

.form-alert {
    margin-bottom: 24px;
    padding: 14px 18px;
    border: 1px solid rgba(192, 39, 29, .3);
    border-radius: 12px;
    background: #fdf1f0;
    color: var(--danger);
    font-size: .9375rem;
    font-weight: 600;
}

.form-success {
    padding: clamp(16px, 4vw, 40px) 0;
    text-align: center;
}

.form-success:focus {
    outline: none;
}

.form-success__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--green);
    color: var(--black);
}

.form-success__icon .icon {
    width: 34px;
    height: 34px;
    stroke-width: 2.5;
}

.form-success__title {
    margin-bottom: 12px;
    font-size: 1.75rem;
}

.form-success__text {
    max-width: 420px;
    margin: 0 auto 28px;
    color: var(--ink-muted);
}

@media (max-width: 559.98px) {
    .form-actions .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Aloldalak – fejléc, morzsamenü, tények
   -------------------------------------------------------------------------- */
.page-hero {
    padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
    background: var(--black);
    color: var(--on-dark);
}

.page-hero--compact {
    padding-bottom: clamp(36px, 5vw, 56px);
}

.page-title {
    margin-bottom: 20px;
    font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
    letter-spacing: -.035em;
}

.page-hero--compact .page-title {
    margin-bottom: 0;
}

.page-hero .lead {
    margin: 0;
    color: var(--on-dark-muted);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
    list-style: none;
    color: var(--on-dark-muted);
    font-size: .875rem;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
    opacity: .5;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--green);
}

.breadcrumb [aria-current] {
    color: var(--white);
}

.project-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: end;
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--on-dark-line);
    border-radius: var(--radius);
    background: var(--on-dark-line);
}

.facts__item {
    padding: 20px 22px;
    background: var(--black);
}

/* páratlan számú adatnál az első (ügyfél) teljes szélességű */
.facts__item:first-child:nth-last-child(2n + 1) {
    grid-column: 1 / -1;
}

.project-hero__summary {
    margin: 16px 0 0;
    color: var(--on-dark-muted);
    font-size: .9375rem;
}

.facts dt {
    margin-bottom: 4px;
    color: var(--on-dark-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.facts dd {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

@media (max-width: 959.98px) {
    .project-hero__grid {
        grid-template-columns: 1fr;
    }
}

/* Galéria */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.gallery--portrait {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1099.98px) {
    .gallery--portrait {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 759.98px) {
    .gallery,
    .gallery--portrait {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

.gallery__link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-alt);
    cursor: zoom-in;
}

.gallery__link img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .9s var(--ease), filter .4s;
}

.gallery--portrait .gallery__link img {
    aspect-ratio: 3 / 4;
}

.gallery__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green);
    color: var(--black);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .3s var(--ease), transform .4s var(--ease);
}

.gallery__zoom .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.25;
}

.gallery__link:hover img,
.gallery__link:focus-visible img {
    transform: scale(1.08);
}

.gallery__link:hover .gallery__zoom,
.gallery__link:focus-visible .gallery__zoom {
    opacity: 1;
    transform: none;
}

/* Videó (adatvédelmi "kattints a betöltéshez" megoldás) */
.video-embed {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--black);
    color: var(--white);
    --focus: var(--green);
}

.video-embed__poster {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    transition: transform 1s var(--ease), opacity .4s;
}

.video-embed:hover .video-embed__poster {
    transform: scale(1.04);
    opacity: .45;
}

.video-embed__play {
    display: grid;
    justify-items: center;
    gap: 14px;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.video-embed__icon {
    display: grid;
    place-items: center;
    width: clamp(68px, 9vw, 96px);
    height: clamp(68px, 9vw, 96px);
    border-radius: 50%;
    background: var(--green);
    color: var(--black);
    box-shadow: 0 0 0 0 rgba(42, 208, 61, .5);
    transition: transform .3s var(--ease);
}

.video-embed__icon .icon {
    width: 36%;
    height: 36%;
    margin-left: 6%;
}

.video-embed__play:hover .video-embed__icon {
    transform: scale(1.08);
}

@media (prefers-reduced-motion: no-preference) {
    .video-embed__icon {
        animation: pulse 2.4s infinite;
    }
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 22px rgba(42, 208, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(42, 208, 61, 0); }
}

.video-embed__note {
    position: absolute;
    inset: auto 16px 12px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: .75rem;
    text-align: center;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Lapozó */
.pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pager__link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}

.pager__link--next {
    flex-direction: row-reverse;
    text-align: right;
}

.pager__link:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.pager__img {
    flex: none;
    width: 112px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    object-fit: cover;
}

.pager__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pager__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-muted);
    font-size: .8125rem;
    font-weight: 700;
}

.pager__link--next .pager__label {
    justify-content: flex-end;
}

.pager__label .icon {
    width: 16px;
    height: 16px;
}

.pager__title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -.015em;
}

.pager__meta {
    color: var(--ink-muted);
    font-size: .8125rem;
}

@media (max-width: 639.98px) {
    .pager {
        grid-template-columns: 1fr;
    }

    .pager__img {
        width: 84px;
    }
}

/* CTA-sáv */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius-lg);
    background: var(--green);
    color: var(--black);
}

.cta-band__title {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}

.cta-band .hl {
    background: none;
    padding: 0;
    color: var(--black);
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

.cta-band__text {
    margin: 0;
    font-weight: 600;
}

/* Jogi oldalak */
.prose {
    max-width: 760px;
}

.prose h2 {
    margin: 48px 0 16px;
    font-size: 1.5rem;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose ul {
    padding-left: 1.2em;
    margin: 0 0 1em;
}

.prose li {
    margin-bottom: 6px;
}

.prose li::marker {
    color: var(--green);
}

.prose a {
    font-weight: 600;
    text-decoration-color: var(--green);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.info-list {
    margin: 0;
    border-top: 1px solid var(--line);
}

.info-list > div {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 4px 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.info-list dt {
    color: var(--ink-muted);
    font-weight: 600;
}

.info-list dd {
    margin: 0;
    font-weight: 700;
}

@media (max-width: 559.98px) {
    .info-list > div {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Hibaoldalak (404 / 500)
   -------------------------------------------------------------------------- */
.error-page {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 var(--section-y);
    background: var(--black);
    color: var(--on-dark);
}

.error-page__inner {
    text-align: center;
}

.error-page__code {
    margin: 0 0 8px;
    color: transparent;
    font-size: clamp(7rem, 4rem + 18vw, 15rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .9;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .28);
    user-select: none;
}

.error-page__code span {
    color: var(--green);
    -webkit-text-stroke: 0;
}

.error-page__title {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
}

.error-page__text {
    max-width: 560px;
    margin: 0 auto 36px;
    color: var(--on-dark-muted);
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.error-page__suggest {
    margin-top: clamp(64px, 8vw, 112px);
}

.error-page__subtitle {
    margin-bottom: 24px;
    color: var(--on-dark-muted);
    font-size: .8125rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.error-debug {
    max-width: 100%;
    margin: 40px auto 0;
    padding: 20px;
    overflow: auto;
    border-radius: var(--radius-sm);
    background: #1b1b1d;
    color: #f4f4f5;
    font-size: .8125rem;
    text-align: left;
    white-space: pre-wrap;
}

/* --------------------------------------------------------------------------
   Lábléc
   -------------------------------------------------------------------------- */
.site-footer {
    padding: clamp(56px, 7vw, 88px) 0 32px;
    border-top: 1px solid var(--on-dark-line);
    background: var(--black);
    color: var(--on-dark-muted);
    font-size: .9375rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
    gap: 40px;
}

.site-footer .brand {
    color: var(--white);
}

.site-footer__text {
    max-width: 340px;
    margin: 18px 0 0;
}

.site-footer__title {
    margin-bottom: 18px;
    color: var(--white);
    font-size: .8125rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-footer__links {
    display: grid;
    gap: 10px;
    list-style: none;
}

.site-footer a {
    text-decoration: none;
    transition: color .2s;
}

.site-footer a:hover {
    color: var(--green);
}

.site-footer__note {
    display: block;
    font-size: .8125rem;
    opacity: .7;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    list-style: none;
}

.social__link {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--on-dark-line);
    border-radius: 50%;
}

.social__link:hover {
    border-color: var(--green);
}

.social__link .icon {
    width: 18px;
    height: 18px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: clamp(40px, 6vw, 72px);
    padding-top: 24px;
    padding-right: 64px; /* hely a lebegő "fel" gombnak */
    border-top: 1px solid var(--on-dark-line);
    font-size: .875rem;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer__top .icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 959.98px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 479.98px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

/* Vissza a tetejére gomb */
.to-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: var(--black);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s, background-color .2s;
    --focus: var(--gray);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}

.to-top:hover {
    background: var(--green-hover);
}

.to-top .icon {
    width: 22px;
    height: 22px;
}

/* --------------------------------------------------------------------------
   Képnézegető (lightbox)
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #080809;
    color: var(--white);
}

.lightbox[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, .6);
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lb-in .3s var(--ease);
    }
}

@keyframes lb-in {
    from { opacity: 0; transform: scale(.985); }
    to { opacity: 1; transform: none; }
}

.lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px var(--gutter);
    padding-top: max(14px, env(safe-area-inset-top));
}

.lightbox__heading {
    min-width: 0;
}

.lightbox__title {
    margin: 0;
    overflow: hidden;
    font-size: 1.125rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox__meta {
    margin: 0;
    color: var(--on-dark-muted);
    font-size: .8125rem;
}

.lightbox__tools {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
}

.lightbox__counter {
    color: var(--on-dark-muted);
    font-size: .875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0 clamp(8px, 6vw, 88px);
    touch-action: pan-y pinch-zoom;
}

.lightbox__figure {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.lightbox__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity .25s, transform .35s var(--ease);
}

.lightbox__img.is-loading {
    opacity: .25;
}

@media (hover: hover) and (pointer: fine) {
    .lightbox__img {
        cursor: zoom-in;
    }

    .lightbox__figure.is-zoomed .lightbox__img {
        cursor: zoom-out;
        transform: scale(2.2);
        transition: opacity .25s, transform .35s var(--ease), transform-origin .1s linear;
    }
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 54px;
    height: 54px;
    margin-top: -27px;
    background: rgba(11, 11, 12, .55);
}

.lightbox__nav--prev {
    left: clamp(8px, 2vw, 24px);
}

.lightbox__nav--next {
    right: clamp(8px, 2vw, 24px);
}

.lightbox__thumbs {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 14px var(--gutter);
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .25) transparent;
}

.lightbox__thumbs > :first-child {
    margin-left: auto;
}

.lightbox__thumbs > :last-child {
    margin-right: auto;
}

.lightbox__thumb {
    flex: none;
    width: 84px;
    height: 60px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--gray);
    opacity: .45;
    transition: opacity .2s, border-color .2s;
}

.lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox__thumb:hover {
    opacity: .85;
}

.lightbox__thumb[aria-current="true"] {
    border-color: var(--green);
    opacity: 1;
}

@media (max-width: 639.98px) {
    .lightbox__details {
        display: none;
    }

    .lightbox__nav {
        top: auto;
        bottom: 12px;
        width: 46px;
        height: 46px;
        margin-top: 0;
    }

    .lightbox__thumb {
        width: 64px;
        height: 46px;
    }
}

/* --------------------------------------------------------------------------
   Görgetésre megjelenő elemek
   A JavaScript csak a hajtás alatti elemeket rejti el (így nincs villanás),
   és megjelenés után eltávolítja az osztályokat. JS nélkül minden látszik.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-pending {
        opacity: 0;
        transform: translateY(36px);
    }

    .reveal-pending.is-revealed {
        opacity: 1;
        transform: none;
        transition: opacity .8s var(--ease), transform .8s var(--ease);
        transition-delay: var(--reveal-delay, 0s);
    }
}

/* --------------------------------------------------------------------------
   Nyomtatás
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .to-top,
    .lightbox,
    .marquee,
    .hero__media,
    .contact__form,
    .video-embed {
        display: none !important;
    }

    .hero,
    .page-hero,
    .section--dark,
    .contact,
    .site-footer {
        background: none !important;
        color: #000 !important;
    }

    .reveal-pending {
        opacity: 1 !important;
        transform: none !important;
    }
}
