/* =========================================================
   bencewebdev.hu – fő stíluslap
   ========================================================= */

:root {
  --bg: #08080a;
  --bg-2: #101014;
  --bg-3: #17171c;
  --fg: #f2f1ec;
  --muted: #8b8b94;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #c6ff3d;
  --accent-2: #7b5cff;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.is-loading body { overflow: hidden; }

::selection { background: var(--accent); color: #000; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.container { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(90px, 14vw, 180px); position: relative; }

.kicker {
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 28px;
}

.section__head { margin-bottom: clamp(48px, 7vw, 90px); max-width: 900px; }
.section__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.section__sub { color: var(--muted); max-width: 520px; margin-top: 24px; font-size: 18px; }

/* Szövegdarabolás maszkjai */
.wmask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wmask > .w { display: inline-block; will-change: transform; }
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; will-change: transform; }

/* ===== Gombok ===== */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--h);
  padding: 0 28px;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn b { font-weight: 400; transition: transform 0.5s var(--ease); }
.btn:hover b { transform: translateX(4px) rotate(-45deg); }

.btn--primary { background: var(--accent); color: #0a0a0a; }
.btn--primary::before { background: var(--fg); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.22); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: #0a0a0a; border-color: var(--fg); }
.btn--small { --h: 44px; padding: 0 20px; font-size: 14px; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn--small::before { background: var(--accent); }
.btn--small:hover { color: #0a0a0a; border-color: var(--accent); }
.btn--full { width: 100%; }

/* ===== Betöltő ===== */
.loader { position: fixed; inset: 0; z-index: 1000; color: var(--fg); }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.2%; background: #050506; }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__line {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: var(--accent); transform: scaleX(0); box-shadow: 0 0 24px var(--accent);
  z-index: 2;
}
.loader__content {
  position: absolute; inset: 0;
  padding: calc(var(--gutter) + 24px);
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--display);
  z-index: 3;
}
.loader__content::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
  animation: flicker 0.15s infinite steps(2);
}
@keyframes flicker { 50% { opacity: 0.6; } }

.vf { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, 0.4); }
.vf--tl { top: var(--gutter); left: var(--gutter); border-top-width: 1px; border-left-width: 1px; }
.vf--tr { top: var(--gutter); right: var(--gutter); border-top-width: 1px; border-right-width: 1px; }
.vf--bl { bottom: var(--gutter); left: var(--gutter); border-bottom-width: 1px; border-left-width: 1px; }
.vf--br { bottom: var(--gutter); right: var(--gutter); border-bottom-width: 1px; border-right-width: 1px; }

.loader__top, .loader__meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.loader__rec { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.loader__rec b { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.loader__tc { font-variant-numeric: tabular-nums; }

.loader__center { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.loader__words { position: relative; height: 1.4em; line-height: 1.4; font-size: clamp(18px, 2.4vw, 28px); overflow: hidden; min-width: 10ch; }
.loader__word { position: absolute; left: 0; top: 0; opacity: 0; }
.loader__count { font-size: clamp(5.5rem, 20vw, 17rem); font-weight: 600; line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.loader__pct { font-size: 0.3em; color: var(--accent); margin-left: 0.08em; vertical-align: top; }
.loader__bar { height: 1px; background: rgba(255, 255, 255, 0.12); margin-bottom: 16px; }
.loader__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ===== Overlay-ek ===== */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); }
  80% { transform: translate(5%, -2%); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform-origin: left; transform: scaleX(0); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 960; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--fg); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s;
  opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.cursor.has-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--accent); mix-blend-mode: normal; }
