/* Tarek's Websites — saját bemutatkozó oldal (HU + EN közös stílus)
   Dizájn: meleg „papír" editorial — Newsreader (címek) + Schibsted Grotesk (szöveg) + IBM Plex Mono (címkék, árak).
   Egy akcentus (főkönyv-zöld) + egy kiemelő (szalma-sárga). Hairline-szerkezet, nincs kártya-a-kártyában. */

/* ─── Tokenek ─────────────────────────────────────────────── */
:root {
  --paper: #FFFFFF;
  --paper-2: #F4F1EA;
  --white: #FFFFFF;
  --ink: #1B1A17;
  --muted: #5F5A51;
  --line: rgba(27, 26, 23, .14);
  --line-strong: rgba(27, 26, 23, .3);
  --accent: #1F5C46;
  --accent-deep: #17483A;
  --accent-soft: rgba(31, 92, 70, .09);
  --marker: #F1E0A0;
  --danger: #8A2D1C;

  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;
  /* a hero a 21st.dev-demó betűivel: Tailwind alap font-sans = az operációs rendszer UI-betűje (SF / Segoe / Roboto) */
  --font-system: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(5rem, 10vw, 8.5rem);
  --nav-h: 76px;
  --r-ctl: 6px;
  --r-frame: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.32, .72, 0, 1);
  --shadow-frame: 0 1px 0 var(--line), 0 30px 60px -34px rgba(27, 26, 23, .4);
}
/* A böngészők, amelyek tudják az OKLCH-t, pontosabb, egyenletesebb színeket kapnak — a hex a tartalék. */
@supports (color: oklch(50% 0.1 100)) {
  :root {
    --paper: #FFFFFF;
    --paper-2: oklch(95.3% 0.009 85);
    --white: #FFFFFF;
    --ink: oklch(19% 0.006 80);
    --muted: oklch(45% 0.012 75);
    --line: oklch(19% 0.006 80 / .14);
    --line-strong: oklch(19% 0.006 80 / .3);
    --accent: oklch(41% 0.08 162);
    --accent-deep: oklch(34% 0.07 164);
    --accent-soft: oklch(41% 0.08 162 / .09);
    --marker: oklch(90% 0.085 92);
  }
}

/* ─── Kinetikus rács (háttér-canvas, js/kinetic-grid.js rajzolja) ── */
/* z-index:-1 → a gyökér háttere fölött, de minden folyó tartalom alatt. FONTOS: a html-nek NEM adunk saját
   hátteret — akkor a body háttere nem terjedne át a gyökérre, hanem a body elemre festődne, a canvas FÖLÉ. */
.grid-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }

/* ─── Alap ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip; position: relative;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--marker); color: var(--ink); }

/* Papír-szemcse: fix, egérnek átlátszó réteg — a lapos háttér tapinthatóvá válik */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 120; pointer-events: none;
  opacity: .025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--r-ctl); }
