/* =========================================================
   goldsoft.hu - fő stíluslap
   Arculat: grafit + arany, elefántcsont alap. Rendszer-betűkészlet
   (nincs külső betöltés: gyors, és nem küld adatot harmadik félnek).
   ========================================================= */

:root {
    color-scheme: light;

    /* semleges */
    --ink: #17181c;
    --ink-soft: #3b3d44;
    --muted: #666a73;
    --line: #e8e2d6;
    --line-strong: #d9cfbb;
    --paper: #faf8f4;
    --sand: #f3eee4;
    --surface: #ffffff;

    /* sötét felületek */
    --night: #0f141d;
    --night-2: #182029;
    --night-line: rgba(255, 255, 255, 0.10);
    --on-night: #f3efe6;
    --on-night-muted: rgba(243, 239, 230, 0.72);

    /* arany */
    --gold: #c69749;
    --gold-bright: #e4b467;
    --gold-pale: #f6e2b8;
    --gold-deep: #875f1c;
    --gold-soft: #f6eedd;
    --gold-line: #e7d4ad;
    --gold-gradient: linear-gradient(180deg, #e7bd72 0%, #c28f40 100%);

    --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Cascadia Code", "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(23, 24, 28, 0.05), 0 6px 16px rgba(23, 24, 28, 0.06);
    --shadow: 0 2px 4px rgba(23, 24, 28, 0.04), 0 18px 40px rgba(23, 24, 28, 0.10);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.35);
    --container: 1200px;
    --gutter: clamp(18px, 4vw, 40px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* height: auto - a width/height attribútum csak a képarányt adja (helyfoglalás betöltés előtt),
   a magasságot ne; a saját magasságú képek (fejléc, képernyőkép-kivágás) felülírják */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* a kep() <picture> csomagolója ne legyen doboz: a rács- és méretszabályok az <img>-re vonatkoznak.
   A <source>-ot ekkor el kell rejteni, különben rácsban (logós kártya, aloldali logó/fotó) külön
   rácselem lesz, és 13-57 px-szel lejjebb tolja a képet (a változat kiválasztását nem érinti). */
picture {
    display: contents;
}

picture > source {
    display: none;
}

a {
    color: var(--gold-deep);
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 16px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container.narrow {
    max-width: 820px;
}

.section {
    padding: clamp(60px, 8vw, 110px) 0;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

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

.gold-text {
    background: linear-gradient(180deg, #f3d9a4 0%, #e4b467 55%, #c28f40 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-head {
    max-width: 720px;
    margin: 0 0 clamp(36px, 4.5vw, 56px);
}

.section-head p:not(.eyebrow) {
    color: var(--muted);
}

.section-head.split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: end;
}

.section-head.split h2 {
    margin: 0;
}

.section-head.split > p {
    margin: 0;
    font-size: 1.04rem;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 10px 0;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.icon {
    flex: 0 0 auto;
}

/* ---------------- Gombok, linkek ---------------- */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--gold-gradient);
    color: #1d1506;
    border-color: #b38237;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 22px rgba(198, 151, 73, 0.28);
}

.button.primary:hover {
    background: linear-gradient(180deg, #ecc680 0%, #cf9c4c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 28px rgba(198, 151, 73, 0.36);
}

.button.dark {
    background: var(--ink);
    color: #fff;
}

.button.dark:hover {
    background: #000;
}

.button.secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
    border-color: var(--gold);
    color: var(--gold-deep);
}

.button.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.button.ghost:hover {
    border-color: var(--gold);
    color: var(--gold-deep);
}

/* sötét háttéren */
.hero .button.ghost,
.is-wide .button.ghost,
.contact-panel .button.ghost {
    color: var(--on-night);
    border-color: rgba(243, 239, 230, 0.28);
}

.hero .button.ghost:hover,
.is-wide .button.ghost:hover,
.contact-panel .button.ghost:hover {
    border-color: var(--gold-bright);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 650;
    color: var(--gold-deep);
    text-decoration: none;
}

.link-arrow .icon {
    transition: transform 0.16s ease;
}

.link-arrow:hover {
    color: var(--ink);
}

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

.link-out {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
}

.link-out:hover {
    color: var(--gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------------- Logó ----------------
   A képek a felhasználó logófájljaiból készültek (assets/img/brand, lásd PROJEKT.md):
   fejléc = G-jel + „goldsoft.hu" felirat átlátszó háttérrel, lábléc = a teljes sötét logó. */

/* a logó soha nem nyomódik össze: ha a menü nem fér ki, a menügomb veszi át (1140 px) */
.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand-jel {
    flex: 0 0 auto;
    width: auto;
    height: 46px;
}

/* a felirat alsó éle a „g" szára; optikailag a jel közepéhez igazítva */
.brand-felirat {
    width: auto;
    height: 30px;
    margin-top: 5px;
}

/* a lábléc sötét logója: a szélei elhalványulnak, így nem látszik a kép doboza */
.footer-logo {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    margin: -18px 0 0 -22px;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}

/* ---------------- Fejléc ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(250, 248, 244, 0.88);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(23, 24, 28, 0.06);
}

.header-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 12px var(--gutter);
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    position: relative;
    white-space: nowrap;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.16s ease, background 0.16s ease;
}

.main-nav > a:not(.nav-remote):not(.nav-phone)::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav > a:hover {
    color: var(--ink);
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
    transform: scaleX(1);
}

.main-nav > a.active {
    color: var(--ink);
}

.nav-sep {
    width: 1px;
    height: 24px;
    margin: 0 10px;
    background: var(--line-strong);
}

.main-nav .nav-remote {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
}

.main-nav .nav-remote:hover {
    background: var(--gold-soft);
    color: var(--gold-deep);
}

.main-nav .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    white-space: nowrap;
}

.main-nav .nav-phone:hover {
    background: #000;
    color: var(--gold-bright);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--ink);
}

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--on-night);
    background:
        radial-gradient(900px 520px at 88% 8%, rgba(198, 151, 73, 0.22), transparent 62%),
        radial-gradient(700px 420px at -5% 105%, rgba(198, 151, 73, 0.10), transparent 60%),
        linear-gradient(180deg, #151b25 0%, var(--night) 100%);
    padding: clamp(56px, 7vw, 96px) 0 0;
}

/* finom pontrács, a széleken elhalványítva */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(232, 196, 107, 0.16) 1px, transparent 1.2px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero .eyebrow {
    color: var(--gold-bright);
}

.hero h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero h1 .gold-text {
    display: block;
}

.hero-lead {
    max-width: 540px;
    margin-bottom: 30px;
    font-size: clamp(1.02rem, 1.3vw, 1.14rem);
    color: var(--on-night-muted);
}

/* képernyőkép-kompozíció: szorosan egymásra halmozva, a korábbi terület felén
   (1440 px-en 537x439 helyett 460x259) */
.showcase {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 16 / 9;
    justify-self: end;
}

.window {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    background: #f1ece2;
    border-bottom: 1px solid #e3dccd;
}

.window-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8cdb6;
}

.window-bar i:first-child {
    background: #e4b467;
}

.window-bar b {
    margin-left: 8px;
    overflow: hidden;
    font-size: 0.72rem;
    font-weight: 600;
    color: #7a7466;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.window img {
    width: 100%;
    height: auto;
}

.showcase .window {
    position: absolute;
    border-radius: 9px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

/* kisebb ablakokhoz arányosan kisebb címsor */
.showcase .window-bar {
    height: 20px;
    padding: 0 8px;
    gap: 4px;
}

.showcase .window-bar i {
    width: 7px;
    height: 7px;
}

.showcase .window-bar b {
    margin-left: 5px;
    font-size: 0.66rem;
}

.shot-back {
    top: 0;
    right: 0;
    width: 64%;
    opacity: 0.94;
}

.shot-main {
    left: 0;
    bottom: 8%;
    width: 78%;
}

.shot-front {
    right: 2%;
    bottom: 0;
    width: 24%;
    height: 78%;
}

.shot-front img {
    height: calc(100% - 20px);
    object-fit: cover;
    object-position: top center;
}

/* ilyen keskeny ablakban a cím csak levágva férne ki */
.shot-front .window-bar b {
    display: none;
}

/* ágazati sáv a hero alján */
.sector-strip {
    list-style: none;
    margin: clamp(48px, 6vw, 80px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--night-line);
}

.sector-strip li + li {
    border-left: 1px solid var(--night-line);
}

.sector-strip a {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 22px 16px;
    color: var(--on-night-muted);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.16s ease, background 0.16s ease;
}

.sector-strip .icon {
    color: var(--gold-bright);
}

.sector-strip a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

/* ---------------- Termékek ---------------- */

.products {
    background: var(--paper);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 26px);
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-line);
    box-shadow: var(--shadow);
}

.product-card.is-feature {
    grid-column: span 3;
}

.product-card.is-standard {
    grid-column: span 2;
}

.product-card.is-wide {
    grid-column: 1 / -1;
}

/* kép-sáv */
.product-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.product-media.media-shot {
    height: 250px;
    padding: 30px 30px 0;
    background:
        radial-gradient(420px 200px at 85% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
        linear-gradient(135deg, #f7eed9 0%, #efe1bf 100%);
}

.product-media.media-shot .window {
    height: 100%;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
    border-color: rgba(138, 100, 23, 0.18);
    box-shadow: 0 18px 40px rgba(138, 100, 23, 0.22);
    transition: transform 0.3s ease;
}

.product-media.media-shot img {
    height: calc(100% - 28px);
    object-fit: cover;
    object-position: top left;
}

.product-card:hover .media-shot .window {
    transform: translateY(-6px);
}

.product-media.media-logo,
.product-media.media-photo {
    height: 170px;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(rgba(198, 151, 73, 0.16) 1px, transparent 1.2px) 0 0 / 18px 18px,
        linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.product-media.media-logo img {
    width: auto;
    max-width: 78%;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .media-logo img {
    transform: scale(1.04);
}

.product-body {
    flex: 1 1 auto;
    padding: 24px 26px 6px;
}

.product-sector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.product-card h3 {
    margin-bottom: 4px;
    font-size: 1.3rem;
}

.product-card.is-feature h3 {
    font-size: 1.55rem;
}

.product-card h3 a {
    color: inherit;
    text-decoration: none;
}

/* a cím linkje a teljes kártyát kattinthatóvá teszi */
.product-card:not(.is-wide) h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-tagline {
    margin: 0 0 12px;
    font-weight: 600;
    color: var(--ink-soft);
}

.product-short {
    font-size: 0.96rem;
    color: var(--muted);
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0;
}

.chips li {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.product-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin: 12px 26px 0;
    padding: 16px 0 22px;
    border-top: 1px solid var(--line);
}

/* fejlesztői (széles, sötét) kártya */
.product-card.is-wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    padding: clamp(28px, 4vw, 52px);
    color: var(--on-night);
    border-color: #252e3b;
    background:
        radial-gradient(600px 360px at 100% 0%, rgba(198, 151, 73, 0.20), transparent 65%),
        linear-gradient(160deg, #1a212c 0%, #0f141d 100%);
}

.product-card.is-wide:hover {
    border-color: rgba(232, 196, 107, 0.45);
}

.is-wide .product-sector {
    color: var(--gold-bright);
}

.is-wide h3 {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    color: #fff;
}

.is-wide h3 a:hover {
    color: var(--gold-bright);
}

.is-wide .product-tagline {
    color: var(--on-night);
}

.is-wide .product-short {
    color: var(--on-night-muted);
    font-size: 1rem;
}

.is-wide .chips {
    margin-bottom: 24px;
}

.is-wide .chips li {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--night-line);
    color: var(--on-night);
}

.code-window {
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #0a0e15;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.code-window .window-bar {
    background: #151b25;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.code-window .window-bar i {
    background: #313a48;
}

.code-window .window-bar i:first-child {
    background: var(--gold);
}

.code-window .window-bar b {
    color: #8c909a;
    font-family: var(--font-mono);
    font-weight: 400;
}

.code-window pre {
    margin: 0;
    padding: 20px 22px 22px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    line-height: 1.7;
    color: #d9d6ce;
}

.c-method { color: #1d1506; background: var(--gold-bright); padding: 1px 6px; border-radius: 4px; font-weight: 700; }
.c-path   { color: #fff; }
.c-head   { color: #8c909a; }
.c-key    { color: var(--gold-bright); }
.c-str    { color: #b7d9a6; }
.c-num    { color: #f1a877; }
.c-punc   { color: #6f737d; }
.c-comment { color: #7f848f; font-style: italic; }

/* ---------------- Így dolgozunk ---------------- */

.about {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: start;
}

.about-copy {
    position: sticky;
    top: 110px;
}

.about-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
}

.steps li {
    padding-top: 22px;
    border-top: 1px solid var(--line-strong);
    position: relative;
}

.steps li::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gold-gradient);
}

.step-num {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #e7bd72 0%, #a57a35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

.steps h3 {
    font-size: 1.14rem;
    margin-bottom: 6px;
}

.steps p {
    margin: 0;
    color: var(--muted);
    font-size: 0.97rem;
}

/* ---------------- Távsegítség sáv (másodlagos) ---------------- */

.remote-band {
    padding: 0 0 clamp(20px, 3vw, 36px);
    background: var(--surface);
}

.remote-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: center;
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--radius-lg);
    background: var(--sand);
    border: 1px solid var(--line);
}

.remote-intro {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon-badge {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--gold-bright);
}

.remote-intro h2 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.remote-intro p {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.96rem;
}

.remote-intro .link-arrow {
    font-size: 0.94rem;
}

.remote-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.remote-tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
    padding: 14px 14px 14px 18px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.remote-tile:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.remote-tile.is-recommended {
    border-color: var(--gold-line);
    box-shadow: inset 0 0 0 1px var(--gold-line);
}

.remote-text strong {
    display: block;
    font-size: 1.02rem;
}

/* az „Ajánlott" címke a csempe felső szegélyén ül, nem töri a sort */
.remote-text em {
    position: absolute;
    top: -10px;
    left: 14px;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--gold-gradient);
    color: #1d1506;
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.remote-text small {
    display: block;
    margin-top: 2px;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--muted);
}

.remote-dl {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gold-gradient);
    color: #1d1506;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ---------------- Kapcsolat ---------------- */

.contact {
    background: var(--surface);
    padding-top: clamp(40px, 5vw, 64px);
}

.contact-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    padding: clamp(30px, 5vw, 64px);
    border-radius: 28px;
    color: var(--on-night);
    background:
        radial-gradient(700px 400px at 0% 0%, rgba(198, 151, 73, 0.22), transparent 60%),
        linear-gradient(160deg, #1a212c 0%, var(--night) 100%);
}

.contact-panel .eyebrow {
    color: var(--gold-bright);
}

.contact-panel h2 {
    color: #fff;
}

.contact-copy p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 26px;
    color: var(--on-night-muted);
    font-size: 1.05rem;
}

.contact-card {
    font-style: normal;
    display: grid;
    gap: 4px;
    padding: 10px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--night-line);
}

.contact-card > div {
    display: flex;
    gap: 14px;
    padding: 16px 0;
}

.contact-card > div + div {
    border-top: 1px solid var(--night-line);
}

.contact-card .icon {
    margin-top: 3px;
    color: var(--gold-bright);
}

.contact-card small {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-night-muted);
}

.contact-card a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--gold-bright);
}

.contact-card em {
    display: block;
    margin-top: 4px;
    font-size: 0.86rem;
    font-style: normal;
    color: var(--on-night-muted);
}

/* ---------------- Morzsamenü, aloldal fejléc ---------------- */

.breadcrumb {
    padding: 18px 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.breadcrumb .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--gold-deep);
    text-decoration: underline;
}

.breadcrumb [aria-current] {
    color: var(--ink);
    font-weight: 600;
}

.page-hero {
    padding: clamp(34px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
    background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
}

.page-hero .lead {
    max-width: 640px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.5vw, 1.15rem);
    margin-bottom: 26px;
}

/* ---------------- Szoftver aloldal ---------------- */

.page-software .breadcrumb,
.page-support .breadcrumb {
    background: var(--paper);
}

.software-hero {
    padding: clamp(30px, 4vw, 52px) 0 clamp(48px, 6vw, 80px);
    background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%);
    border-bottom: 1px solid var(--line);
}

.software-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
}

