/*
 * Helyiszakik.hu arculat (a design_terv_1 mockup alapján).
 * A színek a WCAG AA kontrasztot teljesítik: fehér szöveg a kéken, zölden és a sötétkéken,
 * sötét szöveg a narancson (a mockup narancsán és zöldjén a fehér szöveg nem olvasható elég jól).
 * Montserrat (változó súlyú, SIL OFL) saját szerverről, a magyar ékezetekhez a latin-ext részhalmazzal.
 */
/* A latin-ext fájlok csak a Latin Extended-A tartományt tartalmazzák (ő, ű és a többi), hogy kicsik maradjanak. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-017F; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-wght-normal.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-017F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.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; }

:root {
    --color-primary: #2563eb;      /* kék, fehér szöveggel 5.2:1 */
    --color-primary-dark: #1d4ed8;
    --color-primary-soft: #eff6ff;
    --color-accent: #f59e0b;       /* narancs (logó), sötét szöveggel 8.3:1 */
    --color-accent-dark: #b45309;  /* narancs szövegnek, keretnek fehér alapon 5.0:1 */
    --color-accent-soft: #fffbeb;
    --color-success: #047857;      /* zöld („Hívás”), fehér szöveggel 5.5:1 */
    --color-navy: #0f2a4a;         /* fejléckép-sáv, lábléc */
    --color-text: #1f2937;
    --color-muted: #5b6472;
    --color-border: #e2e8f0;
    --color-bg: #ffffff;
    --color-bg-soft: #f3f6fa;
    --color-page: #f8fafc;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 1px 2px rgba(15, 42, 74, .06), 0 4px 16px rgba(15, 42, 74, .06);
    --shadow-lg: 0 10px 40px rgba(15, 42, 74, .18);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;            /* folyószöveg */
    --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* címek, gombok, menü */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; font-family: var(--font); color: var(--color-text); background: var(--color-page); line-height: 1.55; font-size: 1rem; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.01em; font-family: var(--font-heading); }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 700; }