.skip:focus { top: 1rem; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 32px; pointer-events: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

/* ─── Tipográfia ──────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.2rem + 6.2vw, 5.75rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1rem + 3.4vw, 3.5rem); line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p { max-width: 62ch; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 58ch; }
.eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .03em; }

/* Kiemelő: filctoll-sárga sáv, ami a megjelenéskor „kihúzódik" a szó alatt */
.hl {
  color: inherit; padding: .02em .12em; margin: 0 -.12em; border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 100% / 0% 90%;
  transition: background-size .8s var(--ease) .3s;
}
.is-in .hl { background-size: 100% 90%; }
.hero-parallax .hl { animation: hl-in .9s var(--ease) 1.1s both; }
@keyframes hl-in { from { background-size: 0% 90%; } to { background-size: 100% 90%; } }

/* ─── Gombok ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .5rem .5rem .5rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .5s var(--ease-out), background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn__arrow {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(255, 255, 255, .16);
  transition: transform .5s var(--ease-out), background-color .35s var(--ease);
}
.btn__arrow svg { width: .95rem; height: .95rem; }
.btn:hover .btn__arrow { transform: translate(2px, -2px) scale(1.06); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost .btn__arrow { background: var(--accent-soft); color: var(--accent); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.btn--sm { font-size: .86rem; padding: .38rem .38rem .38rem 1rem; }
.btn--sm .btn__arrow { width: 1.75rem; height: 1.75rem; }
.btn--sm .btn__arrow svg { width: .8rem; height: .8rem; }
.btn--plain { padding: .55rem 1.05rem; }
.btn--sm.btn--plain { padding: .5rem .95rem; }
.btn--full { width: 100%; justify-content: space-between; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.link { font-weight: 600; color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.link:hover { border-bottom-color: currentColor; }

/* ─── Navigáció ───────────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-top: 4px solid var(--accent);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease);
}
.nav-wrap.is-scrolled {
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.01em; font-size: 1.02rem; }
.brand__mark {
  width: 1.7rem; height: 1.7rem; border-radius: 6px; background: var(--accent); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1; padding-bottom: .1em;
}
.nav__links { display: flex; gap: 1.7rem; list-style: none; margin-left: auto; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--muted); position: relative; padding: .3rem 0; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em;
  padding: .38rem .65rem; border: 1px solid var(--line-strong); border-radius: 999px;
  transition: border-color .3s, background-color .3s;
}
.lang:hover { border-color: var(--ink); background: var(--white); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-left: auto; margin-right: -10px; }
.burger span {
  position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .5s var(--ease-out);
}
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(2) { transform: translateY(5px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li a { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 2.4rem); line-height: 1.2; padding: .45rem 0; border-bottom: 1px solid var(--line); letter-spacing: -.01em; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu__foot .lang { align-self: flex-start; }

/* ─── Hero parallax (21st.dev / Aceternity „Hero Parallax” portja) ──
   A szekció 300vh magas; a fejléc normál folyásban, a kártya-színpad 3D-ben dől és csúszik görgetésre
   (js/parallax.js írja a transformokat). Reduced-motion / JS nélkül: statikus kollázs, természetes magasság. */
.hero-parallax {
  /* overflow: clip — nem görgethető konténer (a hidden-t a fókusz/scrollIntoView oldalra tolná, és úgy maradna) */
  position: relative; overflow: hidden; overflow: clip; -webkit-font-smoothing: antialiased;
  /* overflow-anchor: none — a Chrome scroll-horgonyzása különben a mozgó kártyákhoz igazítaná a görgetést
     (újratöltéskor rossz pozícióra állt, görgetés közben ellene dolgozott a rugónak) */
  overflow-anchor: none;
  display: flex; flex-direction: column;
  padding-block: calc(var(--nav-h) + 4rem) 10rem;
  perspective: 1000px; transform-style: preserve-3d;
}
/* min-height + a végső translateY(500px)-nyi extra alsó térköz: alacsony ablakban se vágja le az utolsó sort */
.has-parallax .hero-parallax { min-height: 300vh; padding-bottom: calc(10rem + 500px); }
.hero-parallax__head { position: relative; z-index: 1; width: 100%; max-width: 80rem; margin-inline: auto; padding: 5rem var(--gutter) 10rem; }
.hero-parallax__head h1 {
  margin-top: 1.2rem; font-family: var(--font-system); font-weight: 700; font-size: clamp(2.4rem, 1rem + 5.4vw, 4.5rem);
  line-height: 1; letter-spacing: -.02em; text-wrap: balance;
}
.hero-parallax__head h1 em { font-style: normal; }
.hero-parallax__head .lede { margin-top: 2rem; font-family: var(--font-system); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.4; color: var(--ink); max-width: 42rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__sig { margin-top: 2.4rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink); opacity: .78; }
[data-enter] { animation: enter .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-parallax__stage { will-change: transform, opacity; }
.has-parallax .hero-parallax__stage { transform: translateY(-700px) rotateX(15deg) rotateZ(20deg); opacity: .2; }
.hero-parallax__row { display: flex; gap: 5rem; margin-bottom: 5rem; will-change: transform; }
.hero-parallax__row:last-child { margin-bottom: 0; }
.hero-parallax__row--rev { flex-direction: row-reverse; }
/* statikus kollázs (JS/motion nélkül): a sorok kissé eltolva, a színpad magassága lefogva és alul kihalványítva */
html:not(.has-parallax) .hero-parallax__stage { max-height: 36rem; overflow: hidden; overflow: clip; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
html:not(.has-parallax) .hero-parallax__row:nth-child(1) { transform: translateX(-12%); }
html:not(.has-parallax) .hero-parallax__row:nth-child(2) { transform: translateX(-30%); }
html:not(.has-parallax) .hero-parallax__row:nth-child(3) { transform: translateX(-18%); }

.pcard { position: relative; flex: none; width: 30rem; height: 24rem; display: block; color: var(--white); }
.pcard__inner {
  position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(27, 26, 23, .06);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.pcard__veil { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.pcard__title { position: absolute; left: 1rem; bottom: 1rem; opacity: 0; transition: opacity .35s var(--ease); font-family: var(--font-system); font-weight: 600; font-size: 1.05rem; }
.pcard:hover .pcard__inner, .pcard:focus-visible .pcard__inner { transform: translateY(-20px); box-shadow: 0 0 0 1px var(--line), 0 40px 60px -30px rgba(27, 26, 23, .45); }
.pcard:hover .pcard__veil, .pcard:focus-visible .pcard__veil { opacity: .8; }
.pcard:hover .pcard__title, .pcard:focus-visible .pcard__title { opacity: 1; }

/* ─── Tények (proof strip) ────────────────────────────────── */
.proof { padding-block: clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
.proof__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__list li { padding: 1.6rem 1.2rem 1.6rem 1.4rem; border-left: 1px solid var(--line); }
.proof__list li:first-child { border-left: 0; padding-left: 0; }
.proof__num { font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3.2rem); line-height: 1; letter-spacing: -.02em; }
.proof__num small { font-size: .48em; font-family: var(--font-mono); letter-spacing: 0; margin-left: .2em; color: var(--muted); }
.proof__label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; line-height: 1.55; }

/* ─── Szekció-fej: tartalomjegyzék-sor + cím ──────────────── */
.sec { padding-block: var(--sec); }
.sec--tint { background: rgba(244, 241, 234, .82); box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line); }
.sec-head { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.sec-head__index { display: flex; align-items: center; gap: 1.2rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.6rem; }
.sec-head__index::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-head h2 { max-width: 22ch; }
.sec-head .lede { margin-top: 1.2rem; }

/* ─── Munkáim ─────────────────────────────────────────────── */
.work__list { list-style: none; }
.work-row {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line);
}
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-row__idx { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); letter-spacing: .12em; }
.work-row h3 { margin-top: .7rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 400; }
.work-row__tags { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; color: var(--muted); margin-top: .6rem; text-transform: uppercase; line-height: 1.7; }
.work-row__tags b { color: var(--accent); font-weight: 500; }
.work-row p:not(.work-row__tags) { margin-top: 1rem; color: var(--muted); font-size: 1rem; }
.work-row__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; align-items: center; }
.work__note { margin-top: 1.6rem; font-family: var(--font-mono); font-size: .72rem; line-height: 1.7; color: var(--muted); max-width: 80ch; }

/* Böngésző- és telefon-keret: külső „tálca" + belső képernyő (két perem, koncentrikus lekerekítés) */
.frame { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 6px; box-shadow: var(--shadow-frame); }
.frame__chrome { display: flex; align-items: center; gap: 5px; padding: 5px 8px 9px; }
.frame__chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(27, 26, 23, .16); flex: none; }
.frame__url {
  font-family: var(--font-mono); font-size: .64rem; color: var(--muted); background: var(--white); border-radius: 4px;
  padding: 2px 10px; margin-left: 8px; flex: 1; min-width: 0; text-align: center; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame__screen { position: relative; background: var(--white); border-radius: calc(var(--r-frame) - 6px); overflow: hidden; aspect-ratio: 16 / 10; transform: translateZ(0); }
.frame__img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: object-position var(--pan, 3s) linear; }
.frame:hover .frame__img, .frame:focus-within .frame__img { object-position: 0 100%; }
.frame__screen.is-live .frame__img { display: none; }
.frame__iframe { position: absolute; top: 0; left: 0; border: 0; width: 1280px; transform-origin: 0 0; background: #fff; }
.frame--phone { border-radius: 26px; padding: 7px; }
.frame--phone .frame__screen { aspect-ratio: 9 / 19.5; border-radius: 19px; }
.frame--portrait { padding: 8px; border-radius: 18px; transform: rotate(-1.5deg); }
.frame--portrait .frame__screen { aspect-ratio: 4 / 5; border-radius: 11px; }
.frame--portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Előtte/utána csúszka (Fiji) — natív range input, láthatatlanul a kép fölött, ezért billentyűvel is megy */
.compare { --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.compare__after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(27, 26, 23, .25); pointer-events: none; }
.compare__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); color: var(--ink);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.05em; padding-bottom: .15em;
  box-shadow: 0 8px 18px -8px rgba(27, 26, 23, .6);
}
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; z-index: 2; }
.compare:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.compare__label { position: absolute; top: .6rem; z-index: 1; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(27, 26, 23, .78); color: var(--paper); padding: .28rem .55rem; border-radius: 3px; pointer-events: none; }
.compare__label--before { left: .6rem; }
.compare__label--after { right: .6rem; }

