/* =========================================================
   DÁVID NÁRAY — EGYEDI RENDSZEREK
   Újratervezett, főoldallal egységes stílus
   ========================================================= */

   :root {
    --cream: #f3eee5;
    --paper: #e9e2d5;
    --sand: #d5c7b2;
    --ink: #202421;
    --muted: #72766d;
    --green: #62735e;
    --line: rgba(32,36,33,.18);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Manrope', Arial, sans-serif;
    --mono: 'DM Mono', monospace;
    --shell: min(1180px, calc(100% - 96px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* SHELL */
.systems-shell { width: var(--shell); margin-inline: auto; }

/* SECTION BACKGROUNDS */
.systems-section { padding: 150px 0; position: relative; }
.systems-section-paper { background: var(--paper); }
.systems-section-green { background: var(--green); color: var(--cream); padding: 150px 0; }
.systems-section-ink { background: var(--ink); color: var(--cream); padding: 150px 0; }

/* HEADER */
.systems-header {
    position: fixed;
    z-index: 20;
    top: 0;
    width: 100%;
    transition: background .35s, box-shadow .35s;
    background: rgba(243,238,229,.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}
.systems-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.systems-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -.03em;
}
.systems-brand-mark {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font: 10px var(--mono);
    letter-spacing: -.1em;
}
.systems-nav {
    display: flex;
    gap: 29px;
    font-size: 12px;
    font-weight: 700;
}
.systems-nav a {
    position: relative;
}
.systems-nav a::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s;
}
.systems-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.systems-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--cream);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .3s, transform .3s;
}
.systems-header-cta:hover { background: var(--green); transform: translateY(-2px); }

/* BUTTONS */
.systems-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    border: 1px solid transparent;
    padding: 15px 19px;
    font-size: 12px;
    font-weight: 700;
    transition: transform .3s, background .3s, color .3s;
}
.systems-button span { font-size: 18px; font-weight: 400; line-height: 0; transition: transform .3s; }
.systems-button:hover { transform: translateY(-3px); }
.systems-button:hover span { transform: translate(3px,-3px); }
.systems-button-dark { background: var(--ink); color: var(--cream); }
.systems-button-dark:hover { background: var(--green); }
.systems-button-light { background: var(--cream); color: var(--ink); }
.systems-button-light:hover { background: var(--sand); }
.systems-text-link {
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 5px;
}
.systems-text-link span { font-size: 17px; margin-left: 9px; }

/* EYEBROW */
.systems-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 10px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.systems-eyebrow-line { width: 31px; height: 1px; background: currentColor; flex: 0 0 auto; }
.systems-section-index {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 10px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0;
}
.systems-section-index span { opacity: .5; }

/* HERO */
.systems-hero {
    min-height: 800px;
    padding-top: 190px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: 60px;
    position: relative;
}
.systems-hero h1 {
    font-size: clamp(48px,6vw,88px);
    line-height: 1.02;
    letter-spacing: -.075em;
    max-width: 780px;
    margin: 29px 0;
}
.systems-hero h1 em { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
.systems-lead { max-width: 490px; color: var(--muted); font-size: 16px; }
.systems-hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 38px; }

/* HERO ART */
.systems-hero-art {
    height: 500px;
    position: relative;
    max-width: 480px;
    margin-left: auto;
}
.systems-art-circle {
    position: absolute;
    width: 245px;
    height: 245px;
    border-radius: 50%;
    background: var(--green);
    top: 55px;
    right: 58px;
}
.systems-art-square {
    position: absolute;
    width: 174px;
    height: 174px;
    border: 1px solid var(--ink);
    transform: rotate(18deg);
    top: 170px;
    right: 135px;
}
.systems-art-line {
    position: absolute;
    width: 220px;
    height: 1px;
    background: var(--ink);
    transform: rotate(-38deg);
}
.systems-art-line-one { top: 170px; right: -3px; }
.systems-art-line-two { top: 340px; right: 63px; width: 290px; }
.systems-art-note {
    position: absolute;
    z-index: 1;
    top: 144px;
    left: 35px;
    font: 500 27px/1.08 var(--serif);
    font-style: italic;
    transform: rotate(-10deg);
}
.systems-art-caption {
    position: absolute;
    bottom: 26px;
    right: 0;
    font: 10px/1.7 var(--mono);
    text-align: right;
}
.systems-art-caption small { color: var(--muted); letter-spacing: .12em; }

