/* =========================================================
   MZM Construction – landing
   Paletta: sötétszürke háttér · fehér szöveg · narancs akcentszín
   ========================================================= */
:root {
  --bg: #17181a;
  --bg-2: #1d1e21;
  --surface: #232427;
  --surface-2: #2b2c30;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #b3b6bc;
  --yellow: #ff8000;
  --yellow-2: #ff9c38;
  --on-yellow: #17181a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
em { font-style: normal; color: var(--yellow); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 0.82rem; }
.center { display: flex; justify-content: center; margin-top: 44px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

/* ---------- gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font); border-radius: 999px; border: 1px solid transparent;
  padding: 14px 24px; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn .ico { transition: transform 0.2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--yellow); color: var(--on-yellow); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--yellow) 55%, transparent); }
.btn-primary:hover { background: var(--yellow-2); transform: translateY(-2px); box-shadow: 0 16px 36px -10px color-mix(in srgb, var(--yellow) 70%, transparent); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- fejléc ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(23, 24, 26, 0.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 38px; width: auto; }
.nav { display: none; gap: 30px; font-size: 0.95rem; color: var(--muted); }
.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 56px; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  --hero-default: url("../img/projects/hero.jpg");
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(23, 24, 26, 0.88) 38%, rgba(23, 24, 26, 0.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(23, 24, 26, 0) 40%),
    var(--hero-image, var(--hero-default)) var(--hero-pos, center) / cover no-repeat;
}
/* mobilon saját alapkép: kisebbre véve (a kép nagyobb része látszik), balra igazítva, az áttűnés jobbról indul
   (a szerkesztőben feltöltött kép ezt felülírja) */
@media (max-width: 759px) {
  .hero-bg {
    --hero-default: url("../img/projects/hero-mobil.webp"); --hero-pos: var(--hero-x, 20%) 0%;
    bottom: auto; height: max(130vw, 480px);
    background:
      linear-gradient(270deg, var(--bg) 0%, rgba(23, 24, 26, 0.7) 22%, rgba(23, 24, 26, 0.35) 60%),
      linear-gradient(0deg, var(--bg) 0%, rgba(23, 24, 26, 0) 35%),
      var(--hero-image, var(--hero-default)) var(--hero-pos) / auto 100% no-repeat;
  }
}
.hero-in { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted); border: 1px solid var(--line-2); background: rgba(23, 24, 26, 0.6);
  border-radius: 18px; padding: 8px 14px; backdrop-filter: blur(8px); line-height: 1.4;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 20%, transparent); }