.cursor__label { font-family: var(--display); font-size: 13px; font-weight: 600; color: #0a0a0a; opacity: 0; transition: opacity 0.3s; }
.cursor.has-label .cursor__label { opacity: 1; }

/* ===== Navigáció ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: transform 0.6s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled { background: rgba(8, 8, 10, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; margin-right: auto; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 30px; font-size: 14px; }
.nav__links a { position: relative; color: rgba(242, 241, 236, 0.75); transition: color 0.3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); position: relative; }
.nav__burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--fg); transition: transform 0.5s var(--ease); }
.nav__burger i:first-child { top: 18px; }
.nav__burger i:last-child { top: 24px; }
.menu-open .nav__burger i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 790; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.9s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--display); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; display: flex; align-items: baseline; gap: 14px; }
.menu__links small { font-size: 13px; color: var(--accent); letter-spacing: 0; }
.menu__foot { margin-top: auto; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 130px 0 clamp(48px, 9vh, 100px);
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before {
  content: ''; position: absolute; z-index: 0; width: 70vmax; height: 70vmax; right: -20vmax; top: -15vmax;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.22), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.hero__fade { position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1; pointer-events: none; background: linear-gradient(to top, var(--bg) 10%, transparent); }
.hero__inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 13px; color: rgba(242, 241, 236, 0.8);
  background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, min(10vw, 15vh), 10.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, #e8ffb0 50%, var(--accent-2) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title em .char { color: var(--accent); text-shadow: 0 0 40px rgba(198, 255, 61, 0.35); }

.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero__lead { max-width: 470px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(242, 241, 236, 0.75); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; z-index: 2; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 70px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ===== Marquee ===== */
.marquee {
  border-block: 1px solid var(--line);
  padding: 26px 0; overflow: hidden; white-space: nowrap;
  background: var(--bg);
  position: relative; z-index: 2;
}
.marquee__track { display: inline-flex; align-items: center; gap: 40px; animation: marquee 32s linear infinite; padding-left: 40px; }
.marquee span { font-family: var(--display); font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.04em; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(242, 241, 236, 0.45); }
.marquee b { color: var(--accent); font-size: clamp(1.2rem, 2.5vw, 2rem); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Rólam ===== */
.about__big {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 1150px;
}
.about__big .w { opacity: 0.14; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); margin-top: clamp(60px, 9vw, 120px); }
.about__text { color: rgba(242, 241, 236, 0.72); font-size: 18px; max-width: 520px; }
.about__list { list-style: none; border-top: 1px solid var(--line); }
.about__list li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.about__list span { font-family: var(--display); font-weight: 500; font-size: 19px; }
.about__list span::before { content: '→ '; color: var(--accent); }
.about__list small { color: var(--muted); font-size: 15px; }

.about__text + .about__text { margin-top: 20px; }

/* Idővonal */
.timeline { margin-top: clamp(80px, 10vw, 140px); }
.timeline__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline__list::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--accent-2) 70%, var(--line)); }
.timeline__item { position: relative; padding: 40px 28px 0 0; }
.timeline__item::before { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline__item--now::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(198, 255, 61, 0.15), 0 0 24px var(--accent); }
.timeline__year { font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.timeline__item h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; font-weight: 600; margin: 8px 0 10px; line-height: 1.2; }
.timeline__item p { color: var(--muted); font-size: 15px; }

/* ===== Szolgáltatások ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  --mx: 50%; --my: 50%;
  position: relative; padding: 36px 32px 40px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.4s;
  min-height: 300px; display: flex; flex-direction: column;
}
.service::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(198, 255, 61, 0.13), transparent 45%);
}
.service::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(198, 255, 61, 0.7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.service:hover::before, .service:hover::after { opacity: 1; }
.service:hover { transform: translateY(-6px); }
.service > * { position: relative; z-index: 1; }
.service__num { position: absolute; top: 30px; right: 30px; font-family: var(--display); font-size: 13px; color: var(--muted); }
.service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--line); margin-bottom: auto; transition: background 0.4s, transform 0.6s var(--ease); }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--fg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s; }
.service:hover .service__icon { background: var(--accent); transform: rotate(-8deg) scale(1.05); }
.service:hover .service__icon svg { stroke: #0a0a0a; }
.service h3 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 48px 0 12px; }
.service p { color: var(--muted); font-size: 16px; }

/* ===== Folyamat ===== */
.process { position: relative; padding-top: clamp(90px, 12vw, 160px); overflow: hidden; }
.process__head { margin-bottom: 64px; }
.process__track { display: flex; gap: 20px; padding-inline: var(--gutter); width: max-content; }
.step {
  width: min(440px, 80vw); min-height: 400px; flex-shrink: 0;
  padding: 40px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 60%);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.step::after {
  content: ''; position: absolute; width: 240px; height: 240px; right: -80px; bottom: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.35), transparent 70%); filter: blur(10px);
}
.step__num {
  font-family: var(--display); font-weight: 700; font-size: 120px; line-height: 0.8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 241, 236, 0.3); margin-bottom: auto;
}
.step h3 { font-family: var(--display); font-size: 34px; letter-spacing: -0.03em; margin: 40px 0 12px; }
.step p { color: var(--muted); position: relative; z-index: 1; }
.step:nth-child(odd) .step__num { -webkit-text-stroke-color: var(--accent); }
.process__bar { margin: 48px var(--gutter) 0; height: 1px; background: var(--line); }