/* SCROLL CUE */
.systems-scroll-cue {
    position: absolute;
    bottom: 45px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font: 9px var(--mono);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.systems-scroll-cue i { display: block; width: 50px; height: 1px; background: var(--ink); }

/* INTRO */
.systems-intro { padding: 150px 0; }
.systems-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr .9fr;
    gap: 45px;
}
.systems-intro h2 {
    font-size: clamp(38px,5vw,66px);
    line-height: 1.03;
    letter-spacing: -.07em;
    margin: 55px 0 24px;
}
.systems-intro h2 em { font-family: var(--serif); font-weight: 500; }
.systems-large-copy { font: italic 25px var(--serif); max-width: 370px; color: var(--ink); }
.systems-intro-body { padding-top: 80px; }
.systems-intro-body p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* SECTION HEADING */
.systems-section-heading { margin-bottom: 65px; }
.systems-section-heading h2 {
    font-size: clamp(38px,5vw,66px);
    line-height: 1.03;
    letter-spacing: -.07em;
    margin: 22px 0 18px;
}
.systems-section-heading h2 em { font-family: var(--serif); font-weight: 500; }
.systems-section-heading p { color: var(--muted); max-width: 580px; font-size: 15px; line-height: 1.8; }

/* EXPLORER */
.systems-explorer {
    display: grid;
    grid-template-columns: 340px minmax(0,1fr);
    border: 1px solid var(--line);
}

/* TABS */
.systems-tab-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
}
.systems-tab {
    position: relative;
    width: 100%;
    padding: 20px 24px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: 32px 1fr 20px;
    align-items: center;
    gap: 12px;
    transition: background .35s, color .35s, padding-left .4s cubic-bezier(.22,.61,.36,1);
}
.systems-tab:last-child { border-bottom: 0; }
.systems-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    transition: background .3s;
}
.systems-tab-number {
    font: 11px var(--mono);
    color: var(--green);
    letter-spacing: .08em;
}
.systems-tab-label { font-size: 13px; font-weight: 600; line-height: 1.4; }
.systems-tab-arrow {
    font-size: 16px;
    font-weight: 400;
    opacity: 0;
    transform: translate(-4px,4px);
    transition: opacity .3s, transform .3s;
    color: var(--green);
}
.systems-tab:hover {
    padding-left: 30px;
    background: rgba(98,115,94,.06);
    color: var(--ink);
}
.systems-tab:hover .systems-tab-arrow { opacity: 1; transform: translate(0,0); }
.systems-tab.active {
    background: rgba(98,115,94,.10);
    color: var(--ink);
}
.systems-tab.active::before { background: var(--green); }
.systems-tab.active .systems-tab-number { color: var(--green); }
.systems-tab.active .systems-tab-arrow { opacity: 1; transform: translate(0,0); }

/* PANEL AREA */
.systems-panel-area {
    position: relative;
    min-height: 580px;
    padding: 65px 70px;
    background: var(--paper);
    overflow: hidden;
}
.systems-panel { position: relative; z-index: 2; max-width: 600px; display: none; }
.systems-panel.active { display: block; }
.systems-panel-number {
    font: 11px var(--mono);
    color: var(--green);
    letter-spacing: .12em;
    margin-bottom: 22px;
}
.systems-panel h3 {
    font-size: clamp(36px,3.8vw,54px);
    line-height: 1.03;
    letter-spacing: -.07em;
    margin-bottom: 28px;
}
.systems-panel h3 em { font-family: var(--serif); font-weight: 500; }
.systems-panel-intro {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 580px;
}
.systems-panel > p:not(.systems-panel-number):not(.systems-panel-intro) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 38px;
    max-width: 580px;
}
.systems-panel-details {
    padding-top: 27px;
    border-top: 1px solid var(--line);
}
.systems-panel-details > span {
    display: block;
    margin-bottom: 17px;
    font: 9px var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.systems-panel-details ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 11px 35px;
    list-style: none;
}
.systems-panel-details li {
    position: relative;
    padding-left: 17px;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.55;
}
.systems-panel-details li::before {
    content: '↳';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-size: 12px;
}