/* ─── Szolgáltatások — árlista sorokban, nem ikonos kártyákban ── */
.plans__list { border-top: 1px solid var(--line-strong); }
.plan { display: grid; grid-template-columns: 1.15fr 1.45fr .8fr; gap: clamp(1.5rem, 3vw, 3rem); padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.plan__idx { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); letter-spacing: .12em; }
.plan h3 { margin-top: .6rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 400; }
.plan__tag { margin-top: .6rem; color: var(--muted); font-size: .98rem; }
.plan__price { font-family: var(--font-mono); font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); margin-top: 1.3rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.plan__price small { font-size: .55em; color: var(--muted); margin-left: .35em; letter-spacing: .04em; }
.plan__inc { list-style: none; }
.plan__inc li { padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--line); position: relative; font-size: .98rem; }
.plan__inc li:first-child { border-top: 0; padding-top: 0; }
.plan__inc li::before { content: ""; position: absolute; left: .1rem; top: 1.05rem; width: .8rem; height: .4rem; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan__inc li:first-child::before { top: .5rem; }
.plan__meta { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.plan__time { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__time b { display: block; font-family: var(--font-display); font-size: 1.55rem; text-transform: none; letter-spacing: -.01em; color: var(--ink); font-weight: 400; margin-top: .3rem; }
.plans__note { margin-top: 1.6rem; font-family: var(--font-mono); font-size: .72rem; line-height: 1.7; color: var(--muted); max-width: 84ch; }

/* ─── Folyamat ────────────────────────────────────────────── */
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.steps__list li { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.steps__num { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); letter-spacing: .12em; }
.steps__list h3 { margin-top: 2.2rem; font-size: 1.45rem; font-weight: 400; }
.steps__list p { margin-top: .7rem; font-size: .97rem; color: var(--muted); }

/* ─── Miért velem ─────────────────────────────────────────── */
.why__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why__list { list-style: none; }
.why__list li { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list h3 { font-size: 1.5rem; font-weight: 400; }
.why__list p { margin-top: .5rem; color: var(--muted); font-size: .98rem; }
.pull { position: sticky; top: calc(var(--nav-h) + 2rem); border-left: 2px solid var(--accent); padding-left: 1.6rem; }
.pull p { font-family: var(--font-display); font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.25; font-style: italic; max-width: none; }
.pull p + p { margin-top: 1rem; font-size: 1.05rem; font-style: normal; color: var(--muted); font-family: var(--font-text); line-height: 1.5; }
.pull cite { display: block; margin-top: 1.2rem; font-style: normal; font-family: var(--font-mono); font-size: .72rem; line-height: 1.7; color: var(--muted); }
.pull cite a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ─── Rólam ───────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__figure { max-width: 420px; margin: 0; }
.about__figure figcaption { margin-top: 1.4rem; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.about__text .sec-head { margin-bottom: 1.8rem; }
.about__text p + p { margin-top: 1.1rem; }
.about__text > p { font-size: 1.05rem; }
.facts { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; }

/* ─── GYIK ────────────────────────────────────────────────── */
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.3rem 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.3; letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; width: 1.6rem; height: 1.6rem; position: relative; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent); transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.faq__plus::before { width: 15px; height: 1.5px; }
.faq__plus::after { width: 1.5px; height: 15px; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__body { padding-bottom: 1.5rem; color: var(--muted); max-width: 66ch; }
.faq__body p + p { margin-top: .6rem; }

/* ─── Kapcsolat ───────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__email { display: inline-block; margin-top: 1.8rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); letter-spacing: -.01em; border-bottom: 1.5px solid var(--accent); padding-bottom: .1em; transition: color .3s; }
.contact__email:hover { color: var(--accent); }
.contact__meta { margin-top: 1.4rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.9; }
.form { display: grid; gap: 1.1rem; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  padding: .85rem 1rem; transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%235F5A51' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.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 3px var(--accent-soft); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form__consent { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.form__submit { justify-self: start; }
.form-note { font-size: .95rem; line-height: 1.5; min-height: 1.5em; }
.form-note.is-ok { color: var(--accent); }
.form-note.is-error { color: var(--danger); }
.form-note a { text-decoration: underline; font-weight: 600; }

/* ─── Lábléc ──────────────────────────────────────────────── */
.footer { padding-block: 3rem 2.2rem; border-top: 1px solid var(--line-strong); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: flex-start; }
.footer__tag { margin-top: .6rem; font-size: .92rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; font-size: .92rem; }
.footer__links a { color: var(--muted); transition: color .3s; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; color: var(--muted); line-height: 1.7; }

/* ─── Megjelenés görgetésre ───────────────────────────────── */
.reveal, .reveal-img { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-img { transform: translateY(10px) scale(.985); }
.reveal.is-in, .reveal-img.is-in { opacity: 1; transform: none; }

/* Grid-gyerekek nem tolhatják szét az oszlopot: az 1fr sáv minimuma alapból a tartalom (min-content),
   ezért egy hosszú, nem törhető szöveg (pl. URL a keret fejlécében) az egész sort kiszélesítené. */
.work-row > *, .plan > *, .why__grid > *, .about__grid > *, .contact__grid > *, .form > *, .form__row > *, .proof__list > *, .steps__list > * { min-width: 0; }

/* ─── Töréspontok ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__actions .btn { display: none; }
  .burger { display: block; }
  .work-row, .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero-parallax { padding-block: calc(var(--nav-h) + 2rem) 5rem; }
  .has-parallax .hero-parallax { min-height: 220vh; padding-bottom: calc(5rem + 200px); }
  .hero-parallax__head { padding: 2rem var(--gutter) 5rem; }
  .has-parallax .hero-parallax__stage { transform: translateY(-300px) rotateX(15deg) rotateZ(20deg); }
  .hero-parallax__row { gap: 2rem; margin-bottom: 2rem; }
  .pcard { width: 16rem; height: 12.8rem; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .plan { grid-template-columns: 1fr; gap: 1.4rem; }
  .plan__meta { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .pull { position: static; }
  [data-preview] { display: none; }
  .about__figure { max-width: 340px; }
}
@media (max-width: 640px) {
  .proof__list { grid-template-columns: 1fr 1fr; }
  .proof__list li { padding: 1.2rem 1rem 1.2rem 1rem; }
  .proof__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .work-row__actions .btn { flex: 1 1 auto; justify-content: space-between; }
}

/* ─── Mozgás-érzékenyeknek: minden azonnal, animáció nélkül ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-parallax .hero-parallax { min-height: 0; padding-bottom: 5rem; }
  .has-parallax .hero-parallax__stage { transform: none !important; opacity: 1 !important; }
  .has-parallax .hero-parallax__row { transform: none !important; }
  .pcard:hover .pcard__inner { transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; }
  .hl, .hero-parallax .hl { background-size: 100% 90%; }
  .frame:hover .frame__img, .frame:focus-within .frame__img { object-position: 0 0; }
}
