/* ═══════════════════════════════════════════════════════
   Németh Péter — személyes weboldal
   Szerkesztési útmutató:
   - Színek / téma: :root és html[data-theme="dark"] blokkok
   - Betűtípusok: body font-family + .mono font-family
   - Méretek / layout: az egyes sekció-blokkok
   ═══════════════════════════════════════════════════════ */

/* ── CSS változók (világos mód) ──────────────────────── */
:root {
  --bg:              oklch(0.97 0.008 80);
  --bg-2:            oklch(0.94 0.012 80);
  --ink:             oklch(0.18 0.012 80);
  --ink-2:           oklch(0.36 0.012 80);
  --ink-3:           oklch(0.55 0.012 80);
  --line:            oklch(0.85 0.012 80);
  --accent:          oklch(0.62 0.13 130);
  --accent-ink:      oklch(0.22 0.05 130);
  --nav-bg:          oklch(0.97 0.008 80 / 0.55);
  --nav-bg-solid:    oklch(0.95 0.012 80 / 0.92);
  --field-bg:        oklch(1 0 0 / 0.5);
}

/* ── CSS változók (sötét mód) ────────────────────────── */
html[data-theme="dark"] {
  --bg:              oklch(0.16 0.012 80);
  --bg-2:            oklch(0.21 0.014 80);
  --ink:             oklch(0.96 0.008 80);
  --ink-2:           oklch(0.78 0.01 80);
  --ink-3:           oklch(0.58 0.01 80);
  --line:            oklch(0.32 0.012 80);
  --accent:          oklch(0.78 0.14 130);
  --accent-ink:      oklch(0.16 0.012 80);
  --nav-bg:          oklch(0.16 0.012 80 / 0.45);
  --nav-bg-solid:    oklch(0.14 0.014 80 / 0.92);
  --field-bg:        oklch(1 0 0 / 0.04);
}

/* ── Reset & alap ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}
::selection { background: var(--accent); color: var(--accent-ink); }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  letter-spacing: 0;
}

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: padding .25s ease, background .25s ease, border-color .25s ease;
}
.nav.scrolled {
  padding: 12px 36px;
  background: var(--nav-bg-solid);
  border-bottom-color: var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.nav-brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 20%, transparent);
  flex-shrink: 0;
}
.nav-brand .mono { font-size: 11px; color: var(--ink-3); margin-left: 6px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  text-decoration: none; color: var(--ink-2);
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
  display: flex; align-items: center; gap: 8px;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in oklch, var(--ink) 7%, transparent); }
.nav-links a.active { color: var(--ink); }
.nav-links a .num { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.nav-links a:hover .num,
.nav-links a.active .num { color: var(--accent); }

.nav-cta {
  margin-left: 8px !important;
  background: var(--ink) !important;
  color: var(--bg) !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
}

.theme-btn {
  appearance: none; border: 1px solid var(--line);
  background: transparent; color: var(--ink);
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .25s, background .2s, border-color .2s;
  margin-left: 10px; flex-shrink: 0;
}
.theme-btn:hover { background: color-mix(in oklch, var(--ink) 6%, transparent); }
.theme-btn:active { transform: scale(.94); }
.theme-btn svg { width: 16px; height: 16px; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 36px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg-word {
  position: absolute; left: -2vw; bottom: -4vw;
  font-size: clamp(220px, 38vw, 560px);
  font-weight: 800;
  line-height: .85; letter-spacing: -0.06em;
  color: color-mix(in oklch, var(--ink) 5%, transparent);
  pointer-events: none;
  white-space: nowrap;
  will-change: transform;
}
html[data-theme="dark"] .hero-bg-word {
  color: color-mix(in oklch, var(--ink) 7%, transparent);
}
.hero-meta {
  position: absolute; top: 120px; right: 36px;
  text-align: right;
  color: var(--ink-3);
  font-size: 11px; line-height: 1.7;
  will-change: transform;
}
.hero-meta .k { color: var(--ink-2); margin-right: 8px; }
.hero-meta .row { display: flex; gap: 0; justify-content: flex-end; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1320px; margin: 0 auto;
  padding: 160px 0 100px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--ink-3);
  margin-bottom: 32px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 50%, transparent);
  animation: pulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   color-mix(in oklch, var(--accent) 50%, transparent); }
  100% { box-shadow: 0 0 0 14px color-mix(in oklch, var(--accent) 0%,  transparent); }
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .92;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.hero h1 em { font-style: normal; color: var(--accent); font-weight: 500; }
.hero h1 .slash { color: var(--ink-3); font-weight: 300; margin: 0 .05em; }

.hero-sub {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
}
.hero-tag {
  max-width: 540px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.5;
}
.hero-tag b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 10px; align-items: center; }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500;
  padding: 13px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.scroll-cue {
  position: absolute; left: 36px; bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-3); font-size: 11px;
  z-index: 2;
}
.scroll-cue .line {
  width: 48px; height: 1px; background: var(--ink-3);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: translateX(-100%);
  animation: slide 2.2s ease-in-out infinite;
}
@keyframes slide { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ── Sekciók – közös ─────────────────────────────────── */
section { position: relative; }
.section-pad { padding: 140px 36px; }
.container { max-width: 1320px; margin: 0 auto; }