.hero h1 { font-size: clamp(2.2rem, 7.4vw, 4.4rem); margin: 22px 0 20px; max-width: 14ch; text-wrap: balance; }
.hero h1 em, .section-head h2 em { font-style: normal; color: var(--yellow); }
/* főcím-animáció (js/headline.js): betűnként külön elem, fölötte az SVG-ben rajzolt meghízott betűk */
.hero h1 { position: relative; }
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hx-w { white-space: nowrap; }
.hx-c { display: inline-block; white-space: pre; }
.hx-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 1; }
.hx-svg .hx-body { stroke-linejoin: round; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: #dcdee2; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.95rem; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks .ico { color: var(--yellow); width: 1.1em; height: 1.1em; stroke-width: 2.6; }

/* projektkövető kártya */
.track-card {
  background: rgba(35, 36, 39, 0.82); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow);
  max-width: 420px;
}
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.8rem; margin-bottom: 18px; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.track-list { display: grid; gap: 12px; font-size: 0.95rem; }
.track-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.track-list li b { margin-left: auto; color: var(--yellow); font-variant-numeric: tabular-nums; }
.track-list .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.track-list .tick .ico { width: 14px; height: 14px; stroke-width: 3; }
.track-list .done { color: var(--text); }
.track-list .done .tick { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.track-list .now { color: var(--text); }
.track-list .now .tick { border-color: var(--yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 18%, transparent); }
.bar { height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; margin: 20px 0 14px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--yellow), var(--yellow-2)); border-radius: inherit; transform-origin: left; animation: grow 1.6s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.track-foot { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.track-foot .ico { color: var(--yellow); width: 1.1em; height: 1.1em; }

/* statisztikák */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 52px 0 0; padding: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stats > div { background: rgba(29, 30, 33, 0.9); padding: 22px 18px; text-align: center; }
.stats dt { font: 700 clamp(1.6rem, 5vw, 2.4rem)/1 var(--font-head); color: var(--yellow); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- szekciók ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head h2, .final h2 { font-size: clamp(1.8rem, 4.6vw, 2.9rem); text-wrap: balance; }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* bento kártyák */
.bento { display: grid; gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--yellow) 12%, transparent), transparent); opacity: 0; transition: opacity 0.4s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--yellow) 35%, transparent); }
.card:hover::after { opacity: 1; }
.card-ico { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--yellow) 12%, transparent); color: var(--yellow); display: grid; place-items: center; margin-bottom: 20px; }
.card-ico .ico { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- előtte–utána ---------- */
.hint-coarse { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-coarse { display: inline; } }
.ba-tabs { display: inline-flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px; max-width: 100%; overflow-x: auto; }
.ba-tab { border: 0; background: transparent; color: var(--muted); font: 600 0.92rem var(--font); padding: 10px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.ba-tab:hover { color: var(--text); }
.ba-tab.is-active { background: var(--yellow); color: var(--on-yellow); }
/* keskeny kijelzőn a fülek rácsba rendeződnek, hogy mind látszódjon (ne kelljen oldalra húzni) */
@media (max-width: 559px) { .ba-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 20px; } .ba-tab { padding: 10px 8px; } }

.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize; isolation: isolate;
}
.ba.is-portrait { aspect-ratio: 4 / 5; max-width: min(100%, calc(78vh * 0.8)); margin-inline: auto; } /* álló képpár (enteriőr) */
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
/* bal oldal: látványterv (alul, teljes); jobb oldal: megvalósult (felül, a vonaltól jobbra látszik) */
.ba-real { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.ba-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--yellow); box-shadow: 0 0 18px color-mix(in srgb, var(--yellow) 55%, transparent); }
.ba-handle {
  position: absolute; top: 50%; left: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 6px color-mix(in srgb, var(--yellow) 22%, transparent);
}
.ba-handle .ico { width: 24px; height: 24px; stroke-width: 2.6; }
.ba.is-demo .ba-handle { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: scale(1.12); } }
.ba-label {
  position: absolute; bottom: 16px; z-index: 2; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; background: rgba(23, 24, 26, 0.72); backdrop-filter: blur(8px); border: 1px solid var(--line-2);
  transition: opacity 0.25s ease; pointer-events: none;
}
.ba-label[data-pair]:not(.is-on) { display: none; }
.ba-label-l { left: 16px; }
.ba-label-r { right: 16px; background: var(--yellow); color: var(--on-yellow); border-color: transparent; }
.ba.hide-l .ba-label-l, .ba.hide-r .ba-label-r { opacity: 0; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.ba-range:focus-visible + * { outline: none; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ba.is-switching .ba-img { opacity: 0; }
.ba-img { transition: opacity 0.25s ease; }

/* ---------- szolgáltatások ---------- */
.services { display: grid; gap: 14px; }
.service { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.25s, transform 0.25s; }
.service:hover { border-color: color-mix(in srgb, var(--yellow) 40%, transparent); transform: translateY(-2px); }
.service > .ico { width: 30px; height: 30px; color: var(--yellow); margin-top: 2px; }
.service h3 { font-size: 1.08rem; margin-bottom: 4px; }
.service p { color: var(--muted); font-size: 0.95rem; }

/* ---------- folyamat ---------- */
.steps { display: grid; gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 0 0 64px; }
.step-n { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--on-yellow); font: 700 1.1rem var(--font-head); z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: -18px; width: 2px; background: linear-gradient(var(--yellow), color-mix(in srgb, var(--yellow) 12%, transparent)); }
.step h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- vélemények ---------- */
.reviews { display: grid; gap: 16px; }
.review { margin: 0; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.stars { display: flex; gap: 3px; color: var(--yellow); }
.stars .ico { fill: var(--yellow); width: 20px; height: 20px; }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: 0.97rem; }
.review figcaption small { color: var(--muted); font-size: 0.85rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--yellow) 14%, transparent); color: var(--yellow); border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent); font: 700 0.85rem var(--font-head); }