.software-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    margin-bottom: 8px;
}

.software-tagline {
    margin: 0 0 16px;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--gold-deep);
}

.software-lead {
    color: var(--ink-soft);
    font-size: 1.04rem;
    margin-bottom: 26px;
}

.software-hero-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.software-hero-media.media-shot {
    padding: clamp(20px, 3vw, 34px);
    background:
        radial-gradient(420px 200px at 85% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
        linear-gradient(135deg, #f7eed9 0%, #ead9b1 100%);
    border: 1px solid var(--gold-line);
}

.software-hero-media.media-shot .window {
    box-shadow: 0 24px 50px rgba(138, 100, 23, 0.25);
    border-color: rgba(138, 100, 23, 0.18);
}

.software-hero-media.media-logo,
.software-hero-media.media-photo {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: clamp(30px, 5vw, 56px);
    background:
        radial-gradient(rgba(198, 151, 73, 0.18) 1px, transparent 1.2px) 0 0 / 20px 20px,
        #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.software-hero-media.media-logo img {
    width: auto;
    max-width: 80%;
    max-height: 110px;
}

.software-hero-media.media-photo img {
    width: 100%;
    max-width: 520px;
    height: auto;
}

.highlight-section {
    padding: clamp(40px, 5vw, 64px) 0;
    background: var(--surface);
}

.highlight-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 26px);
}