/* PANEL ART */
.systems-panel-art {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}
.systems-panel-art-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(98,115,94,.2);
    right: -80px;
    top: 60px;
}
.systems-panel-art-line {
    position: absolute;
    width: 180px;
    height: 1px;
    background: rgba(32,36,33,.08);
    right: 60px;
    bottom: 80px;
    transform: rotate(-25deg);
}

/* FLOW */
.systems-flow-lead {
    max-width: 780px;
    margin: 45px 0 65px;
}
.systems-flow-lead h2 {
    font-size: clamp(38px,5vw,66px);
    line-height: 1.03;
    letter-spacing: -.07em;
    margin-bottom: 18px;
    color: var(--cream);
}
.systems-flow-lead h2 em { font-family: var(--serif); font-weight: 500; color: var(--sand); }
.systems-flow-lead p { color: rgba(243,238,229,.72); font-size: 15px; line-height: 1.8; }
.systems-flow-list { border-top: 1px solid rgba(243,238,229,.2); }
.systems-flow-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    min-height: 90px;
    border-bottom: 1px solid rgba(243,238,229,.2);
    transition: padding-left .35s, background .35s;
}
.systems-flow-item:hover { padding-left: 12px; background: rgba(243,238,229,.06); }
.systems-flow-item span {
    font: 10px var(--mono);
    letter-spacing: .08em;
    color: rgba(243,238,229,.55);
}
.systems-flow-item p { color: var(--cream); font-size: 15px; }

/* AUDIENCE */
.systems-audience-list { border-top: 1px solid var(--line); max-width: 900px; }
.systems-audience-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    align-items: baseline;
    padding: 25px 10px 25px 0;
    border-bottom: 1px solid var(--line);
    transition: transform .4s, background .4s;
}
.systems-audience-item:hover { transform: translateX(8px); background: rgba(98,115,94,.06); }
.systems-audience-item span { font: 10px var(--mono); letter-spacing: .08em; color: var(--green); }
.systems-audience-item p { color: var(--ink); font-size: 14px; line-height: 1.65; }

/* EXAMPLE */
.systems-example-link {
    position: relative;
    display: block;
    overflow: hidden;
    max-width: 900px;
    padding: 48px 56px 44px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: inherit;
    transition: transform .4s, background .4s;
}
.systems-example-link:hover { transform: translateY(-4px); background: rgba(98,115,94,.06); }
.systems-example-kicker {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    font: 10px var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
}
.systems-example-link h3 {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 0 18px;
    font-size: clamp(36px,4vw,58px);
    line-height: 1.03;
    letter-spacing: -.07em;
}
.systems-example-link h3 em { font-family: var(--serif); font-weight: 500; }
.systems-example-link > p {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 0 0 36px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}
.systems-example-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 5px;
}
.systems-example-cta span { font-size: 17px; font-weight: 400; transition: transform .3s; }
.systems-example-link:hover .systems-example-cta span { transform: translate(3px,-3px); }
.systems-example-art { position: absolute; inset: 0; pointer-events: none; }
.systems-example-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--green);
    opacity: .18;
    right: -60px;
    top: 40px;
}
.systems-example-line {
    position: absolute;
    width: 240px;
    height: 1px;
    background: var(--ink);
    right: 40px;
    bottom: 90px;
    transform: rotate(-28deg);
}

/* CTA */
.systems-cta-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding: 100px 0;
}
.systems-cta-stamp {
    width: 105px;
    height: 105px;
    border: 1px solid rgba(243,238,229,.38);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font: 600 14px/1.2 var(--mono);
    color: rgba(243,238,229,.65);
    transform: rotate(-13deg);
}
.systems-cta-stamp span { font-size: 10px; opacity: .7; }
.systems-cta-copy { max-width: 720px; }
.systems-cta-copy h2 {
    font-size: clamp(38px,5vw,66px);
    line-height: 1.03;
    letter-spacing: -.07em;
    margin: 32px 0 18px;
    color: var(--cream);
}
.systems-cta-copy h2 em { font-family: var(--serif); font-weight: 500; color: var(--sand); }
.systems-cta-copy > p { color: rgba(243,238,229,.7); font-size: 15px; margin-bottom: 32px; max-width: 450px; }
.systems-cta-copy .systems-eyebrow { color: rgba(243,238,229,.6); }

