/*
Theme Name: HFE 2026
Theme URI: https://hazfelujitas-epites.hu/
Author: SZTVM
Author URI: https://sztvm.hu
Description: Egyedi WordPress téma a Házfelújítás-Építés (Serbán László e.v.) oldalához. Klasszikus téma, page builder nélkül – gyors, fotóközpontú, a generálkivitelezés/felújítás szolgáltatásokra szabva.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: hfe
*/

/* ==========================================================================
   1. Alapok, design tokenek
   ========================================================================== */

:root {
	--ink:        #14181d;
	--ink-2:      #222a33;
	--ink-3:      #4a5560;
	--muted:      #6d7884;
	--accent:     #ffcc00; /* a logó sisakjának sárgája */
	--accent-d:   #d9a400; /* sötétebb változat szövegre/hoverre */
	--paper:      #ffffff;
	--paper-2:    #f5f6f8;
	--paper-3:    #eceff3;
	--line:       #e3e6ea;
	--ok:         #1f9254;

	--wrap:       1180px;
	--radius:     14px;
	--radius-s:   8px;
	--shadow:     0 2px 4px rgba(20,24,29,.04), 0 8px 24px rgba(20,24,29,.07);
	--shadow-lg:  0 8px 20px rgba(20,24,29,.10), 0 24px 60px rgba(20,24,29,.13);

	--font:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease:       cubic-bezier(.22,.61,.36,1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-d); }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--ink);
	line-height: 1.15;
	letter-spacing: -.02em;
	font-weight: 800;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #c8cfd7; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-d); margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.section--ink .eyebrow { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--ink .section-head p { color: #9aa6b2; }

.lead { font-size: 1.12rem; color: var(--ink-3); }

/* Rácsok */
.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Gombok */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: 15px 28px; border: 2px solid transparent; border-radius: 999px;
	font-weight: 800; font-size: .98rem; line-height: 1; text-decoration: none;
	cursor: pointer; white-space: nowrap;
	transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s;
}
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #ffd633; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 18px 34px; font-size: 1.04rem; }

/* ==========================================================================
   2. Fejléc
   ========================================================================== */

.topbar {
	background: var(--ink); color: #b9c2cc; font-size: .87rem;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #e6ebf0; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar-items { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: .5em; }
.topbar-item svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(255,255,255,.96);
	backdrop-filter: saturate(150%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 900; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); }
.brand-tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
/* A wp_nav_menu items_wrap='%3$s' csupasz <li>-ket ad: nincs <ul>, ezért a
   böngésző alap listajelet rajzolna melléjük. */
.nav li { list-style: none; margin: 0; }
.nav a {
	padding: 10px 14px; border-radius: 999px; text-decoration: none;
	font-weight: 700; font-size: .96rem; color: var(--ink-2); transition: background .16s, color .16s;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--ink); background: var(--paper-3); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 12px 22px; font-size: .92rem; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
	border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background .16s; }