/* Rögzített (vízszintesen görgő) nézet: a teljes szekció mindig beférjen a képernyő magasságába */
@media (min-width: 901px) and (min-height: 560px) {
  .process {
    height: 100vh; height: 100svh;
    padding: 84px 0 clamp(16px, 3vh, 40px);
    display: flex; flex-direction: column; justify-content: center;
  }
  .process__head { margin-bottom: clamp(20px, 4vh, 56px); }
  .process__head .kicker { margin-bottom: clamp(10px, 2vh, 28px); }
  .process__head .section__title { font-size: clamp(2.2rem, min(6.4vw, 10vh), 5.6rem); }
  .step { min-height: 0; height: clamp(240px, 46vh, 400px); padding: clamp(24px, 3.6vh, 40px); }
  .step__num { font-size: clamp(56px, 11vh, 120px); }
  .step h3 { font-size: clamp(22px, 3.6vh, 34px); margin: clamp(12px, 2.5vh, 40px) 0 clamp(6px, 1.2vh, 12px); }
  .step p { font-size: clamp(14px, 2vh, 17px); }
  .process__bar { margin-top: clamp(18px, 3.5vh, 48px); }
}
.process__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ===== Számok ===== */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(3.4rem, 7vw, 6.5rem); line-height: 1; letter-spacing: -0.05em; }
.stat strong span { font-variant-numeric: tabular-nums; }
.stat p { color: var(--muted); margin-top: 14px; max-width: 220px; }

/* ===== Munkáim ===== */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.project { perspective: 1200px; }
.project__link { display: block; }
.project__frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  will-change: transform;
}
.project:hover .project__frame { box-shadow: 0 40px 80px -30px rgba(123, 92, 255, 0.45); }
.project__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.project__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.project__bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.05); padding: 4px 14px; border-radius: 100px; }
.project__shot { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.project__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.project:hover .project__shot img { transform: scale(1.05); }
.project__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 255, 61, 0.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(123, 92, 255, 0.55), transparent 50%),
    #0d0d11;
  transition: transform 1.2s var(--ease);
}
.project:hover .project__ph { transform: scale(1.06); }
.project__ph span { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.06em; }
.project__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 600;
  background: var(--accent); color: #0a0a0a;
}
.project__info { padding: 26px 4px 0; }
.project__head { display: flex; align-items: baseline; gap: 14px; }
.project__num { font-family: var(--display); font-size: 13px; color: var(--accent); }
.project__head h3 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; font-weight: 600; }
.project__arrow { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.4s, color 0.4s, transform 0.6s var(--ease); flex-shrink: 0; }
.project:hover .project__arrow { background: var(--accent); color: #0a0a0a; transform: rotate(45deg); }
.project__info p { color: var(--muted); margin: 10px 0 16px; max-width: 520px; }
.project__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.project__tags li { font-size: 12px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; color: rgba(242,241,236,0.75); }

.project--cta .project__frame { border-style: dashed; border-color: rgba(198, 255, 61, 0.35); background: transparent; }
.project--cta .project__shot { display: grid; place-items: center; text-align: center; padding: 30px; }
.project--cta .project__shot p { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.project--cta .project__shot p em { font-style: normal; color: var(--accent); }

/* ===== Árak ===== */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.price:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); }
.price { --mx: 50%; --my: 50%; overflow: hidden; }
.price::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(198, 255, 61, 0.1), transparent 45%);
}
.price:hover::before { opacity: 1; }
.price > * { position: relative; }
.price > .price__tag { position: absolute; }
.price--featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 61, 0.16), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(123, 92, 255, 0.25), transparent 55%),
    var(--bg-3);
  border-color: rgba(198, 255, 61, 0.45);
  box-shadow: 0 30px 80px -40px rgba(198, 255, 61, 0.4);
}
.price__tag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: var(--accent); color: #0a0a0a; }
.price__name { font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.price__amount { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 14px; flex-wrap: wrap; }
.price__amount strong { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 4.2vw, 3.8rem); letter-spacing: -0.05em; line-height: 1; }
.price__amount span { color: var(--muted); font-size: 16px; }
.price__desc { color: rgba(242,241,236,0.72); margin-bottom: 26px; }
.price__list { list-style: none; display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 34px; flex: 1; }
.price__list li { display: flex; gap: 12px; font-size: 15px; }
.price__list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(198, 255, 61, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pricing__note { color: var(--muted); font-size: 14px; margin-top: 28px; max-width: 720px; }

/* ===== GYIK ===== */
.faq__wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.faq .section__head { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 0; font-family: var(--display); font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; position: relative; transition: transform 0.5s var(--ease), background 0.3s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 60px 28px 0; max-width: 640px; animation: faqIn 0.6s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ===== Kapcsolat ===== */
.contact { background: radial-gradient(ellipse at 50% 120%, rgba(123, 92, 255, 0.2), transparent 60%); }
.contact__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.8rem, 8.5vw, 8.5rem); line-height: 0.92; letter-spacing: -0.055em;
  margin-bottom: clamp(50px, 7vw, 90px); max-width: 1200px;
}
.contact__title em { font-style: normal; color: var(--accent); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 120px); }
.contact__info p { color: rgba(242, 241, 236, 0.72); font-size: 18px; max-width: 420px; }
.contact__mail {
  display: inline-block; margin: 36px 0; font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 500;
  letter-spacing: -0.02em; position: relative; word-break: break-all;
}
.contact__mail::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transition: transform 0.6s var(--ease); }
.contact__mail:hover::after { transform: scaleX(0.3); }
.contact__meta { list-style: none; display: grid; gap: 18px; }
.contact__meta li { display: flex; flex-direction: column; }
.contact__meta small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; }
.contact__meta a { transition: color 0.3s; }
.contact__meta a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); background: rgba(16, 16, 20, 0.7); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.18);
  color: var(--fg); font: inherit; padding: 26px 0 10px; outline: none; resize: vertical;
  transition: border-color 0.3s;
}
.field textarea { min-height: 110px; }
.field span { position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transition: transform 0.4s var(--ease), color 0.3s, font-size 0.3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px) scale(0.78); color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5c5c; }