.highlight-grid li {
    padding: 26px 26px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--paper);
}

.highlight-grid .step-num {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.highlight-grid h2 {
    font-size: 1.14rem;
    margin-bottom: 6px;
}

.highlight-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.detail-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.detail-text .section-head {
    margin-bottom: 22px;
}

.detail-text p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: 1.04rem;
}

.detail-features {
    position: sticky;
    top: 100px;
    padding: 28px 28px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--paper);
}

.detail-features h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.feature-list li {
    position: relative;
    padding-left: 32px;
    font-size: 0.97rem;
    color: var(--ink-soft);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1506' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / 12px no-repeat,
        var(--gold-gradient);
}

.gallery-section {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(18px, 2.4vw, 28px);
    align-items: start;
}

.gallery-grid.single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 960px;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid .window {
    border-color: var(--line);
    box-shadow: var(--shadow);
}

.gallery-grid figcaption {
    padding: 12px 4px 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.cta-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.others-section {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 16px;
}

.other-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 22px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.other-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-line);
    box-shadow: var(--shadow-sm);
}

.other-card .product-sector {
    margin-bottom: 4px;
}

.other-card strong {
    font-family: var(--font-display);
    font-size: 1.14rem;
}

.other-tagline {
    flex: 1 1 auto;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.other-card .link-arrow {
    margin-top: 8px;
    font-size: 0.92rem;
}

.notfound {
    text-align: center;
}

.notfound .actions {
    justify-content: center;
}

/* ---------------- Támogatás oldal ---------------- */

.remote-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.remote-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.remote-card.is-recommended {
    border-color: var(--gold-line);
    box-shadow: inset 0 0 0 1px var(--gold-line), var(--shadow);
}

.remote-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.remote-card .step-num {
    margin: 0;
    font-size: 1.8rem;
}

.remote-card h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.remote-card p {
    flex: 1 1 auto;
    color: var(--muted);
    font-size: 0.97rem;
}

.remote-card .button {
    width: 100%;
}

.badge {
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--gold-soft);
    color: var(--gold-deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.support-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

/* négy tétel: 2x2, hogy ne maradjon egy árva kártya a sor végén */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 26px);
}