.sec-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 36px;
  margin-bottom: 80px;
  align-items: start;
}
.sec-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.sec-title {
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}
.sec-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }

/* ── RÓLAM szekció ───────────────────────────────────── */
.about { background: var(--bg); }
.about-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.about-bg-word {
  position: absolute; right: -6vw; top: 8vw;
  font-size: clamp(180px, 28vw, 420px);
  font-weight: 300;
  color: color-mix(in oklch, var(--ink) 4%, transparent);
  letter-spacing: -0.05em;
  line-height: .9;
  will-change: transform;
}
html[data-theme="dark"] .about-bg-word {
  color: color-mix(in oklch, var(--ink) 6%, transparent);
}

.about-grid {
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: 36px;
  position: relative; z-index: 2;
}
.about-lede {
  grid-column: 2;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.about-lede em { font-style: italic; color: var(--accent); }
.about-body {
  grid-column: 3;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  max-width: 480px;
}
.about-body p { margin: 0 0 1em; }
.about-body p:last-child { margin-bottom: 0; }

.about-stats {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  position: relative; z-index: 2;
  text-align: center;
}
.stat .n {
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.stat .l {
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat .accent { color: var(--accent); }

/* ── GALÉRIA szekció ─────────────────────────────────── */
.gallery {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery-bg-word {
  position: absolute; left: 50%; top: 40px;
  transform: translateX(-50%);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: color-mix(in oklch, var(--ink) 4%, transparent);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
}
html[data-theme="dark"] .gallery-bg-word {
  color: color-mix(in oklch, var(--ink) 7%, transparent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative; z-index: 2;
}
.tile {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
  border-radius: 2px;
  border: none; padding: 0;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.22, .61, .36, 1), filter .4s ease;
  will-change: transform;
}
.tile:hover img { transform: scale(1.04); filter: saturate(1.08); }
.tile .meta {
  position: absolute; left: 12px; bottom: 10px;
  color: rgba(255,255,255,.85);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .04em;
  mix-blend-mode: screen;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(4px);
  transition: opacity .35s, transform .35s;
}
.tile:hover .meta { opacity: 1; transform: translateY(0); }
.tile .idx {
  position: absolute; right: 12px; top: 10px;
  color: rgba(255,255,255,.7);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(0.08 0.01 80 / 0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 5vw;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: transparent; border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.lightbox-close:hover { border-color: #fff; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.lightbox-nav:hover { border-color: #fff; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-meta {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,.7);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}

/* ── KAPCSOLAT szekció ───────────────────────────────── */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 36px;
  position: relative; z-index: 2;
}
.contact-info { grid-column: 2; }
.contact-info h3 {
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 28px;
}
.contact-info h3 em { color: var(--accent); font-style: italic; font-weight: 400; }
.contact-info p { color: var(--ink-2); line-height: 1.6; max-width: 420px; margin: 0 0 36px; }
.contact-info dl {
  margin: 0; display: grid;
  grid-template-columns: 90px 1fr; gap: 14px 18px;
}
.contact-info dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; padding-top: 4px; letter-spacing: .06em;
}
.contact-info dd { margin: 0; color: var(--ink); font-size: 15px; }
.contact-info dd a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s, color .2s;
}
.contact-info dd a:hover { border-color: var(--accent); color: var(--accent); }

.form {
  grid-column: 3;
  display: grid; gap: 14px;
  background: var(--bg-2);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.field label .req { color: var(--accent); margin-left: 4px; }
.field input, .field textarea {
  appearance: none;
  background: var(--field-bg);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px;
  border-radius: 10px;
  font-family: inherit; font-size: 14px;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: color-mix(in oklch, var(--bg) 80%, white 5%);
}
.field.invalid input, .field.invalid textarea {
  border-color: oklch(0.62 0.18 28);
}
.field .err {
  color: oklch(0.62 0.18 28);
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  min-height: 14px;
}
.form-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; gap: 12px; flex-wrap: wrap;
}
.form-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink-3);
}
.form-status.ok  { color: var(--accent); }
.form-status.err { color: oklch(0.62 0.18 28); }
.field-gdpr { gap: 4px; }
.gdpr-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--ink-2); line-height: 1.5; font-family: inherit; text-transform: none; letter-spacing: 0; }
.gdpr-label input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.submit {
  align-self: flex-start;
  background: var(--ink); color: var(--bg);
  padding: 14px 24px; border-radius: 999px;
  border: 0; cursor: pointer;
  font: 500 13px/1 'Geist', sans-serif;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s, color .2s, transform .2s;
}
.submit:hover { background: var(--accent); color: var(--accent-ink); }
.submit:disabled { opacity: .5; cursor: not-allowed; }