/* ---------- GYIK ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--yellow) 35%, transparent); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--yellow); transition: transform 0.25s ease; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 62ch; }

/* ---------- záró CTA ---------- */
.final { padding: 84px 0; }
.final-card {
  position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 76px) 24px;
  border-radius: 28px; border: 1px solid color-mix(in srgb, var(--yellow) 35%, transparent);
  background: radial-gradient(900px 340px at 50% -10%, color-mix(in srgb, var(--yellow) 20%, transparent), transparent 70%), var(--surface);
}
.final-card h2 { max-width: 18ch; margin: 0 auto; }
.final-card .sub { max-width: 46ch; margin: 18px auto 30px; }

/* ---------- lábléc ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 120px; }
.footer-in { display: grid; gap: 18px; justify-items: start; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color 0.2s, color 0.2s; }
.social a:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- mobil ragadós CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(23, 24, 26, 0.96) 60%, rgba(23, 24, 26, 0)); transform: translateY(110%); transition: transform 0.35s ease;
}
.sticky-cta.is-on { transform: none; }

/* ---------- megjelenési animáció ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2), .js .reviews .reveal:nth-child(2), .js .services .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .bento .reveal:nth-child(3), .js .reviews .reveal:nth-child(3), .js .services .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .bento .reveal:nth-child(4), .js .services .reveal:nth-child(4), .js .steps .reveal:nth-child(4) { transition-delay: 0.24s; }

/* =========================================================
   Táblagép
   ========================================================= */
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-in { grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; }
  .footer-in .small { grid-column: 1 / -1; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 40px; }
}
@media (min-width: 760px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { padding: 72px 0 0; }
  .step-n { left: 0; top: 0; }
  .step:not(:last-child)::before { left: 46px; right: -24px; top: 22px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--yellow), color-mix(in srgb, var(--yellow) 12%, transparent)); }
  .nav { display: flex; }
}

/* =========================================================
   Számítógép
   ========================================================= */
@media (min-width: 1000px) {
  .brand img { height: 44px; }
  :root { --header-h: 76px; }
  body { font-size: 18px; }
  .hero { padding: calc(var(--header-h) + 90px) 0 72px; min-height: min(100vh, 880px); display: flex; flex-direction: column; justify-content: center; }
  .hero-in { grid-template-columns: 1.25fr 0.75fr; gap: 64px; }
  .track-card { justify-self: end; margin-top: 60px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: repeat(4, 1fr); }
  .service { flex-direction: column; gap: 14px; }
  .section, .final { padding: 120px 0; }
  .ba { border-radius: 28px; }
  .ba-label { bottom: 24px; font-size: 0.85rem; }
  .ba-label-l { left: 24px; } .ba-label-r { right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- szerkesztő (iframe) és tartalom-betöltés ---------- */
html.content-pending body { opacity: 0; }
body { transition: opacity 0.25s ease; }
html.is-edit .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.is-edit .sticky-cta { display: none; }
html.is-edit .site-header { position: absolute; }
html.is-edit .ba-range { display: none; }
html.is-edit .ba-label { pointer-events: auto; cursor: text; }

/* ---------- süti-hozzájárulás (js/consent.js) ---------- */
.cookie-bar {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 600px; margin: 0 auto;
  max-height: calc(100vh - 32px); overflow: auto;
  background: rgba(35, 36, 39, 0.97); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; gap: 12px; font-size: 0.9rem;
}
.cookie-bar:focus { outline: none; }
.cookie-title { font: 700 1rem var(--font-head); color: var(--text); }
.cookie-text { color: #dcdee2; line-height: 1.55; }
.cookie-text a { color: var(--yellow); text-underline-offset: 2px; }
.cookie-cats { display: grid; gap: 8px; }
.cookie-cats[hidden] { display: none; }
.cookie-cat { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.18); cursor: pointer; }
.cookie-cat input { accent-color: var(--yellow); width: 18px; height: 18px; flex: none; margin-top: 2px; }
.cookie-cat span { display: grid; gap: 2px; }
.cookie-cat small { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
/* az elutasítás és az elfogadás egyformán hangsúlyos (NAIH / EDPB) */
.cookie-choice { background: var(--text); color: var(--bg); border-color: var(--text); }
.cookie-choice:hover { background: #e9eaec; color: var(--bg); }
@media (max-width: 479px) { .cookie-actions .btn { flex: 1 1 100%; } }
@media (min-width: 640px) { .cookie-bar { left: 24px; right: auto; margin: 0; bottom: 24px; } }

/* ---------- jogi linkek a láblécben ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.85rem; }
.footer-legal a, .footer-legal button { color: var(--muted); background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--yellow); }
