/* ==========================================================================
   Wekerle+ Otthon – nyilvános oldal
   Mobile-first. Tokenek → alapok → komponensek → szekciók → segédosztályok
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.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 {
  --primary: #163d32;
  --primary-700: #1d4a3d;
  --primary-600: #245a4a;
  --primary-50: #eef4f1;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --secondary: #dde9e4;
  --secondary-soft: #ecf2ef;
  --accent: #e6a44a;
  --accent-700: #8f5c12;
  --accent-50: #fbf2e4;
  --text: #24352f;
  --muted: #5b6c65;
  --line: #e2e8e4;
  --line-strong: #cfd9d4;
  --danger: #b42318;
  --danger-50: #fdecea;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(22, 61, 50, .06), 0 1px 1px rgba(22, 61, 50, .04);
  --shadow-md: 0 8px 24px -12px rgba(22, 61, 50, .18), 0 2px 6px rgba(22, 61, 50, .05);
  --shadow-lg: 0 28px 60px -28px rgba(22, 61, 50, .35), 0 8px 20px -10px rgba(22, 61, 50, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
a { color: var(--primary-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary); }
h1, h2, h3 { color: var(--primary); margin: 0 0 var(--s-3); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(1.95rem, 1.45rem + 2vw, 2.85rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.125rem; letter-spacing: -.01em; }
p { margin: 0 0 var(--s-4); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
mark.todo { background: #fde9b8; color: #6b4a0f; padding: 0 6px; border-radius: 4px; font-size: .92em; }

/* ---------- Gombok ---------- */
.btn { --btn-bg: var(--primary); --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s; white-space: nowrap; }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 10px 22px -12px rgba(22, 61, 50, .65); }
.btn-primary:hover { --btn-bg: var(--primary-700); box-shadow: 0 14px 26px -12px rgba(22, 61, 50, .7); }
.btn-secondary { --btn-bg: var(--surface); --btn-fg: var(--primary); border-color: var(--line-strong); }
.btn-secondary:hover { --btn-bg: var(--primary-50); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #2a1c05; box-shadow: 0 10px 24px -12px rgba(230, 164, 74, .8); }
.btn-accent:hover { --btn-bg: #eab25f; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 248, 245, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(22, 61, 50, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--primary); min-width: 0; }
.brand:hover { color: var(--primary); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--primary); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); flex-shrink: 0; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; color: var(--muted); font-weight: 600; }

.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--primary); cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: block; }
.site-nav { display: none; }
.nav-open .site-nav { display: flex; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 4px; padding: 12px 20px 22px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 12px 6px; border-radius: 10px; }
.site-nav a:not(.btn):hover { color: var(--primary); background: var(--primary-50); }
.site-nav .btn { color: #fff; margin-top: 8px; padding: 12px 18px; }

/* ---------- Közös szekcióelemek ---------- */
.section { padding: var(--s-8) 0; }
.section-tight { padding: var(--s-6) 0; }
.section-soft { background: linear-gradient(180deg, var(--secondary-soft), var(--bg)); }
.section-head { max-width: 720px; margin: 0 auto var(--s-6); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head-left { text-align: left; margin: 0; }
.eyebrow { display: inline-block; margin: 0 0 var(--s-3); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-600); }
.eyebrow-light { color: #b9d6ca; }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--secondary); color: var(--primary); font-size: .74rem; font-weight: 700; letter-spacing: .01em; }
.chip-future { background: var(--accent-50); color: var(--accent-700); }
.fine-print { display: flex; gap: 8px; align-items: flex-start; justify-content: center; max-width: 820px; margin: var(--s-6) auto 0; color: var(--muted); font-size: .88rem; }
.fine-print .icon { margin-top: 3px; color: var(--primary-600); }
.fine-print.center { text-align: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: .95rem; font-weight: 600; }
.ticks .icon { color: var(--primary-600); background: var(--secondary); border-radius: 50%; padding: 2px; width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--s-6) 0 var(--s-7); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, rgba(221, 233, 228, .95), rgba(221, 233, 228, 0)); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: var(--s-7); align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--s-5); padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--primary); font-size: .85rem; font-weight: 700; }
.badge-pill .icon { color: var(--accent-700); }
.hero h1 { margin-bottom: var(--s-4); max-width: 22ch; }
.hl { background: linear-gradient(transparent 62%, rgba(230, 164, 74, .35) 62%, rgba(230, 164, 74, .35) 92%, transparent 92%); padding: 0 2px; }
.hero-lead { font-size: clamp(1.03rem, .98rem + .3vw, 1.15rem); color: var(--muted); max-width: 56ch; margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero-actions .btn { flex: 1 1 auto; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--primary-600); }