/* ── LÁBLÉC ──────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: 36px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-3); font-size: 12px;
  flex-wrap: wrap; gap: 12px;
}
.foot .mono { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }

/* ── Jogi linkek a láblécben ─────────────────────────── */
.foot-links { display: flex; align-items: center; gap: 10px; }
.foot-sep { color: var(--line); font-size: 10px; }
.foot-link {
  appearance: none; border: 0; background: transparent; padding: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.foot-link:hover { color: var(--ink); border-bottom-color: var(--ink-3); }

/* ── Jogi modalok ─────────────────────────────────────── */
.legal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: oklch(0.08 0.01 80 / 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 5vw;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.legal-overlay.open { opacity: 1; pointer-events: auto; }
.legal-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: 100%; max-width: 640px; max-height: 80vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px oklch(0.06 0.01 80 / 0.35);
}
.legal-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.legal-panel-head h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.legal-close {
  appearance: none; border: 1px solid var(--line);
  background: transparent; color: var(--ink);
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s; flex-shrink: 0;
}
.legal-close:hover { background: color-mix(in oklch, var(--ink) 8%, transparent); border-color: var(--ink); }
.legal-panel-body {
  padding: 28px 32px 32px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  color: var(--ink-2); font-size: 14px; line-height: 1.7;
}
.legal-panel-body h3 {
  font-size: 10px; font-weight: 500; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 28px 0 8px;
  font-family: 'JetBrains Mono', monospace;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.legal-panel-body h3:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-panel-body p { margin: 0 0 10px; }
.legal-panel-body p:last-child { margin-bottom: 0; }
.legal-panel-body a { color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; transition: border-color .2s, color .2s; }
.legal-panel-body a:hover { border-color: var(--accent); color: var(--accent); }
.legal-panel-body ul { padding-left: 20px; margin: 0 0 10px; }
.legal-panel-body li { margin-bottom: 4px; }

/* ── Nav controls (theme + hamburger) ───────────────── */
.nav-controls {
  display: flex; align-items: center; gap: 8px;
}

/* ── Hamburger gomb ──────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
  flex-shrink: 0;
}
.hamburger:hover { background: color-mix(in oklch, var(--ink) 6%, transparent); }
.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 99px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobil menü ──────────────────────────────────────── */
.mobile-menu {
  display: none; /* csak mobilon aktív */
  position: fixed;
  top: var(--nav-h, 60px);
  left: 0; right: 0;
  z-index: 45;
  background: var(--nav-bg-solid);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 24px;
  flex-direction: column;
  gap: 0;
  transform: translateY(-105%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.mobile-menu.open { transform: translateY(0); }

.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.mobile-link:last-of-type { border-bottom: none; margin-top: 4px; }
.mobile-link .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
}
.mobile-link:hover { color: var(--accent); }
.mobile-link:hover .num { color: var(--accent); }

.mobile-cta-link {
  margin-top: 16px;
  justify-content: center;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: 999px;
  padding: 14px 24px !important;
  font-size: 14px !important;
  border-bottom: none !important;
  transition: background .2s, color .2s !important;
}
.mobile-cta-link:hover { background: var(--accent) !important; color: var(--accent-ink) !important; }

/* ── Reszponzív (< 980px) ────────────────────────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .sec-head, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-lede, .about-body, .contact-info, .form { grid-column: 1; }
  .field-row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { display: none; }
  .section-pad { padding: 90px 24px; }
  .nav, .nav.scrolled { padding: 14px 20px; }
  .hero { padding: 0 24px; }
  .foot { padding: 24px; }
  .hero-sub { grid-template-columns: 1fr; gap: 24px; }
  .legal-panel { max-height: 88vh; border-radius: 16px; }
  .legal-panel-head { padding: 20px 20px 16px; }
  .legal-panel-body { padding: 20px 20px 24px; }
}