.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.chips legend { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.18); font-size: 14px; transition: all 0.3s var(--ease); }
.chips label:hover span { border-color: var(--fg); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { margin-top: 10px; }
.form__status { min-height: 1.4em; font-size: 15px; color: var(--muted); }
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: #ff7b7b; }

/* ===== Lábléc ===== */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.footer__links a:hover, .footer__up:hover, .footer__contact a:hover { color: var(--accent); }
.footer__up { font-family: var(--display); }
.footer__contact { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--display); font-size: 17px; }

/* Lebegő hívás gomb (mobil) */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 780;
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent);
  display: none; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(198, 255, 61, 0.55);
  transform: scale(0); transition: transform 0.5s var(--ease);
}
.fab.is-visible { transform: scale(1); }
.fab svg { width: 24px; height: 24px; fill: #0a0a0a; }
.fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.2s var(--ease) infinite; }
.footer__giant {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.07em; line-height: 0.8;
  font-size: clamp(2.6rem, 14vw, 16rem); text-align: center; margin: 60px 0 30px;
  background: linear-gradient(180deg, var(--fg) 30%, rgba(242,241,236,0.05));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.footer__giant .char { background: linear-gradient(180deg, var(--fg) 30%, rgba(242,241,236,0.05)); -webkit-background-clip: text; background-clip: text; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* ===== Animációs kezdőállapotok (csak JS-sel) ===== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.no-anim [data-reveal], .no-anim .about__big .w { opacity: 1 !important; transform: none !important; }
.no-anim .char, .no-anim .wmask > .w { transform: none !important; }

/* ===== Reszponzív ===== */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 620px; }
  .timeline__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline__list::before { display: none; }
  .timeline__item { border-top: 1px solid var(--line); }
  .timeline__item::before { top: -8px; }
  .nav__links { gap: 22px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .fab { display: grid; }
  .menu-open .fab { transform: scale(0); }
  .hero__scroll { display: none; }
  .about__grid, .faq__wrap, .contact__grid { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .work__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 16px 32px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 16px !important; }
  .process__track { flex-direction: column; width: auto; }
  .step { width: 100%; min-height: 0; }
  .step__num { font-size: 80px; }
  .process__bar { display: none; }
  .process { padding-bottom: 40px; }
}
/* Nagyon alacsony, de széles ablak: a folyamat lépései egymás alá kerülnek */
@media (min-width: 901px) and (max-height: 559px) {
  .process__track { flex-direction: column; width: auto; }
  .step { width: 100%; min-height: 0; }
  .step__num { font-size: 80px; }
  .process__bar { display: none; }
  .process { padding-bottom: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { margin-top: 32px; }
  .about__list li { grid-template-columns: 1fr; gap: 4px; }
  .timeline__list { grid-template-columns: 1fr; }
  .footer__contact { flex-direction: column; gap: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .btn { padding: 0 22px; }
  .faq details p { padding-right: 0; }
  .loader__content { padding: calc(var(--gutter) + 18px); }
}

html.no-anim .marquee__track { animation: none; }