/* CONTACT */
.systems-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}
.systems-contact-info h2 {
    font-size: clamp(38px,5vw,66px);
    line-height: 1.03;
    letter-spacing: -.07em;
    margin: 35px 0 18px;
}
.systems-contact-info h2 em { font-family: var(--serif); font-weight: 500; }
.systems-contact-info > p { color: var(--muted); max-width: 330px; }
.systems-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 55px;
    font: 14px var(--mono);
}
.systems-contact-details a:hover { color: var(--green); }
.systems-contact-form { display: flex; flex-direction: column; gap: 22px; }
.systems-contact-form label { display: flex; flex-direction: column; gap: 6px; }
.systems-contact-form label span {
    font: 10px var(--mono);
    text-transform: uppercase;
    color: var(--muted);
}
.systems-contact-form input,
.systems-contact-form select,
.systems-contact-form textarea {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 7px 0;
    outline: 0;
    color: var(--ink);
    resize: vertical;
    border-radius: 0;
}
.systems-contact-form input:focus,
.systems-contact-form select:focus,
.systems-contact-form textarea:focus { border-color: var(--green); }
.systems-contact-form .systems-button { align-self: flex-start; margin-top: 6px; }
.systems-form-success { min-height: 24px; margin: 0; color: var(--green); font-size: 13px; }

/* FOOTER */
.systems-footer { background: var(--ink); color: var(--cream); padding: 65px 0 25px; }
.systems-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 35px;
    align-items: start;
}
.systems-footer .systems-brand-mark { border-color: var(--cream); }
.systems-footer-top > p { margin: 0; color: var(--sand); font: italic 17px var(--serif); }
.systems-footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.systems-footer-links a:hover { color: var(--sand); }
.systems-footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(243,238,229,.2);
    margin-top: 60px;
    padding-top: 20px;
    color: var(--muted);
    font: 10px var(--mono);
}

/* REVEAL ANIMATIONS */
.systems-reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s ease, transform .8s ease; }
.systems-reveal.is-visible { opacity: 1; transform: translateY(0); }
.systems-reveal-delay { transition-delay: .15s; }

/* RESPONSIVE */
@media (max-width: 900px) {
    :root { --shell: min(100% - 48px, 760px); }
    .systems-nav { display: none; }
    .systems-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 135px; }
    .systems-hero-art { height: 300px; margin: 35px 0 0; }
    .systems-art-circle { width: 155px; height: 155px; right: 35px; top: 20px; }
    .systems-art-square { width: 115px; height: 115px; right: 90px; top: 90px; }
    .systems-art-note { top: 83px; left: 18px; font-size: 20px; }
    .systems-intro-grid { grid-template-columns: 1fr; }
    .systems-intro-body { padding-top: 0; }
    .systems-explorer { grid-template-columns: 1fr; }
    .systems-tab-list { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; }
    .systems-tab { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); width: auto; flex: 1 1 calc(33% - 1px); }
    .systems-panel-area { padding: 45px 35px; }
    .systems-example-link { padding: 40px 32px 36px; }
    .systems-cta-inner { grid-template-columns: 1fr; gap: 40px; }
    .systems-contact-grid { grid-template-columns: 1fr; gap: 55px; }
    .systems-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    :root { --shell: calc(100% - 32px); }
    .systems-header-inner { min-height: 72px; }
    .systems-header-cta { display: none; }
    .systems-hero h1 { font-size: clamp(42px,12vw,66px); }
    .systems-hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; }
    .systems-tab-list { flex-direction: column; }
    .systems-tab { width: 100%; flex: none; }
    .systems-panel-area { padding: 35px 22px; }
    .systems-panel-details ul { grid-template-columns: 1fr; }
    .systems-flow-item { grid-template-columns: 50px 1fr; }
    .systems-audience-item { grid-template-columns: 45px 1fr; gap: 12px; }
    .systems-example-link { padding: 32px 22px 30px; }
    .systems-example-kicker { flex-direction: column; gap: 8px; }
    .systems-footer-top { grid-template-columns: 1fr; }
    .systems-footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .systems-reveal { opacity: 1; transform: none; transition: none; }
    .systems-button, .systems-button span, .systems-tab, .systems-audience-item, .systems-flow-item, .systems-example-link, .systems-example-cta span { transition: none; }
}