.hero-visual { position: relative; }
.hero-figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--secondary-soft); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.7); aspect-ratio: 640 / 520; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.glass-card { position: relative; margin: -56px 14px 0; padding: 18px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg); }
.glass-title { margin: 0 0 10px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.glass-list { margin: 0; display: grid; gap: 8px; }
.glass-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-strong); }
.glass-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.glass-list dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.glass-list dd { margin: 0; color: var(--text); font-size: .95rem; white-space: nowrap; }
.glass-list strong { color: var(--primary); font-size: 1.08rem; font-weight: 800; }
.glass-note { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 7px 10px; border-radius: 10px; background: var(--accent-50); color: var(--accent-700); font-size: .8rem; font-weight: 700; }

/* ---------- Programstátusz ---------- */
.status-card { display: grid; gap: var(--s-5); padding: var(--s-5); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.status-main h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }
.status-label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s-3); padding: 7px 14px; border-radius: 999px; background: var(--accent-50); color: #7a5214; font-weight: 800; font-size: .92rem; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.status-text { color: var(--muted); max-width: 62ch; }
.stages { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stages::before { content: ""; position: absolute; top: 15px; left: 16.66%; right: 16.66%; height: 2px; background: var(--line-strong); }
.stages li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .84rem; font-weight: 700; color: var(--muted); }
.stage-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); color: var(--muted); font-size: .85rem; }
.stages .is-done .stage-dot, .stages .is-current .stage-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.stages .is-current .stage-dot { box-shadow: 0 0 0 6px var(--secondary); }
.stages .is-current { color: var(--primary); }
.status-meta { margin: 0; display: grid; gap: 2px; padding: var(--s-2); border-radius: var(--r-lg); background: var(--secondary-soft); align-self: stretch; }
.status-meta div { padding: 12px 14px; border-radius: 12px; }
.status-meta div + div { border-top: 1px solid rgba(22, 61, 50, .08); }
.status-meta dt { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.status-meta dd { margin: 2px 0 0; font-weight: 700; color: var(--primary); }
.status-meta a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ---------- Kulcsadatok ---------- */
.facts { display: grid; gap: var(--s-4); }
.fact { position: relative; display: flex; flex-direction: column; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.fact:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.fact-top { margin-bottom: var(--s-4); }
.fact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--secondary); color: var(--primary); }
.fact-tag { align-self: flex-start; margin-top: auto; padding: 4px 10px; border-radius: 999px; background: var(--secondary-soft); font-size: .74rem; font-weight: 700; color: var(--primary); line-height: 1.35; }
.fact-value { margin: 0 0 2px; font-size: clamp(1.75rem, 1.5rem + 1vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; color: var(--primary); line-height: 1.1; }
.fact-prefix { display: block; font-size: .82rem; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-bottom: 4px; }
.fact-title { margin: 0 0 var(--s-3); font-size: 1rem; color: var(--text); }
.fact-text { margin: 0 0 var(--s-4); color: var(--muted); font-size: .92rem; line-height: 1.6; }
.fact-grant { background: linear-gradient(160deg, #fff 0%, var(--accent-50) 100%); border-color: #f1dcb9; }
.fact-grant .fact-icon { background: #f6e3c3; color: var(--accent-700); }
.fact-grant .fact-tag { background: #f6e3c3; color: #7a5214; }

/* ---------- Felújítási területek ---------- */
.areas { display: grid; gap: var(--s-4); }
.area { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-visual { position: relative; display: grid; place-items: center; height: 132px; color: var(--primary); background-color: var(--secondary); background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.55) 0 18%, transparent 19%), radial-gradient(circle at 85% 90%, rgba(22,61,50,.06) 0 30%, transparent 31%); }
.area-visual .icon { width: 64px; height: 64px; padding: 16px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-md); }
.area-visual-szigeteles { background-color: #dde9e4; }
.area-visual-nyilaszaro { background-color: #e3ece8; }
.area-visual-futes { background-color: #f3e7d4; }
.area-visual-futes .icon { color: var(--accent-700); }
.area-body { padding: var(--s-5); }
.area-body h3 { margin-top: var(--s-3); font-size: 1.25rem; }
.area-body p { color: var(--muted); font-size: .95rem; }

/* ---------- Kinek szól (bento) ---------- */
.bento { display: grid; gap: var(--s-4); }
.bento-item { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.bento-item h3 { margin: var(--s-4) 0 6px; }
.bento-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.bento-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--secondary); color: var(--primary); }
.bento-1 { background: var(--primary); border-color: var(--primary); color: #fff; background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .09), transparent 50%); }
.bento-1 h3 { color: #fff; font-size: 1.35rem; }
.bento-1 p { color: #cfe1d9; font-size: 1rem; max-width: 46ch; }
.bento-1 .bento-icon { background: rgba(255,255,255,.12); color: var(--accent); }
.bento-note { background: var(--accent-50); border-color: #f1dcb9; }
.bento-note p { color: #6b4a15; }

/* ---------- Feliratkozás ---------- */
.subscribe { padding-top: 0; }
.subscribe-panel { position: relative; display: grid; gap: var(--s-6); padding: var(--s-6) var(--s-4) var(--s-4); border-radius: var(--r-xl); background: var(--primary); color: #e6efea; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.subscribe-panel::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; top: -260px; right: -160px; background: radial-gradient(closest-side, rgba(221, 233, 228, .16), transparent); }
.subscribe-panel::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; bottom: -340px; left: -240px; background: radial-gradient(closest-side, rgba(221, 233, 228, .1), transparent); }
.subscribe-copy { padding: 0 var(--s-2); }
.subscribe-copy h2 { color: #fff; font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.45rem); }
.subscribe-lead { color: #cfe1d9; font-size: 1.06rem; }
.subscribe-benefits { list-style: none; margin: var(--s-5) 0; padding: 0; display: grid; gap: var(--s-3); }
.subscribe-benefits li { display: flex; gap: 12px; align-items: flex-start; color: #cfe1d9; font-size: .96rem; }
.subscribe-benefits strong { color: #fff; }
.subscribe-benefits .icon { color: var(--accent); margin-top: 2px; }
.subscribe-small { font-size: .85rem; color: #a9c4b8; margin: 0; }
.subscribe-form { padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }

/* Űrlapelemek */
.field { margin: 0 0 var(--s-4); padding: 0; border: 0; min-width: 0; }
.label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; font-weight: 700; font-size: .93rem; color: var(--text); }
.req { color: var(--danger); }
.optional { font-size: .76rem; font-weight: 600; color: var(--muted); }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #94a39c; }
.input:hover { border-color: #b7c6bf; }
.input:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 4px rgba(36, 90, 74, .14); }
.input-lg { min-height: 54px; font-size: 1.05rem; }
textarea.input { min-height: 100px; resize: vertical; }
.has-error .input { border-color: var(--danger); }
.has-error .input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.error-text { margin: 6px 0 0; color: var(--danger); font-size: .86rem; font-weight: 600; }
.form-alert { display: flex; gap: 8px; align-items: center; margin-bottom: var(--s-4); padding: 10px 14px; border-radius: 12px; background: var(--danger-50); color: var(--danger); font-weight: 600; font-size: .92rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-size: .9rem; font-weight: 600; color: var(--text); transition: background .15s, border-color .15s, color .15s; }
.pill:hover span { border-color: var(--primary-600); }
.pill input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: var(--s-2) 0 var(--s-4); padding: 12px 14px; border-radius: 12px; background: var(--secondary-soft); font-size: .88rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); flex-shrink: 0; }
.consent.has-error { background: var(--danger-50); color: var(--danger); }
.form-foot { display: flex; gap: 8px; align-items: flex-start; margin: var(--s-3) 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.form-foot .icon { margin-top: 2px; color: var(--primary-600); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Hogyan segítünk ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: how; }
.how-step { position: relative; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.how-step p { margin: 0; color: var(--muted); font-size: .95rem; }
.how-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-4); border-radius: 12px; background: var(--primary); color: #fff; font-weight: 800; }
.how-step-future { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.how-step-future .how-num { background: var(--secondary); color: var(--primary); }
.how-step-future .chip { position: absolute; top: var(--s-5); right: var(--s-5); }

/* ---------- Hírek ---------- */
.updates { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.update { display: grid; gap: 6px; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.update time { font-size: .82rem; font-weight: 800; color: var(--primary-600); letter-spacing: .02em; }
.update h3 { margin: 0 0 6px; font-size: 1.08rem; }
.update p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.update a { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; }

/* ---------- GYIK ---------- */
.faq-grid { display: grid; gap: var(--s-6); }
.faq-grid .section-head p { margin-bottom: var(--s-5); }
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: var(--r-md); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: 0; line-height: 1.4; }
.faq-item summary:hover h3 { color: var(--primary); }
.faq-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--secondary-soft); flex-shrink: 0; transition: background .2s, transform .25s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--primary); transition: transform .25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--primary); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { padding: 0 20px 18px; }
.faq-body p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Források ---------- */
.sources { padding: var(--s-5); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.sources-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-bottom: var(--s-5); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.sources-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.35rem; }
.sources-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.sources-grid { display: grid; gap: var(--s-5); }
.sources-grid h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.source-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.source-list li { display: grid; gap: 2px; }
.source-list a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.source-list span { font-size: .82rem; color: var(--muted); }
.independence { display: flex; gap: 10px; align-items: flex-start; margin: var(--s-5) 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--secondary-soft); color: var(--text); font-size: .92rem; font-weight: 600; }
.independence .icon { color: var(--primary); margin-top: 2px; }

/* ---------- Záró CTA ---------- */
.cta-final { padding-top: 0; }
.cta-inner { display: grid; gap: var(--s-5); align-items: center; padding: var(--s-6) var(--s-5); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--primary) 0%, #1f5244 100%); color: #cfe1d9; }
.cta-inner h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); margin-bottom: 6px; }
.cta-inner p { margin: 0; }
.cta-inner .btn { --btn-bg: var(--accent); --btn-fg: #2a1c05; justify-self: start; }
.cta-inner .btn:hover { --btn-bg: #eab25f; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--s-6); padding: var(--s-7) 0 var(--s-5); background: #eef2ef; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; gap: var(--s-6); }
.footer-about p { margin: var(--s-4) 0 0; max-width: 42ch; }
.footer-title { margin: 0 0 var(--s-3); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line-strong); display: grid; gap: var(--s-3); }
.footer-disclaimer { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--text); font-weight: 600; font-size: .88rem; }
.footer-disclaimer .icon { margin-top: 2px; color: var(--primary); }
.footer-copy { margin: 0; font-size: .82rem; }

/* ---------- Egyszerű oldalak (jogi, visszaigazolás, hiba) ---------- */
.page { padding: var(--s-7) 0 var(--s-8); }
.page-card { max-width: 640px; margin: 0 auto; padding: var(--s-6) var(--s-5); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); text-align: center; }
.page-card h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.page-card p { color: var(--muted); }
.page-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--s-5); border-radius: 20px; background: var(--secondary); color: var(--primary); }
.page-icon-warn { background: var(--accent-50); color: var(--accent-700); }
.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }
.legal { max-width: 820px; margin: 0 auto; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 1.3rem; margin-top: var(--s-6); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 4px; }
.legal-meta { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.table th, .table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { background: var(--secondary-soft); font-size: .8rem; color: var(--text); }
.table tr:last-child td { border-bottom: 0; }
.flashes { padding-top: var(--s-4); }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; font-weight: 600; }
.flash-error { background: var(--danger-50); color: var(--danger); }
.flash-success { background: var(--secondary); color: var(--primary); }
.flash-info { background: var(--primary-50); color: var(--primary); }

/* Archivált (2. fázis) ajánlatkérő űrlap */
.quote-form { max-width: 760px; margin: 0 auto; padding: var(--s-5); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.grid-2 { display: grid; gap: 0 var(--s-4); }
.choice-grid { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--primary-600); background: var(--primary-50); }
.choice input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }

/* ---------- Görgetési animáció (csak ha fut a JS és nincs csökkentett mozgás) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse::after { animation: none; }
  .btn, .fact, .area { transition: none; }
}

/* ---------- Töréspontok ---------- */
@media (min-width: 560px) {
  .container { padding: 0 24px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-1, .bento-note { grid-column: 1 / -1; }
  .subscribe-panel { padding: var(--s-7) var(--s-6); }
  .subscribe-form { padding: var(--s-6); }
  .glass-card { position: absolute; left: -12px; bottom: 22px; margin: 0; width: min(330px, 72%); }
}

@media (min-width: 760px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
  .how { grid-template-columns: repeat(3, 1fr); }
  .update { grid-template-columns: 150px 1fr; gap: var(--s-5); }
  .update time { padding-top: 3px; }
  .sources-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr auto; padding: var(--s-6) var(--s-7); }
  .cta-inner .btn { justify-self: end; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .status-card { padding: var(--s-6); }
  .sources { padding: var(--s-6); }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .section { padding: 80px 0; }
  .section-tight { padding: var(--s-5) 0; }
  .section + .section:not(.section-soft):not(.subscribe):not(.cta-final) { padding-top: var(--s-7); }
  .nav-toggle { display: none; }
  .site-nav, .nav-open .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav a:not(.btn) { padding: 8px 14px; font-size: .95rem; color: var(--muted); }
  .site-nav .btn { margin: 0 0 0 10px; }
  .hero { padding: var(--s-8) 0 var(--s-7); }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-8); }
  .glass-card { left: -36px; bottom: -28px; width: 320px; }
  .hero-visual { margin-bottom: 28px; }
  .status-card { grid-template-columns: 1.5fr 1fr; gap: var(--s-7); align-items: center; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-1 { grid-column: span 2; grid-row: span 1; }
  .bento-note { grid-column: 1 / -1; }
  .subscribe-panel { grid-template-columns: 1fr 1.05fr; gap: var(--s-8); align-items: center; padding: var(--s-8); }
  .subscribe-copy { padding: 0; }
  .faq-grid { grid-template-columns: .85fr 1.4fr; gap: var(--s-8); align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