.support-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 30px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--paper);
    overflow: hidden;
}

.support-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ink);
}

.support-card.accent-gold::before  { background: var(--gold-gradient); }
.support-card.accent-slate::before { background: #8b94a3; }

.support-lead {
    margin: 0 0 4px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.support-desc {
    flex: 1 1 auto;
    color: var(--muted);
    font-size: 0.97rem;
}

.support-meta {
    margin: 0 0 18px;
    font-size: 0.84rem;
    color: var(--ink-soft);
}

.support-card .button {
    align-self: flex-start;
}

/* ---------------- Lábléc ---------------- */

.site-footer {
    background: var(--night);
    color: var(--on-night-muted);
    padding: clamp(52px, 6vw, 80px) 0 26px;
}

.footer-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
}

.footer-brand p {
    max-width: 380px;
    margin-top: 4px;
    font-size: 0.95rem;
}

.footer-col h3 {
    margin-bottom: 16px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-col a {
    color: var(--on-night-muted);
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* a vonal a tartalom szélességéig ér, nem a belső margóig */
.footer-bottom {
    width: calc(100% - 2 * var(--gutter));
    max-width: calc(var(--container) - 2 * var(--gutter));
    margin: clamp(36px, 5vw, 56px) auto 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.87rem;
}

.footer-bottom p {
    margin: 0;
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--on-night-muted);
    font-weight: 600;
    text-decoration: none;
}

.to-top:hover {
    color: var(--gold-bright);
}

/* ---------------- Reszponzív ---------------- */

/* menügomb: a teljes menü a logóval együtt kb. 1090 px-től fér ki egy sorba (Segoe UI-jal
   mérve); más gépek betűi szélesebbek lehetnek, ezért a határ 1140 px, tartalékkal */
@media (max-width: 1140px) {
    .nav-toggle {
        display: block;
    }

    .header-inner {
        position: relative;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px var(--gutter) 20px;
        background: var(--surface);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(23, 24, 28, 0.12);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 12px;
    }

    .main-nav > a:not(.nav-remote):not(.nav-phone)::after {
        display: none;
    }

    .main-nav > a.active {
        background: var(--gold-soft);
    }

    .nav-sep {
        width: auto;
        height: 1px;
        margin: 8px 0;
    }

    .main-nav .nav-phone {
        justify-content: center;
        margin: 6px 0 0;
        padding: 14px 16px;
    }
}

@media (max-width: 1100px) {
    .sector-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sector-strip li:nth-child(4) {
        border-left: 0;
    }

    .sector-strip li:nth-child(n + 4) {
        border-top: 1px solid var(--night-line);
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .software-hero-inner,
    .detail-grid,
    .about-grid,
    .contact-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    /* egy oszlopban a szöveg alá kerül: középre, a korábbi 640 px széles kép felén */
    .showcase {
        max-width: 540px;
        justify-self: center;
    }

    .product-card.is-wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-copy,
    .detail-features {
        position: static;
    }

    .remote-panel {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* táblagép: a logós kártyák fekvő elrendezésben, egymás alatt */
@media (max-width: 1024px) and (min-width: 681px) {
    .product-card.is-standard {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
        grid-template-rows: 1fr auto;
    }

    .product-card.is-standard .product-media {
        grid-row: 1 / span 2;
        height: auto;
        min-height: 100%;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }
}

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

    .remote-list,
    .remote-cards,
    .highlight-grid,
    .support-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 76px;
    }

    .header-inner {
        min-height: 64px;
    }

    .brand-jel {
        height: 40px;
    }

    .brand-felirat {
        height: 26px;
    }

    .section-head.split {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .product-card.is-feature,
    .product-card.is-standard {
        grid-column: 1 / -1;
    }

    .product-media.media-shot {
        height: 200px;
        padding: 22px 22px 0;
    }

    .product-body {
        padding: 22px 20px 4px;
    }

    .product-actions {
        margin: 10px 20px 0;
    }

    .showcase {
        max-width: 280px;
    }

    .showcase .window-bar b {
        display: none;
    }

    .sector-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 44px;
    }

    .sector-strip li:nth-child(n) {
        border-left: 0;
        border-top: 1px solid var(--night-line);
    }

    .sector-strip li:nth-child(even) {
        border-left: 1px solid var(--night-line);
    }

    .sector-strip li:nth-child(-n + 2) {
        border-top: 0;
    }

    .sector-strip a {
        padding: 16px 12px;
        font-size: 0.88rem;
    }

    .code-window pre {
        font-size: 0.76rem;
        padding: 16px;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