.nav-toggle span::before, .nav-toggle span::after {
	content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Kis kijelzőn a fejlécben csak a márka + hamburger fér el jól: a CTA-t a
   képernyő alján ülő hívósáv úgyis hozza. Enélkül a nowrap-es gomb + a márka
   együtt szélesebb a viewportnál, és az egész oldal túlcsordul. */
@media (max-width: 620px) {
	.header-cta .btn-accent { display: none; }
	.header-in { min-height: 64px; gap: 12px; }
	.brand-mark { width: 32px; height: 32px; }
	.brand-name { font-size: 1rem; }
	.brand-tag { font-size: .64rem; }
	.hero-fact { padding: 18px 16px; }
	.hero-fact b { font-size: 1.45rem; }
}

@media (max-width: 1000px) {
	.nav-toggle { display: inline-flex; }
	.nav li { width: 100%; }
	.header-cta .btn-outline { display: none; }
	.nav {
		position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
		background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
		box-shadow: var(--shadow); display: none;
	}
	.nav.is-open { display: flex; }
	.nav a { padding: 13px 14px; font-size: 1.02rem; }
}

/* ==========================================================================
   3. Hero
   ========================================================================== */

.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-bg {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; filter: saturate(.85);
	transition: opacity 1.4s var(--ease);
	will-change: opacity;
}
.hero-bg.is-active { opacity: .42; }
/* Egyetlen kép esetén (vagy JS nélkül) az első mindig látszik. */
.hero-slides .hero-bg:first-child { opacity: .42; }
.hero-slides .hero-bg:first-child:not(.is-active) { opacity: 0; }
.hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(105deg, rgba(10,13,17,.93) 0%, rgba(10,13,17,.72) 45%, rgba(10,13,17,.35) 100%);
}
.hero-in { position: relative; z-index: 2; padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 7vw, 104px); max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: #d3dae1; max-width: 620px; margin-bottom: 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
	position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1px; background: rgba(255,255,255,.14); border-top: 1px solid rgba(255,255,255,.14);
}
.hero-fact { background: rgba(10,13,17,.86); padding: 24px 22px; }
.hero-fact b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: .3em; }
.hero-fact span { font-size: .88rem; color: #aab4be; }
@media (max-width: 860px) { .hero-facts { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   4. Szolgáltatás-kártyák
   ========================================================================== */

.svc {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 26px 28px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
	overflow: hidden; text-decoration: none; color: inherit; display: block;
}
.svc::before {
	content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.svc:hover::before { transform: scaleX(1); }
.svc-ico {
	width: 52px; height: 52px; border-radius: 13px; background: #fff8dd;
	display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin-bottom: .45em; }
.svc p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

/* Szolgáltatás részletes blokk */
.svc-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(48px, 6vw, 88px); }
.svc-row:nth-child(even) .svc-row-media { order: -1; }
.svc-row-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.svc-row ul { list-style: none; padding: 0; margin-top: 1.2em; }
.svc-row ul li { position: relative; padding-left: 30px; margin-bottom: .6em; color: var(--ink-3); }
.svc-row ul li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
@media (max-width: 860px) {
	.svc-row { grid-template-columns: 1fr; }
	.svc-row:nth-child(even) .svc-row-media { order: 0; }
}

/* ==========================================================================
   5. Rólunk / folyamat
   ========================================================================== */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.about-badge {
	position: absolute; right: -14px; bottom: -22px; background: var(--accent); color: var(--ink);
	border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge b { display: block; font-size: 2.1rem; font-weight: 900; line-height: 1; }
.about-badge span { font-size: .83rem; font-weight: 700; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-badge { right: 10px; bottom: -18px; } }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 68px; }
.step::before {
	counter-increment: step; content: counter(step, decimal-leading-zero);
	position: absolute; left: 0; top: -4px; font-size: 1.5rem; font-weight: 900; color: var(--accent);
	width: 48px; height: 48px; border: 2px solid rgba(255,204,0,.35); border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: .3em; font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.section--ink .step p { color: #94a0ab; }

/* ==========================================================================
   6. Galéria
   ========================================================================== */

.gal-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gal-chip {
	border: 1px solid var(--line); background: #fff; color: var(--ink-2);
	padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; cursor: pointer;
	transition: background .16s, border-color .16s, color .16s;
}
.gal-chip:hover { border-color: var(--ink-3); }
.gal-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gal-chip span { opacity: .55; font-weight: 600; margin-left: .35em; }

.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1000px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; } }

.gal-item {
	position: relative; display: block; border-radius: var(--radius-s); overflow: hidden;
	background: var(--paper-3); aspect-ratio: 1; cursor: zoom-in; border: 0; padding: 0;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,24,29,.45), transparent 55%);
	opacity: 0; transition: opacity .25s;
}
.gal-item:hover::after { opacity: 1; }
.gal-item.is-hidden { display: none; }
.gal-more { text-align: center; margin-top: 34px; }

/* Lightbox */
.lb {
	position: fixed; inset: 0; z-index: 200; background: rgba(8,10,13,.95);
	display: none; align-items: center; justify-content: center;
}
.lb.is-open { display: flex; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 6px; object-fit: contain; }
.lb-btn {
	position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer;
	width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	transition: background .16s;
}
.lb-btn:hover { background: var(--accent); color: var(--ink); }
.lb-btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 22px; right: 22px; }
.lb-prev  { left: 22px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #93a0ac; font-size: .9rem; }
@media (max-width: 700px) {
	.lb-btn { width: 44px; height: 44px; }
	.lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 12px; right: 12px; }
}