/* A linkek nincsenek aláhúzva (kivéve fejléc és lábléc, ahol a hover aláhúz). */
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
img { max-width: 100%; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
main { flex: 1 0 auto; width: 100%; }
main.container { padding-bottom: 8px; }
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* Fejléc */
.site-header { background: linear-gradient(135deg, #0b2140 0%, var(--color-navy) 60%, #163a66 100%); color: #fff; border-bottom: 3px solid var(--color-accent); position: relative; z-index: 30; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-navy); }
.logo:hover { color: var(--color-navy); }
.logo__mark { display: block; height: 44px; width: auto; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-weight: 800; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.02em; }
.logo__name span { color: var(--color-accent-dark); }
.logo__tagline { font-size: .78rem; color: var(--color-muted); font-weight: 500; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__name span { color: var(--color-accent); }
.logo--light .logo__tagline { color: #c7d4e5; }
.site-footer .logo--light .logo__mark { height: 36px; }
.site-nav { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; color: var(--color-text); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--color-primary); }
.site-header .nav a { color: #dbe7f6; display: inline-block; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-header .nav a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.site-header .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--color-accent); }
.site-nav__actions { display: flex; gap: 8px; }
.site-header .btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-navy); }
.site-header .btn--primary:hover { background: #fbbf24; border-color: #fbbf24; color: var(--color-navy); }
.site-header .btn--outline { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.site-header .btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.site-header :focus-visible { outline-color: var(--color-accent); }
.show-sm { display: none; }
@media (max-width: 640px) {
    .logo__mark { height: 38px; }
    .logo__name { font-size: 1.2rem; }
    .logo__tagline { display: none; }
    .site-nav { width: 100%; justify-content: space-between; }
    .nav { gap: 4px 16px; }
    .hide-sm { display: none; }
    .show-sm { display: inline; }
}

/* Gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #1f2937; }
.btn--accent:hover { background: #fbbf24; color: #1f2937; }
.btn--call { background: var(--color-success); color: #fff; }
.btn--call:hover { background: #065f46; color: #fff; }
.btn--outline { border-color: var(--color-primary); color: var(--color-primary); background: #fff; }
.btn--outline:hover { background: var(--color-primary-soft); }
.btn--compact { padding: 8px 14px; font-size: .9rem; }
.btn--large { padding: 14px 26px; font-size: 1.05rem; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* Főoldal: fejléc-sáv kereséssel */
.main--wide { display: block; }
.hero { background: radial-gradient(1200px 400px at 85% 0%, rgba(37, 99, 235, .35), transparent 60%), linear-gradient(135deg, #0b2140 0%, var(--color-navy) 55%, #163a66 100%); color: #fff; padding: 48px 0 56px; overflow: hidden; }
.hero__inner { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.hero__lead { font-size: 1.08rem; color: #dbe7f6; max-width: 46ch; margin: 0 0 24px; }
.hero__lead strong { color: #fff; }
.hero__popular { margin-top: 20px; }
.hero__popular p { margin: 0 0 8px; font-weight: 700; font-size: .9rem; }
.hero__photos { display: none; }
@media (min-width: 1000px) {
    .hero { padding: 64px 0 72px; }
    .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
    .hero__photos { display: grid; gap: 14px; }
    .hero__photo img { display: block; width: 100%; height: 118px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
    .hero__photo--1 { margin-left: 48px; }
    .hero__photo--3 { margin-left: 24px; }
}

/* Kereső */
.search { display: grid; gap: 12px; grid-template-columns: 1fr; background: #fff; padding: 16px; border-radius: var(--radius-lg); margin-top: 16px; box-shadow: var(--shadow); border: 1px solid var(--color-border); color: var(--color-text); }
.search--hero { margin-top: 0; box-shadow: var(--shadow-lg); border: 0; }
.search__field { position: relative; }
.search label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 4px; }
.search input { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: var(--radius); font: inherit; background: #fff; }
.search input:focus { border-color: var(--color-primary); }
.search .btn { padding: 13px 28px; font-size: 1.05rem; }
.autocomplete { position: absolute; z-index: 20; left: 0; right: 0; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 320px; overflow-y: auto; color: var(--color-text); }
.autocomplete li { padding: 8px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.autocomplete li[aria-selected="true"], .autocomplete li:hover { background: var(--color-primary-soft); }
.autocomplete__note { color: var(--color-muted); font-size: .9em; }
@media (min-width: 768px) {
    .search { grid-template-columns: 1fr 1fr auto; align-items: end; }
}

.alert { padding: 12px 16px; border-radius: var(--radius); margin: 16px 0; background: var(--color-bg-soft); border: 1px solid var(--color-border); }
.alert--success { background: #ecfdf5; border-color: #a7f3d0; }
.alert--error { background: #fef2f2; border-color: #fecaca; }

/* Szakaszok, listák */
.section { margin-top: 48px; margin-bottom: 48px; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.section__head h2 { margin: 0; }
.muted { color: var(--color-muted); }
.lead { font-size: 1.1rem; max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--color-border); border-radius: 999px; text-decoration: none; background: #fff; color: var(--color-text); font-weight: 600; font-size: .9rem; }
.chips a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.chips--area a, .chips--area .chip { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; }
.chips--area .chip { padding: 6px 14px 6px 10px; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; }
.chips--area .icon { color: var(--color-accent-dark); }
.chips--light a { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.chips--light a:hover { background: #fff; color: var(--color-navy); border-color: #fff; }
.columns { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.columns h3 { margin: 0 0 8px; font-size: 1.05rem; }
.link-list { list-style: none; padding: 0; margin: 0 0 8px; }
.link-list li { padding: 3px 0; }
.link-list--columns { columns: 220px; column-gap: 24px; }
.name-list { columns: 180px; column-gap: 24px; list-style: none; padding: 0; color: var(--color-muted); }
.more { font-weight: 700; text-decoration: none; }

/* Főoldal: fotós szakmák, csoportok, megyék */
.trade-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); list-style: none; margin: 0; padding: 0; }
.trade-tile { position: relative; display: block; height: 110px; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); background: var(--color-navy); }
.trade-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.trade-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 33, 64, .85) 0%, rgba(11, 33, 64, .35) 60%, rgba(11, 33, 64, .1) 100%); }
.trade-tile span { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.trade-tile:hover img { transform: scale(1.04); }
.group-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.group-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow); border-top: 4px solid var(--color-accent); }
.group-card h3 { margin: 0 0 8px; font-size: 1rem; }
.group-card h3 a { color: var(--color-navy); text-decoration: none; }
.group-card h3 a:hover { color: var(--color-primary); }
.group-card ul { margin: 0 0 6px; font-size: .92rem; }
.group-card li { padding: 2px 0; }
.county-band { display: grid; gap: 16px; background: var(--color-primary-soft); border: 1px solid #dbeafe; border-radius: var(--radius-lg); padding: 24px; }
.county-band h2 { margin: 0 0 4px; }
.county-band p { margin: 0; color: var(--color-muted); }
@media (max-width: 640px) {
    .trade-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .trade-tile { height: 84px; }
    .trade-tile span { left: 10px; bottom: 8px; font-size: .9rem; }
    /* minmax(0, 1fr): a hosszú szó (pl. „ingatlankarbantartás”) ne tolja ki a hasábot a képernyőből */
    .group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .group-card { padding: 12px; min-width: 0; }
    .group-card h3 { margin: 0; font-size: .9rem; }
    .group-card ul, .group-card .more { display: none; }
}
@media (min-width: 900px) { .county-band { grid-template-columns: 280px 1fr; align-items: center; padding: 28px 32px; } }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 16px 0; font-size: .85rem; color: var(--color-muted); }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; color: var(--color-muted); }

/* Találati oldal */
.page-band { position: relative; display: grid; background: var(--color-navy); color: #fff; border-radius: var(--radius-lg); overflow: hidden; margin: 8px 0 16px; box-shadow: var(--shadow); }
.page-band__text { position: relative; z-index: 1; padding: 22px 24px; }
.page-band h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.page-band__lead { margin: 0 0 6px; color: #dbe7f6; max-width: 62ch; }
.page-band__count { margin: 0; font-weight: 700; color: var(--color-accent); }
.page-band__photo img { display: block; width: 100%; height: 120px; object-fit: cover; }
@media (min-width: 800px) {
    .page-band--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 150px; }
    .page-band--photo .page-band__photo { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; }
    .page-band__photo img { height: 100%; }
    .page-band--photo .page-band__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-navy) 0%, rgba(15, 42, 74, .55) 35%, rgba(15, 42, 74, 0) 70%); }
}
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; background: #fff; border: 1px solid var(--color-border); padding: 12px 16px; border-radius: var(--radius-lg); margin: 16px 0; box-shadow: var(--shadow); }
.filters label span { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 2px; }
.filters select { padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: var(--radius); font: inherit; background: #fff; min-width: 180px; }

.expert-list { display: grid; gap: 14px; margin: 16px 0; }
.expert-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px 16px; padding: 18px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.expert-card__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--color-primary-soft); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; color: var(--color-primary); }
.expert-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card__name { margin: 0; font-size: 1.15rem; }
.expert-card__name a { text-decoration: none; color: var(--color-navy); }
.expert-card__name a:hover { color: var(--color-primary); }
.expert-card__trades { margin: 2px 0 0; font-weight: 600; color: var(--color-primary); font-size: .95rem; }
.expert-card__meta, .expert-card__area { margin: 2px 0; color: var(--color-muted); font-size: .9rem; }
.expert-card__area { display: flex; gap: 6px; align-items: baseline; }
.expert-card__area .icon { color: var(--color-accent-dark); }
.expert-card__text { margin: 8px 0; font-size: .95rem; }
.expert-card__action { grid-column: 1 / -1; }
.expert-card__action .btn { width: 100%; }
.expert-card--featured { border: 2px solid var(--color-accent); background: linear-gradient(180deg, var(--color-accent-soft), #fff 70%); }
.expert-card__badge { display: inline-block; margin: 0 0 4px; padding: 1px 10px; border-radius: 999px; background: var(--color-accent); color: #1f2937; font-size: .75rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
@media (min-width: 768px) {
    .expert-card { grid-template-columns: 84px 1fr auto; align-items: start; padding: 20px 22px; }
    .expert-card__avatar { width: 84px; height: 84px; font-size: 1.6rem; }
    .expert-card__action { grid-column: auto; align-self: center; }
    .expert-card__action .btn { width: auto; }
}

.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-block; min-width: 42px; padding: 8px 12px; text-align: center; border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; background: #fff; font-weight: 600; }
.pagination [aria-current] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.empty { padding: 24px; background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--radius-lg); margin: 16px 0; }
.cta { display: grid; gap: 16px; align-items: center; padding: 24px; margin: 32px 0; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, var(--color-navy), #1e4f8f); box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 6px; color: #fff; }
.cta p { margin: 0; color: #dbe7f6; max-width: 60ch; }
@media (min-width: 800px) { .cta { grid-template-columns: 1fr auto; padding: 28px 32px; } }

.error-page { padding: 64px 0; text-align: center; }

/* Lábléc */
.site-footer { background: var(--color-navy); color: #c7d4e5; border-top: 3px solid var(--color-accent); margin-top: 64px; font-size: .92rem; }
.site-footer__inner { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 24px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; max-width: 380px; }
.site-footer__brand p { margin: 10px 0 0; }
.site-footer__title { margin: 0 0 8px; color: #fff; font-weight: 700; }
.nav--footer { flex-direction: column; align-items: flex-start; gap: 6px; }
.site-footer .nav a, .site-footer .link-button { color: #c7d4e5; font-weight: 500; font-family: var(--font-heading); }
.site-footer .nav a:hover, .site-footer .link-button:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; padding-bottom: 24px; font-size: .85rem; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .site-footer__brand { grid-column: auto; } }

/* Szakember adatlap */
.small { font-size: .9rem; }
.narrow { max-width: 640px; }
.btn--block { display: flex; width: 100%; text-align: center; }
.chips a.chip--primary { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-soft); }
.profile__header { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; margin: 8px 0 20px; padding: 20px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.profile__header h1 { margin: 0; }
.profile__meta { margin: 4px 0 10px; color: var(--color-muted); }
.profile__avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--color-primary-soft); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2rem; color: var(--color-primary); }
.profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile__layout { display: grid; gap: 20px; }
.profile__main { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 4px 24px 16px; box-shadow: var(--shadow); }
.profile__main section + section { border-top: 1px solid var(--color-border); }
.profile__main h2 { font-size: 1.15rem; margin: 20px 0 10px; }
.profile__contact { background: #fff; border: 1px solid var(--color-border); padding: 20px; border-radius: var(--radius-lg); align-self: start; box-shadow: var(--shadow); }
.profile__contact h2 { margin-top: 0; font-size: 1.15rem; }
.contact__item { margin: 0 0 12px; }
.contact__value { display: block; padding: 10px 0; font-size: 1.25rem; font-weight: 800; word-break: break-all; }
.check-list { list-style: none; padding: 0; columns: 220px; }
.check-list li { margin: 0 0 6px; padding-left: 26px; position: relative; break-inside: avoid; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (min-width: 768px) {
    .profile__header { grid-template-columns: 120px 1fr; padding: 24px 28px; }
    .profile__avatar { width: 120px; height: 120px; font-size: 2.6rem; }
    .profile__layout { grid-template-columns: 1fr 320px; }
    .profile__contact { order: 2; position: sticky; top: 16px; }
}

/* Űrlapok és fiók */
.auth { max-width: 520px; }
.form { display: grid; gap: 16px; margin: 16px 0; }
.form--inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.field { display: grid; gap: 4px; }
.field label { font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="url"], .field input[type="number"], .form--inline input, .field textarea, .field select { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #9ca3af; border-radius: var(--radius); font: inherit; }
.form--inline input { width: auto; flex: 1 1 220px; }
.field input[aria-invalid="true"] { border-color: #b91c1c; }
.field--check label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.field--check input { margin-top: 4px; }
.field__hint { margin: 0; color: var(--color-muted); font-size: .9rem; }
.field__error { margin: 0; color: #b91c1c; font-size: .9rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel { background: #fff; border: 1px solid var(--color-border); padding: 18px 20px; border-radius: var(--radius-lg); margin: 16px 0; box-shadow: var(--shadow); }
.panel__title { font-weight: 700; font-size: 1.2rem; margin-top: 0; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--color-border); font-weight: 600; }
.status--active { background: #ecfdf5; border-color: var(--color-success); }
.status--pending { background: #fffbeb; border-color: var(--color-accent); }
.status--rejected, .status--suspended { background: #fef2f2; border-color: #b91c1c; }
.steps { list-style: none; padding: 0; }
.steps li { padding: 4px 0; color: var(--color-muted); }
.steps .steps__done { color: var(--color-success); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--color-border); margin: 8px 0 20px; }
.tabs a { padding: 8px 14px; text-decoration: none; border-radius: var(--radius) var(--radius) 0 0; }
.tabs a { font-weight: 600; }
.tabs a[aria-current="page"] { background: #fff; font-weight: 700; color: var(--color-text); box-shadow: inset 0 -3px 0 var(--color-accent); }
.editor { display: grid; gap: 32px; }
.editor__side .profile__avatar { margin-bottom: 12px; }
@media (min-width: 900px) { .editor { grid-template-columns: minmax(0, 640px) 280px; } }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
/* Jelölőnégyzet és rádiógomb: saját megjelenés, a böngésző billentyűzetes kezelése marad */
input[type="checkbox"], input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; display: inline-block; width: 20px; height: 20px; margin: 0; border: 2px solid #6b7280; background: #fff center / 14px no-repeat; vertical-align: -.3em; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; }
input[type="checkbox"] { border-radius: 5px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:hover, input[type="radio"]:hover { border-color: var(--color-primary); }
input[type="checkbox"]:checked { background-color: var(--color-primary); border-color: var(--color-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
input[type="radio"]:checked { background-color: var(--color-primary); border-color: var(--color-primary); box-shadow: inset 0 0 0 4px #fff; }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }
input[type="checkbox"][aria-invalid="true"], input[type="radio"][aria-invalid="true"] { border-color: #b91c1c; }
input[type="checkbox"]:disabled, input[type="radio"]:disabled { opacity: .5; cursor: not-allowed; }
label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) { cursor: pointer; }
.choice { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-weight: 400; }
.field label.choice { font-weight: 400; }
.choice--small { font-size: .85rem; color: var(--color-muted); }
.choice--big { font-size: 1.05rem; padding: 12px 14px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 8px; }
.choice--big:hover { border-color: #93b4f5; }
.choice--big:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-soft); box-shadow: 0 0 0 1px var(--color-primary); }
.category-group { margin: 12px 0; }
.category-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--color-border); max-width: 520px; }
.area-list { list-style: none; padding: 0; columns: 240px; }
.form__actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid var(--color-border); }
.btn--link { background: none; border: 0; padding: 8px 0; color: var(--color-primary); }
.btn--link:hover { color: var(--color-primary-dark); }
.btn--danger { background: #b91c1c; color: #fff; }
.btn--small { padding: 4px 10px; font-size: .9rem; }
.inline-form { display: inline-block; margin: 0 4px 4px 0; }
.settings-block { margin: 24px 0; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.settings-block--danger h2 { color: #b91c1c; }
.field textarea { resize: vertical; }

/* Admin */
.badge { display: inline-block; min-width: 1.5em; padding: 0 6px; border-radius: 999px; background: var(--color-accent); color: #fff; font-size: .8rem; text-align: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.stats li { background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow); border-radius: var(--radius); padding: 16px; }
.stats a { text-decoration: none; color: inherit; display: block; }
.stats strong { display: block; font-size: 1.8rem; color: var(--color-primary); }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.table th, .table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--color-border); }
.table th { background: var(--color-bg-soft); white-space: nowrap; }
.table input:not([type=checkbox]) { width: 100%; padding: 4px 8px; border: 1px solid #9ca3af; border-radius: 4px; font: inherit; }
.table__new td { background: #fffbeb; }
.nowrap { white-space: nowrap; }
.pre-line { white-space: pre-line; overflow-wrap: anywhere; }
.admin-search { margin: 16px 0; }
.admin-search select { padding: 10px 12px; border: 1px solid #9ca3af; border-radius: var(--radius); font: inherit; }
.admin-detail { display: grid; gap: 24px; }
.admin-detail__side .panel h2 { margin-top: 0; font-size: 1.1rem; }
.admin-detail__side form + form { margin-top: 16px; }
@media (min-width: 900px) { .admin-detail { grid-template-columns: minmax(0, 1fr) 320px; } }
.data-list { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; margin: 16px 0; }
.data-list dt { font-weight: 600; color: var(--color-muted); }
.data-list dd { margin: 0; overflow-wrap: anywhere; }
.choice--top { align-items: flex-start; }
.choice--top input { margin-top: 2px; }
.change-group { margin: 24px 0; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.change-group h2 { font-size: 1.15rem; }
.preview-banner { background: #fffbeb; border: 1px solid var(--color-accent); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; }
h1 .status { font-size: 1rem; vertical-align: middle; }
.table-wrap .table { min-width: 560px; }

/* Szerkeszthető oldalak, GYIK */
.content { max-width: 760px; }
.content h2 { margin-top: 32px; }
.faq { border-bottom: 1px solid var(--color-border); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq__answer { padding-top: 8px; }
.admin-detail__side .panel form + form { margin-top: 8px; }
.admin-search input[type="search"] { padding: 10px 12px; border: 1px solid #9ca3af; border-radius: var(--radius); font: inherit; }
.input--narrow { width: 100px !important; flex: 0 0 100px !important; }
.input--full { width: 100%; box-sizing: border-box; padding: 6px 8px; border: 1px solid #9ca3af; border-radius: var(--radius); font: inherit; }
.group-name { font-weight: 700; font-size: 1.1rem; }
.editor-narrow { max-width: 760px; }
.form--inline select { padding: 10px 12px; border: 1px solid #9ca3af; border-radius: var(--radius); font: inherit; }
.editor-box { min-height: 260px; background: #fff; font: inherit; }
.editor-box .ql-editor { min-height: 260px; font-size: 1rem; line-height: 1.6; }
.ql-toolbar.ql-snow, .ql-container.ql-snow { border-color: #9ca3af; }
.ql-toolbar.ql-snow { border-radius: var(--radius) var(--radius) 0 0; position: sticky; top: 0; z-index: 5; background: #fff; }
.ql-container.ql-snow { border-radius: 0 0 var(--radius) var(--radius); font-family: var(--font); }

/* Belépés, regisztráció */
.auth { max-width: 480px; margin: 32px auto; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.auth h1 { margin-top: 0; font-size: 1.7rem; }
.auth .btn--primary { width: 100%; padding: 13px 20px; }
.auth-split { display: grid; gap: 24px; align-items: start; max-width: 960px; margin: 32px auto; }
.auth-split .auth { margin: 0; max-width: none; }
.auth-benefits { background: linear-gradient(135deg, var(--color-navy), #1e4f8f); color: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.auth-benefits h2 { margin-top: 0; }
.check-list--single { columns: auto; }
.auth-benefits .check-list li { margin-bottom: 12px; color: #dbe7f6; }
.auth-benefits strong { color: #fff; }
@media (min-width: 640px) { .auth { padding: 32px 36px; } }
.settings-block .auth { margin: 0; padding: 0; border: 0; box-shadow: none; max-width: 420px; }
.settings-block .auth .btn--primary { width: auto; }
@media (min-width: 900px) { .auth-split { grid-template-columns: minmax(0, 1fr) 340px; } .auth-benefits { position: sticky; top: 16px; } }

/* Szakmák, megyék */
.catalog { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; margin: 16px 0; }
.catalog-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px 20px 12px; overflow: hidden; scroll-margin-top: 16px; }
.catalog-card__photo img { display: block; width: calc(100% + 40px); max-width: none; height: 84px; object-fit: cover; margin: -16px -20px 14px; }
.catalog-card h2, .catalog-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--color-navy); }
.catalog-card:target { outline: 3px solid var(--color-accent); }
.county-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 16px 0; }
.county-grid a { display: flex; gap: 10px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--color-text); }
.county-grid a:hover { border-color: var(--color-primary); }
.county-grid .icon { color: var(--color-accent-dark); font-size: 1.25rem; }
.county-grid span span { display: block; font-size: .85rem; }

/* GYIK, tartalmi oldalak, hibaoldal */
.content { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px 24px 24px; margin-bottom: 16px; }
.faq:last-child { border-bottom: 0; }
.faq summary { padding: 6px 0; }
.faq summary:hover { color: var(--color-primary); }
.error-page__mark { display: block; margin: 0 auto 8px; height: 96px; width: auto; }

/* Fiók és admin: fülek, kártyák */
.tabs { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 6px; gap: 4px; box-shadow: var(--shadow); margin: 8px 0 20px; }
.tabs a { border-radius: var(--radius); padding: 8px 14px; color: var(--color-text); }
.tabs a:hover { background: var(--color-bg-soft); }
.tabs a[aria-current="page"] { background: var(--color-primary); color: #fff; box-shadow: none; }
.tabs a[aria-current="page"] .badge { background: #fff; color: var(--color-primary); }
.settings-block { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 4px 24px 20px; margin: 16px 0; }
.editor > form, .editor__side { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px 24px; align-self: start; }
.table-wrap { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.table th { background: var(--color-bg-soft); font-size: .85rem; }
.table tr:last-child td { border-bottom: 0; }
.stats li { padding: 16px 18px; color: var(--color-muted); font-size: .9rem; }
.stats strong { color: var(--color-navy); font-size: 1.9rem; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats strong { font-size: 1.5rem; } }
.action-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); list-style: none; padding: 0; margin: 16px 0 24px; }
.action-tiles a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--color-text); font-weight: 700; text-align: center; }
.action-tiles a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.action-tiles .icon { width: 30px; height: 30px; color: var(--color-primary); }
.admin-detail__main { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px 24px 20px; align-self: start; min-width: 0; }
.admin-detail__main .profile__header { box-shadow: none; border: 0; padding: 16px 0; margin: 0; }
.admin-detail__main .table-wrap { box-shadow: none; }
.admin-search { display: flex; flex-wrap: wrap; gap: 8px; }

/* Számlázási adatok */
.field-row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.field--postal { flex: 0 0 140px; }
.field--grow { flex: 1 1 220px; }
.input--medium { max-width: 300px; }
.billing-summary { background: var(--color-bg, #f8fafc); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 12px 16px; margin: 8px 0 16px; }
.billing-summary p { margin: 0 0 6px; }
.requirements { background: #fff8e6; border: 1px solid #f2d48a; border-radius: var(--radius); padding: 12px 16px; margin: 8px 0 16px; }
.requirements p { margin: 0 0 6px; }
.requirements .steps { margin: 0; }
.requirements .steps li:not(.steps__done) { color: var(--color-text, inherit); }
.requirements__hint { display: block; margin-left: 1.3em; font-size: .9em; color: var(--color-muted); }
.promo__prices { list-style: none; padding: 0; margin: 0 0 8px; }
.promo__prices li { padding: 2px 0; }
.billing-summary__title { font-weight: 700; }

/* Vonalas ikonok (Icon::svg) */
.icon-line { width: 1.25em; height: 1.25em; flex: none; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--color-accent-soft); color: var(--color-accent-dark); }
.icon-badge .icon-line { width: 20px; height: 20px; }
.icon-badge--large { width: 52px; height: 52px; border-radius: 14px; }
.icon-badge--large .icon-line { width: 26px; height: 26px; }
.icon-badge--accent { background: var(--color-accent); color: var(--color-navy); }
.group-card h3 a, .catalog-card h2, .catalog-card h3 { display: flex; align-items: center; gap: 10px; }
@media (max-width: 599px) { .group-card .icon-badge { width: 30px; height: 30px; } .group-card .icon-badge .icon-line { width: 17px; height: 17px; } }

/* Főoldal: hogyan működik */
.section__title { margin: 0 0 16px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: how-step; }
.how-step { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; counter-increment: how-step; }
.how-step::after { content: counter(how-step); position: absolute; top: 14px; right: 18px; font-family: var(--font-heading); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--color-border); }
.how-step h3 { margin: 14px 0 6px; font-size: 1.05rem; color: var(--color-navy); }
.how-step p { margin: 0; color: var(--color-muted); }
@media (min-width: 800px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .cta--icon { grid-template-columns: auto 1fr auto; } }

/* Kártyák: finom kiemelkedés hoverre */
.expert-card, .group-card, .catalog-card, .county-grid a, .action-tiles a, .trade-tile { transition: transform .15s ease, box-shadow .15s ease; }
@media (hover: hover) {
    .expert-card:hover, .group-card:hover, .catalog-card:hover, .county-grid a:hover, .action-tiles a:hover, .trade-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
}
@media (prefers-reduced-motion: reduce) {
    .expert-card, .group-card, .catalog-card, .county-grid a, .action-tiles a, .trade-tile { transition: none; }
    .expert-card:hover, .group-card:hover, .catalog-card:hover, .county-grid a:hover, .action-tiles a:hover, .trade-tile:hover { transform: none; }
}

/* Adatlap: szakmafotó a fejlécben */
.profile__header--cover { position: relative; overflow: hidden; padding-top: 0; row-gap: 12px; }
.profile__cover { grid-column: 1 / -1; display: block; margin: 0 -20px; height: 96px; position: relative; }
.profile__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 74, .05), rgba(15, 42, 74, .35)); }
.profile__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile__header--cover .profile__avatar { margin-top: -56px; border: 4px solid #fff; box-shadow: var(--shadow); position: relative; z-index: 1; align-self: start; }
.profile__header--cover .profile__intro { align-self: start; }
@media (min-width: 800px) {
    .profile__cover { margin: 0 -28px; height: 132px; }
    .profile__header--cover .profile__avatar { margin-top: -72px; }
}

/* Adatlap: ragadós hívássáv mobilon */
.contact-bar { display: none; }
@media (max-width: 799px) {
    .contact-bar:not([hidden]) { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--color-border); box-shadow: 0 -4px 16px rgba(15, 42, 74, .12); }
    .contact-bar .btn { flex: 1; min-height: 48px; white-space: nowrap; }
    .contact-bar .btn--outline { flex: 0 1 40%; background: #fff; }
    body.has-contact-bar .site-footer { padding-bottom: 72px; }
}

/* Üres találati oldal */
.empty--rich { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 32px 20px; background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--radius-lg); }
.empty--rich h2 { margin: 8px 0 0; font-size: 1.2rem; color: var(--color-navy); }
.empty--rich p { margin: 0; color: var(--color-muted); max-width: 52ch; }
.empty--rich .chips { justify-content: center; margin-top: 8px; }

/* Címbetű a gombokon, menükön, címkéken (a végén, mert a .btn „font: inherit”-je felülírná) */
/* Megyetérkép (/megyek alján) */
.county-map-section { margin-top: 32px; }
.county-map { display: block; width: 100%; height: auto; max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px; box-sizing: border-box; }
.county-map path { fill: #e8eef7; stroke: #fff; stroke-width: 2; stroke-linejoin: round; transition: fill .15s; }
.county-map__item--capital path { fill: #c9d6ea; }
.county-map text { font-family: var(--font-heading); font-size: 15px; font-weight: 600; fill: var(--color-navy); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: rgba(255, 255, 255, .7); stroke-width: 3px; }
.county-map__item--capital text { font-size: 13px; font-weight: 700; }
.county-map a:hover path, .county-map a:focus-visible path { fill: var(--color-accent); }
.county-map a:focus { outline: none; }
.county-map a:focus-visible path { stroke: var(--color-navy); stroke-width: 3; }
.county-map__short { display: none; }
@media (max-width: 599px) {
    .county-map { padding: 6px; }
    .county-map text { font-size: 26px; }
    .county-map__item--capital text { font-size: 22px; }
    .county-map__long { display: none; }
    .county-map__short { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .county-map path { transition: none; } }

/* Kapcsolati űrlap (/kapcsolat), körlevél címzettszám */
.contact-form { max-width: 760px; box-sizing: border-box; background: #fff; border: 1px solid var(--color-border); border-top: 4px solid var(--color-accent); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px 24px 24px; margin-bottom: 16px; }
.choice .count { margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--color-bg-soft); color: var(--color-muted); font-size: .8rem; font-weight: 600; }

/* Ajánlatkérés az adatlapon */
.quote-form { margin-top: 8px; padding: 8px 24px 20px; border: 1px solid var(--color-border); border-top: 4px solid var(--color-accent); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); scroll-margin-top: 16px; }
.quote-form .form__actions { position: static; border-top: 0; padding-bottom: 0; }
.quote-form .field-row { row-gap: 16px; }
@media (max-width: 599px) { .quote-form { padding: 4px 16px 16px; } }
.quote-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 12px 18px; margin-bottom: 12px; max-width: 760px; }
.quote-item header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.quote-item__meta { margin: 4px 0 8px; font-size: .92rem; }

.btn, .logo, .nav, .tabs, .chips, .badge, .pagination, .page-band__count, .field label, th { font-family: var(--font-heading); }

/* Linklisták (szakmák, megyék, települések): sötét szöveg narancs nyíllal, hoverre halvány sáv */
.link-list--plain li, .link-list--columns li { padding: 0; break-inside: avoid; }
.link-list--plain a, .link-list--columns a { display: flex; align-items: center; gap: 10px; padding: 5px 8px; margin: 0 -8px; border-radius: 8px; color: var(--color-text); font-weight: 500; transition: background-color .15s, color .15s; }
.link-list--plain a::before, .link-list--columns a::before { content: ""; flex: none; width: 6px; height: 6px; border-top: 2px solid var(--color-accent); border-right: 2px solid var(--color-accent); transform: rotate(45deg); transition: transform .15s; }
.link-list--plain a:hover, .link-list--columns a:hover { background: var(--color-accent-soft); color: var(--color-navy); }
.link-list--plain a:hover::before, .link-list--columns a:hover::before { transform: translateX(3px) rotate(45deg); }
.link-list .count { margin-left: auto; padding: 0 8px; border-radius: 999px; background: var(--color-bg-soft); color: var(--color-muted); font-size: .8rem; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .link-list--plain a::before, .link-list--columns a::before { transition: none; } }

/* Főoldali kiemelt sáv (fizetős, ezért „Kiemelt” címkével) */
.featured-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.featured-tile { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; height: 100%; padding: 14px 16px; background: linear-gradient(180deg, var(--color-accent-soft), #fff 70%); border: 2px solid var(--color-accent); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.featured-tile:hover, .featured-tile:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.featured-tile__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--color-primary-soft); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; color: var(--color-primary); }
.featured-tile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.featured-tile__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.featured-tile__badge { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: var(--color-accent); color: var(--color-text); font: 700 .72rem/1.5 var(--font-heading); text-transform: uppercase; letter-spacing: .04em; }
.featured-tile__name { font-family: var(--font-heading); font-size: 1.02rem; overflow-wrap: anywhere; }
.featured-tile__trades, .featured-tile__area { color: var(--color-muted); font-size: .9rem; }
.featured-tile__area { display: flex; align-items: center; gap: 4px; }
.featured-tile__area svg { width: 14px; height: 14px; flex: none; color: var(--color-accent-dark); }

/* Kiemelések a fiókban */
.promo-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.promo-nav a { padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; color: var(--color-text); text-decoration: none; font: 600 .9rem var(--font-heading); }
.promo-nav a:hover, .promo-nav a:focus-visible { border-color: var(--color-accent); background: var(--color-accent-soft); }
.promo { scroll-margin-top: 16px; }
.promo__active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; }
.panel--promo { border-color: var(--color-accent); background: linear-gradient(180deg, var(--color-accent-soft), #fff 80%); }

/* Prémium adatlap: galéria és videó */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--color-bg-soft); }
.gallery-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.04); }
.gallery-grid--edit li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.gallery-grid--edit a { width: 100%; }
.gallery-editor { margin-top: 32px; scroll-margin-top: 16px; }
.gallery-editor .form--inline { align-items: flex-end; margin-bottom: 16px; }
.gallery-editor .form--inline .field { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-navy); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; background: radial-gradient(circle at center, #1e3a5f, var(--color-navy)); color: #fff; font: 700 1.05rem var(--font-heading); cursor: pointer; }
.video__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--color-accent); position: relative; transition: transform .15s; }
.video__icon::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--color-text); }
.video__play:hover .video__icon, .video__play:focus-visible .video__icon { transform: scale(1.08); }
.video__note { font: 400 .8rem var(--font); opacity: .8; }
.video noscript p { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; }
.video noscript a { color: #fff; }

/* Prémium adatlap: napi statisztika grafikon */
.stats-chart { margin: 16px 0; padding: 16px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stats-chart svg { display: block; width: 100%; height: auto; }
.stats-chart__grid { stroke: var(--color-border); stroke-width: 1; }
.stats-chart__axis { fill: var(--color-muted); font: 11px var(--font); }
.stats-chart__hit { fill: transparent; }
.stats-chart g:hover .stats-chart__hit { fill: var(--color-bg-soft); }
.stats-chart__view { fill: #93b4f4; }
.stats-chart__contact { fill: var(--color-accent-dark); }
.stats-chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .88rem; color: var(--color-muted); }
.stats-chart__key::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.stats-chart__key--view::before { background: #93b4f4; }
.stats-chart__key--contact::before { background: var(--color-accent-dark); }
.table-wrap--compact { max-width: 420px; }
.table--compact { width: 100%; }
.table--compact caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Legördülő menük: egységes keret, saját nyíl, fehér háttér minden böngészőben */
select:not([multiple]) { -webkit-appearance: none; appearance: none; min-height: 44px; padding: 10px 40px 10px 12px; border: 1px solid #9ca3af; border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--color-text); font: inherit; line-height: 1.3; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
select:not([multiple]):hover { border-color: var(--color-accent-dark); }
select:not([multiple]):focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); outline: none; }
select:not([multiple]):disabled { background-color: var(--color-bg-soft); color: var(--color-muted); cursor: not-allowed; }
select option { color: var(--color-text); background: #fff; }
.filters select { padding-right: 40px; }

/* Képlapozó (gallery.js) */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 20, 36, .94); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 20, 36, .7); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; margin: 0; padding: 56px 16px 24px; box-sizing: border-box; }
.lightbox__img { max-width: min(100%, 1600px); max-height: calc(100% - 36px); object-fit: contain; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox__count { font: 600 .9rem var(--font-heading); opacity: .85; }
.lightbox__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 400 2rem/1 var(--font); cursor: pointer; transition: background .15s; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--color-accent); color: var(--color-text); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__count { display: none; }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } .lightbox__figure { padding-bottom: 80px; } }
.flash { scroll-margin-top: 16px; }

/* Szerkesztő: szerkesztő/HTML váltó, táblázatgombok */
.editor-modes { display: inline-flex; margin-bottom: 6px; border: 1px solid #9ca3af; border-radius: var(--radius); overflow: hidden; }
.editor-modes button { padding: 6px 14px; border: 0; background: #fff; color: var(--color-text); font: 600 .85rem var(--font-heading); cursor: pointer; }
.editor-modes button + button { border-left: 1px solid #9ca3af; }
.editor-modes button[aria-pressed="true"] { background: var(--color-primary); color: #fff; }
.editor-source { width: 100%; min-height: 360px; box-sizing: border-box; padding: 12px; border: 1px solid #9ca3af; border-radius: var(--radius); font: .9rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ql-toolbar.ql-snow .ql-formats button.editor-text-button { width: auto; padding: 3px 6px; font: 600 .78rem var(--font-heading); color: #444; }
.ql-toolbar.ql-snow .ql-formats button.editor-text-button:hover { color: var(--color-primary); }
.ql-editor table { width: 100%; border-collapse: collapse; }
.ql-editor td { border: 1px solid #cbd5e1; padding: 4px 8px; }

/* Táblázat a szerkeszthető oldalakon (ÁSZF, adatkezelés, GYIK) */
.table-scroll { margin: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .875rem; line-height: 1.45; background: #fff; }
.table-scroll th, .table-scroll td { padding: 7px 9px; hyphens: auto; overflow-wrap: break-word; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.table-scroll th, .table-scroll thead td { background: var(--color-bg-soft); font-family: var(--font-heading); font-weight: 700; }
.table-scroll caption { caption-side: top; text-align: left; font-weight: 600; padding-bottom: 6px; }
.table-scroll p { margin: 0 0 6px; }
.table-scroll p:last-child { margin-bottom: 0; }
/* táblázatos oldal (pl. adatkezelés): szélesebb hasáb, hogy a sokoszlopos táblázat is elférjen */
.content:has(.table-scroll) { max-width: 1040px; }

/* Süti értesítő */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: 12px 24px; max-width: 1080px; margin: 0 auto; padding: 18px 20px; background: #fff; border: 1px solid var(--color-border); border-top: 4px solid var(--color-accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-size: .93rem; }
.cookie-banner__inner p { margin: 0 0 6px; }
.cookie-banner__title { font: 700 1.02rem var(--font-heading); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (min-width: 800px) { .cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; } }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.link-button:hover, .link-button:focus-visible { text-decoration: underline; }
.link-button[hidden] { display: none; }

/* Admin: keresési statisztika */
.search-chart svg { display: block; width: 100%; height: auto; }
.search-chart__axis { stroke: var(--color-border); stroke-width: 1; }
.search-chart__label { fill: var(--color-muted); font: 11px var(--font); }
.search-chart__bar { fill: #93b4f4; }
.search-chart__bar:hover { fill: var(--color-primary); }
.stats-grid { display: grid; gap: 0 16px; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
