/* Társasházi Ügyek – nyilvános bemutató oldal. Nyugodt, "irodai" hangulat: papír, tinta, egy meleg kiemelőszín. */
:root {
    --paper: #f5f1ea;
    --paper-2: #efe9df;
    --surface: #fffdf9;
    --ink: #18222f;
    --ink-2: #2b3746;
    --muted: #5d6673;
    --line: #e2dacb;
    --accent: #b9772a;
    --accent-ink: #8a5518;
    --accent-soft: #f6e7d2;
    --ok: #2e7d4f;
    --ok-soft: #e3f2e8;
    --bad: #b23a2e;
    --info: #2f6fde;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
img { max-width: 100%; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1.2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--accent-ink); margin: 0 0 .9rem; }

/* Gombok */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-login { background: var(--surface); color: var(--ink); border-color: var(--line); padding: .55rem 1rem; font-size: .92rem; }
.btn-login:hover { border-color: var(--ink); }
.btn-block { width: 100%; justify-content: center; padding: .95rem 1.25rem; margin-top: 1rem; }

/* Fejléc */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245, 241, 234, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #f3c98a; font-size: 1.05rem; }
.header-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.header-nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.header-nav a:hover { color: var(--accent-ink); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); margin: 1.4rem 0 2rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin-top: 1.6rem; font-size: .92rem; color: var(--muted); }
.hero-note .bi { color: var(--ok); }