/* ==========================================================================
   7. Űrlap / kapcsolat
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }

.cdata { list-style: none; padding: 0; margin: 0; }
.cdata li { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cdata li:last-child { border-bottom: 0; }
.cdata .ico { width: 42px; height: 42px; border-radius: 11px; background: #fff8dd; display: flex; align-items: center; justify-content: center; flex: none; }
.cdata .ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-d); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cdata b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.cdata a { font-weight: 700; text-decoration: none; font-size: 1.05rem; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--ink-2); }
.field .req { color: #d33; }
.field input, .field select, .field textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-s);
	font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
	transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,204,0,.2);
}
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-2 { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; color: var(--muted); margin-bottom: 20px; }
.consent input { width: 19px; height: 19px; flex: none; margin-top: 2px; accent-color: var(--accent-d); }

.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 15px 18px; border-radius: var(--radius-s); margin-bottom: 22px; font-size: .96rem; }
.notice-ok  { background: #e9f7ef; border: 1px solid #b9e3ca; color: #14552f; }
.notice-err { background: #fdecec; border: 1px solid #f3c0c0; color: #8c1d1d; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 340px; border: 0; }

/* ==========================================================================
   8. CTA sáv, lábléc, mobil hívósáv
   ========================================================================== */

.cta-band { background: var(--accent); color: var(--ink); }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: clamp(34px, 4vw, 52px) 0; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin-bottom: 0; font-weight: 600; }

.site-footer { background: var(--ink); color: #97a3af; padding: clamp(48px, 6vw, 72px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 3vw, 44px); padding-bottom: 46px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2em; }
.site-footer a { color: #b6c0cb; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #7b8794; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 26px; display: flex;
	justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; color: #77828e;
}

.callbar { display: none; }
@media (max-width: 760px) {
	.callbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr;
		border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -4px 18px rgba(20,24,29,.1);
	}
	.callbar a {
		display: flex; align-items: center; justify-content: center; gap: .5em; padding: 15px 8px;
		font-weight: 800; font-size: .95rem; text-decoration: none; color: var(--ink);
	}
	.callbar a + a { background: var(--accent); }
	.callbar svg { width: 18px; height: 18px; fill: currentColor; }
	body { padding-bottom: 56px; }
}

/* Süti-sáv */
.cookiebar {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; display: none;
	background: var(--ink); color: #c6cfd8; border-radius: var(--radius); padding: 18px 22px;
	box-shadow: var(--shadow-lg); align-items: center; gap: 18px; flex-wrap: wrap; font-size: .92rem;
	max-width: 760px; margin-inline: auto;
}
.cookiebar.is-visible { display: flex; }
.cookiebar a { color: var(--accent); }
.cookiebar .btn { padding: 11px 22px; font-size: .9rem; }
@media (max-width: 760px) { .cookiebar { bottom: 70px; } }

/* Belső oldal fejléc */
.page-hero { background: var(--ink); color: #fff; padding: clamp(46px, 6vw, 84px) 0 clamp(40px, 5vw, 66px); position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,13,17,.9), rgba(10,13,17,.6)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { color: #c3ccd5; max-width: 640px; margin-bottom: 0; }
.crumbs { font-size: .86rem; color: #8b96a2; margin-bottom: 1em; }
.crumbs a { color: #b9c3cd; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Egyszerű tartalom (jogi oldalak) */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: .95rem; }
.prose th { background: var(--paper-2); }

.skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--ink);
	padding: 12px 20px; font-weight: 800; z-index: 300; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Finom belépő animáció */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