.hero-visual { position: relative; }
.mock-window { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(24, 34, 47, .35), 0 2px 6px rgba(24, 34, 47, .06); overflow: hidden; transform: rotate(-.6deg); }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d8cfbf; }
.mock-body { padding: 18px; font-size: .82rem; }
.mock-house { display: flex; gap: 10px; align-items: center; border-left: 3px solid var(--ink); background: var(--paper); border-radius: 8px; padding: 8px 10px; }
.mock-house b { background: var(--ink); color: #fff; border-radius: 6px; padding: 4px 7px; font-size: .78rem; }
.mock-house small { display: block; color: var(--muted); }
.mock-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; margin: 14px 0 10px; }
.chip { white-space: nowrap; font-style: normal; font-family: var(--sans); font-size: .7rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.mock-steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0 0 14px; font-size: .72rem; }
.mock-steps li { text-align: center; padding: 6px 2px; border: 1px solid var(--line); margin-left: -1px; color: var(--muted); }
.mock-steps li:first-child { border-radius: 6px 0 0 6px; }
.mock-steps li:last-child { border-radius: 0 6px 6px 0; }
.mock-steps .done { background: var(--ok-soft); color: var(--ok); }
.mock-steps .current { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.mock-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mock-table .row { display: grid; grid-template-columns: 1.6fr 1fr 1.15fr 1.15fr; gap: 6px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--line); }
.mock-table .row:first-child { border-top: 0; }
.mock-table .head { background: var(--paper); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.mock-table .accepted { background: var(--ok-soft); box-shadow: inset 3px 0 0 var(--ok); }
.mock-table em { display: block; font-style: normal; font-size: .68rem; color: var(--muted); }
.pill { justify-self: end; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.mock-toast { position: absolute; left: -26px; bottom: -26px; display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: 0 18px 40px -20px rgba(24, 34, 47, .4); font-size: .82rem; max-width: 300px; }
.mock-toast small { display: block; color: var(--muted); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.dot.warn { background: var(--accent); }
.dot.bad { background: var(--bad); }
.dot.info { background: var(--info); }

/* Ismerős kérdések */
.pains { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--ink); color: #f3eee6; }
.pains .section-title { color: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 0; }
.pain { margin: 0; padding: 1.4rem 1.5rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.pain blockquote { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; color: #fff; }
.pains-answer { margin: 2rem 0 0; font-size: 1.1rem; color: #f3c98a; max-width: 46rem; }

/* Funkciók */
.features { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.feature { background: var(--surface); padding: 1.6rem 1.5rem 1.7rem; }
.feature-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.15rem; margin-bottom: .9rem; }
.feature h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
.feature-extra { margin: 1.4rem 0 0; color: var(--muted); }
.feature-extra .bi { color: var(--accent); }

/* Működés */
.flow { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.flow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.flow-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.flow-steps::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.flow-steps li { position: relative; display: flex; gap: 1.1rem; padding: .7rem 0; }
.flow-steps b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); font-family: var(--serif); font-size: 1.05rem; z-index: 1; }
.flow-steps li:last-child b { background: var(--ok); border-color: var(--ok); color: #fff; }
.flow-steps strong { display: block; font-size: 1.05rem; }
.flow-steps span { color: var(--muted); font-size: .95rem; }

/* Bemutató képernyők */
.showcase { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.showcase-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
.show-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 20px 40px -32px rgba(24, 34, 47, .45); }
.show-head { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; }
.matrix { font-size: .78rem; }
.m-row { display: grid; grid-template-columns: .8fr repeat(4, 1fr); gap: 6px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.m-head { border-top: 0; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.c { font-style: normal; text-align: center; border-radius: 6px; padding: 3px 4px; font-weight: 600; font-size: .72rem; }
.c.ok { background: var(--ok-soft); color: var(--ok); }
.c.no { background: #f8e1de; color: var(--bad); }
.c.run { background: #e2ebfb; color: #1f4fa3; }
.c.mod { background: var(--accent-soft); color: var(--accent-ink); }
.c.exp { outline: 2px solid var(--bad); background: #f8e1de; color: var(--bad); }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .88rem; }
.alerts li:first-child { border-top: 0; }
.alerts small { display: block; color: var(--muted); }

/* Két oszlop */
.two-col { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem); }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.panel h2 { font-size: 1.45rem; margin-bottom: 1rem; display: flex; gap: .6rem; align-items: center; }
.panel h2 .bi { color: var(--accent); font-size: 1.2rem; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: .45rem 0 .45rem 1.7rem; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .95rem; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* GYIK */
.faq { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.faq-wrap { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 1.05rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--accent-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

/* Ajánlatkérés */
.contact { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--ink); color: #f3eee6; }
.contact .section-title { color: #fff; }
.contact .eyebrow { color: #f3c98a; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-copy p { color: #d8d1c5; }
.contact-points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-points li { padding: .35rem 0; color: #f3eee6; }
.contact-points .bi { color: #f3c98a; margin-right: .5rem; }
.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field.span-2 { grid-column: span 2; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .8rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(185, 119, 42, .2); }
.field-error { color: var(--bad); font-weight: 500; font-size: .84rem; }
.form-alert { background: #f8e1de; color: var(--bad); border-radius: 10px; padding: .7rem .9rem; margin-bottom: 1rem; font-size: .92rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.1rem; font-size: .9rem; color: var(--ink-2); }
.consent input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 2rem 1rem; }
.thanks-icon { font-size: 3rem; color: var(--ok); }
.thanks h3 { font-size: 1.6rem; margin: .5rem 0; }
.thanks p { color: var(--muted); }

/* Lábléc */
.site-footer { padding: 2.2rem 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer-inner strong { color: var(--ink); font-family: var(--serif); }
.site-footer nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent-ink); }

/* Jogi oldal */
.legal { padding: clamp(2.5rem, 5vw, 4rem) 0 5rem; }
.legal-wrap { max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal td { border-top: 1px solid var(--line); padding: .5rem .6rem .5rem 0; vertical-align: top; }
.legal td:first-child { color: var(--muted); width: 38%; }

/* Reszponzív */
@media (max-width: 960px) {
    .hero-grid, .flow-grid, .contact-grid, .showcase-grid, .two-col-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .mock-toast { left: 12px; bottom: -22px; }
    .hero-visual { margin-bottom: 1.5rem; }
}
@media (max-width: 760px) {
    .header-nav { display: none; }
    .btn-login { margin-left: auto; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    .feature-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .field.span-2 { grid-column: auto; }
    .brand-name { font-size: 1rem; }
    .mock-table .row { grid-template-columns: 1.4fr .9fr 1fr; }
    .mock-table .row > :nth-child(4) { display: none; }
    .m-row { grid-template-columns: .7fr repeat(4, 1fr); gap: 3px; }
    .mock-steps li { font-size: .6rem; padding: 6px 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .c { font-size: .62rem; padding: 3px 2px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
