/* ============================================================
   KRISSZ.COM — újragondolva
   Esztétika: éjindigó + korall→borostyán gradiens + menta jelzések,
   aurora-fényfoltok, lágy mélység. Sötét + világos téma.
   ============================================================ */

:root {
  --font-display: "Unbounded", sans-serif;
  --font-body:    "Archivo", sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---- SÖTÉT TÉMA (alap) — meleg grafit + terrakotta ---- */
html[data-theme="dark"] {
  --bg:        #131210;
  --bg-2:      #191814;
  --bg-3:      #211f1a;
  --line:      rgba(224, 122, 63, .28);
  --line-soft: rgba(240, 237, 232, .08);
  --acc1:      #e07a3f;
  --acc2:      #f0a06b;
  --teal:      #e07a3f;
  --ink:       #f0ede8;
  --ink-dim:   #9d968b;
  --grad:      linear-gradient(100deg, #e07a3f, #f0a06b);
  --dot:       rgba(157, 150, 139, .1);
  --nav-bg:    linear-gradient(180deg, rgba(19, 18, 16, .92), rgba(19, 18, 16, .72));
  --menu-bg:   rgba(19, 18, 16, .98);
  --glow:      rgba(224, 122, 63, .28);
  --spot:      rgba(224, 122, 63, .11);
  --aurora:    .08;
  --card-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ---- VILÁGOS TÉMA — törtfehér + terrakotta ---- */
html[data-theme="light"] {
  --bg:        #f6f3ed;
  --bg-2:      #efeae1;
  --bg-3:      #e7e0d3;
  --line:      rgba(194, 88, 31, .32);
  --line-soft: rgba(39, 35, 29, .12);
  --acc1:      #c2581f;
  --acc2:      #e07a3f;
  --teal:      #c2581f;
  --ink:       #27231d;
  --ink-dim:   #6e675c;
  --grad:      linear-gradient(100deg, #c2581f, #e07a3f);
  --dot:       rgba(39, 35, 29, .08);
  --nav-bg:    linear-gradient(180deg, rgba(246, 243, 237, .94), rgba(246, 243, 237, .8));
  --menu-bg:   rgba(246, 243, 237, .98);
  --glow:      rgba(194, 88, 31, .2);
  --spot:      rgba(194, 88, 31, .09);
  --aurora:    .13;
  --card-shadow: 0 24px 50px rgba(60, 45, 25, .14);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .45s, color .45s;
}

/* finom rácspontok */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 0;
}

::selection { background: var(--acc1); color: #fff; }

.mono { font-family: var(--font-mono); font-weight: 400; }
em { color: var(--acc1); font-style: italic; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--acc1); }

/* ============ K-MONOGRAM (logó-jel) ============ */
.kmark { display: inline-block; color: var(--ink); flex-shrink: 0; }
.kmark__dot { fill: var(--acc1); }
.preloader__mark {
  width: 62px; margin-bottom: 1rem;
  animation: kpulse 2.2s ease-in-out infinite;
}
@keyframes kpulse { 50% { transform: scale(1.07); } }
.about__card-mark {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 30px; opacity: .45;
}
.contact__mark { width: 50px; display: block; margin: 0 auto 1.4rem; }
.footer__brand { display: inline-flex; align-items: center; gap: .6em; }
.footer__brand .kmark { width: 19px; }

/* gradiens szöveg segédosztály */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.preloader__inner { width: min(420px, 80vw); text-align: center; }
.preloader__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: .02em;
  margin-bottom: .4rem;
}
.preloader__word span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.preloader__roles {
  min-height: 1.8em; margin-bottom: 1.6rem;
  font-size: .95rem; color: var(--ink-dim); letter-spacing: .12em;
  text-transform: uppercase;
}
.preloader__roles div { animation: rolefade .4s var(--ease-out); }
@keyframes rolefade { from { opacity: 0; transform: translateY(8px); } }
.preloader__bar { height: 3px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--grad); border-radius: 2px;
}
.preloader__pct {
  font-family: var(--font-mono); font-size: .72rem; color: var(--acc1);
  margin-top: .6rem; text-align: right;
}

/* ============ EGYEDI KURZOR ============ */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 999; }
.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__dot { width: 6px; height: 6px; background: var(--acc1); }
.cursor__ring {
  width: 34px; height: 34px; border: 1px solid var(--line);
  transition: width .25s var(--ease-out), height .25s var(--ease-out),
              border-color .25s, background .25s;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0; color: #fff;
}
.cursor--hover .cursor__ring {
  width: 52px; height: 52px;
  border-color: var(--acc1); background: var(--spot);
}
.cursor--view .cursor__ring {
  width: 64px; height: 64px; background: var(--acc1); border-color: var(--acc1);
  font-size: .6rem;
}
.cursor--view .cursor__ring::after { content: "NÉZD"; letter-spacing: .08em; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============ NAVIGÁCIÓ ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem var(--pad-x);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: transform .45s var(--ease-out);
}
.nav--hidden { transform: translateY(-100%); }
.nav__logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.8rem;
  color: var(--ink); text-decoration: none; letter-spacing: .01em;
  line-height: 1;
}
.nav__logo-dot {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  color: var(--ink-dim); text-decoration: none; font-size: 1.02rem; font-weight: 400;
  letter-spacing: .02em; transition: color .25s; position: relative;
}
.nav__num {
  font-family: var(--font-mono); font-size: .62rem; color: var(--acc1);
  vertical-align: super; margin-right: .3em;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 1px; transition: width .3s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__theme {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--acc1);
  transition: border-color .3s, background .3s, transform .4s var(--ease-out);
}
.nav__theme:hover { border-color: var(--acc1); transform: rotate(40deg); }
.nav__theme svg { width: 18px; height: 18px; }
html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }
.nav__cta {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: .03em;
  color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); padding: .55em 1.2em; border-radius: 2em;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.nav__cta:hover {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 20px var(--glow);
}
.nav__cta-led {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 8px var(--teal); animation: led 2.2s ease-in-out infinite;
}
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.nav__burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: .4rem;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--acc1);
  transition: transform .3s var(--ease-out);
}
.nav--open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav--open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 5.5rem var(--pad-x) 0;
  overflow: hidden;
}
/* aurora-fényfoltok */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
  opacity: var(--aurora);
}
.hero::before {
  width: 52vw; height: 52vw; top: -20vw; right: -14vw;
  background: radial-gradient(closest-side, var(--teal), transparent 72%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 46vw; height: 46vw; bottom: -18vw; left: -12vw;
  background: radial-gradient(closest-side, var(--acc1), transparent 72%);
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(-8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(7vw, -5vw) scale(.9); } }

.hero__circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .7; }
.hero__circuit .trace {
  stroke: var(--line-soft); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero__circuit .pads circle { fill: var(--bg); stroke: var(--acc2); stroke-width: 1.5; }
.hero__circuit .pulse { fill: var(--teal); filter: drop-shadow(0 0 6px var(--teal)); opacity: 0; }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-top: clamp(.5rem, 3vh, 2rem);
}
.hero__eyebrow {
  display: flex; align-items: center; gap: .8em;
  color: var(--ink-dim); font-size: .88rem; margin-bottom: 1.6rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
}
.hero__eyebrow::before {
  content: ""; width: 2.6em; height: 2px; border-radius: 1px;
  background: var(--grad); flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.01em;
  margin-bottom: 2rem;
}
.hero__line { display: block; overflow: hidden; padding: .09em .05em .06em 0; margin: -.03em 0; }
.hero__line-inner { display: inline-block; transform: translateY(110%); }
.hero__line--accent .hero__line-inner {
  color: transparent;
  background: linear-gradient(100deg, var(--acc1) 15%, var(--acc2) 50%, var(--acc1) 85%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-dim);
  max-width: 32em; margin-bottom: 2.6rem;
}
.hero__actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* portré */
.hero__portrait {
  justify-self: end; width: min(340px, 100%); position: relative;
  transform-style: preserve-3d; will-change: transform;
}
.portrait__frame {
  position: relative; border-radius: 20px;
  overflow: hidden; background: var(--bg-2);
  box-shadow: var(--card-shadow);
  border: 1px solid transparent;
  background-clip: padding-box;
}
.portrait__frame::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--grad); border-radius: 21px;
}
.portrait__frame img {
  display: block; width: 100%; height: auto;
  filter: saturate(.95) contrast(1.04);
}
.portrait__scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--spot) 50%, transparent 100%);
  background-size: 100% 220%;
  animation: scan 5.5s linear infinite;
  mix-blend-mode: overlay;
}
@keyframes scan { to { background-position: 0 -220%; } }
.corner {
  position: absolute; width: 20px; height: 20px;
  border: 2.5px solid #fff; opacity: .85; z-index: 2; border-radius: 2px;
}
.corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.portrait__caption {
  display: flex; align-items: center; gap: .6em; justify-content: center;
  margin-top: 1rem; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-dim);
}

.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-display); font-weight: 400; font-size: .92rem;
  text-decoration: none; padding: 1em 1.8em; border-radius: 2.4em;
  transition: color .3s, border-color .3s, box-shadow .3s, background-position .5s var(--ease-out);
  position: relative;
}
.btn__arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translate(4px, 0); }
.btn--solid {
  background: linear-gradient(100deg, var(--acc1), var(--acc2), var(--acc1));
  background-size: 200% 100%; background-position: 0% 0;
  color: #fff;
}
.btn--solid:hover { background-position: 100% 0; box-shadow: 0 8px 32px var(--glow); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--acc1); color: var(--acc1); }
.btn--big {
  font-size: clamp(1.05rem, 2.6vw, 1.7rem); padding: 1.1em 2em;
  background: linear-gradient(100deg, var(--acc1), var(--acc2), var(--acc1));
  background-size: 200% 100%; color: #fff; margin-top: 2.4rem;
}
.btn--big:hover { background-position: 100% 0; box-shadow: 0 12px 48px var(--glow); }

.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(1.5rem, 3.5vh, 2.8rem);
  padding: 1.8rem 0 2.2rem;
  gap: 1rem;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat__value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: .82rem; color: var(--ink-dim); letter-spacing: .03em; }

.hero__scroll {
  position: absolute; right: var(--pad-x); bottom: .9rem; z-index: 2;
  font-size: .72rem; color: var(--ink-dim); letter-spacing: .2em;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
  overflow: hidden; padding: 1.05rem 0; position: relative; z-index: 2;
}
.marquee__track {
  display: flex; gap: 2.2rem; width: max-content;
  font-family: var(--font-mono); font-size: .85rem; letter-spacing: .12em;
  color: var(--ink-dim); text-transform: uppercase;
  animation: marquee 36s linear infinite;
}
.marquee__track i {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: normal;
}
.marquee__track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SZEKCIÓK ============ */
.section { padding: clamp(5rem, 11vh, 8.5rem) var(--pad-x); position: relative; z-index: 1; }
/* nagy kijelzőn a tartalom ne nőjön a végtelenbe */
.section, .hero { max-width: 1536px; margin-inline: auto; }
.section__head {
  display: flex; align-items: baseline; gap: 1.4rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.section__num {
  font-size: .8rem; font-weight: 500;
  background: var(--grad); color: #fff;
  padding: .3em .85em; border-radius: 2em;
}
.section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: -.01em;
}
.section__line { flex: 1; height: 1px; background: var(--line-soft); transform-origin: left; }
.section__intro { color: var(--ink-dim); margin: -2rem 0 3rem; max-width: 36em; }

/* ============ RÓLAM ============ */
.about__grid {
  display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.about__lead { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.45; margin-bottom: 1.6rem; }
.about__text p + p { margin-top: 1.1rem; color: var(--ink-dim); }

/* gyorsnévjegy-kártya */
.about__card {
  position: relative;
  background: var(--bg-2); border-radius: 18px;
  padding: 1.8rem 1.7rem 1.7rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
}
.about__card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad);
}
.about__card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  margin-bottom: 1.4rem;
}
.fact {
  display: flex; align-items: baseline; gap: .8em;
  padding: .55rem 0; border-bottom: 1px dashed var(--line-soft);
  font-size: .92rem;
}
.fact:last-of-type { border-bottom: 0; }
.fact__label { color: var(--ink-dim); flex-shrink: 0; min-width: 5.2em; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.fact__value { color: var(--ink); font-weight: 500; }
.fact__value a { text-decoration: none; }
.fact__value a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; list-style: none; }
.chips li {
  font-size: .78rem; padding: .35em 1em; border-radius: 2em;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.chips li:hover { background: var(--grad); color: #fff; border-color: transparent; }
.about__status {
  display: flex; align-items: center; gap: .6em;
  margin-top: 1.5rem; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal); font-weight: 500;
}
.led {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 9px var(--teal); animation: led 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ============ IDÉZET-BANNER ============ */
.quote { text-align: center; padding-top: clamp(3rem, 7vh, 5rem); padding-bottom: clamp(3rem, 7vh, 5rem); }
.quote__inner { max-width: 46em; margin: 0 auto; }
.quote__mark {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 9vw, 6.5rem); line-height: .4;
  color: var(--acc1); margin-bottom: .35em;
}
.quote__text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 3.2vw, 2.3rem); line-height: 1.4;
  letter-spacing: -.01em;
}
.quote__by {
  margin-top: 1.8rem; color: var(--ink-dim);
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
}

/* ============ TAPASZTALAT ============ */
.xp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
.xp__col-title {
  font-size: .82rem; letter-spacing: .18em; margin-bottom: 2rem;
  text-transform: uppercase; font-weight: 500;
  display: flex; align-items: center; gap: .8em;
  color: var(--ink-dim);
}
.xp__col-title::before {
  content: ""; width: 2.2em; height: 2px; border-radius: 1px;
  background: var(--grad);
}
.timeline { position: relative; padding-left: 1.8rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px;
  border-radius: 1px;
  background: linear-gradient(var(--acc1), var(--acc2), transparent);
}
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item__dot {
  position: absolute; left: -1.8rem; top: 7px;
  width: 10px; height: 10px; border-radius: 50%; transform: translateX(-4px);
  background: var(--acc1); border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--acc1);
}
.tl-item__date { font-size: .72rem; color: var(--teal); letter-spacing: .08em; }
.tl-item h4 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem;
  margin: .45rem 0 .15rem;
}
.tl-item__org { color: var(--acc1); font-size: .9rem; margin-bottom: .35rem; font-weight: 500; }
.tl-item p:not(.tl-item__org) { color: var(--ink-dim); font-size: .92rem; }

/* ============ SZOLGÁLTATÁSOK ============ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc {
  position: relative; padding: 2.2rem 1.8rem 2rem;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 18px;
  transition: border-color .35s, background .35s, box-shadow .35s;
  transform-style: preserve-3d; will-change: transform;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.svc::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    var(--spot), transparent 65%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.svc:hover::before { opacity: 1; }
.svc:hover { border-color: var(--line); box-shadow: var(--card-shadow); }
.svc--featured {
  background:
    linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}
.svc__icon {
  width: 60px; height: 60px; margin-bottom: 1.6rem;
  border-radius: 16px; padding: 12px;
  background: var(--spot);
}
.svc__icon svg { width: 100%; height: 100%; stroke: var(--acc1); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc__badge {
  position: absolute; top: 1.6rem; right: 1.6rem;
  font-size: .64rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--acc1);
  border: 1px solid var(--line); border-radius: 2em;
  padding: .28em .85em;
}
.svc h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-bottom: .8rem; }
.svc p { color: var(--ink-dim); font-size: .92rem; margin-bottom: 1.4rem; }
.svc__tags { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; margin-top: auto; }
.svc__tags li {
  font-size: .7rem; letter-spacing: .06em; color: var(--acc1); font-weight: 500;
  border: 1px solid var(--line); border-radius: 2em; padding: .32em .85em;
  font-family: var(--font-body);
}
.svc__link {
  display: inline-block; margin-top: 1.1rem; font-size: .82rem; font-weight: 500;
  color: var(--teal); text-decoration: none; letter-spacing: .04em;
}
.svc__link:hover { text-decoration: underline; }

/* ============ HELLOLOX KIEMELT ============ */
.lox { padding-top: 0; }
.lox__panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  border-radius: 28px;
  background: linear-gradient(115deg, var(--acc1), var(--acc2));
  color: #fff;
  padding: clamp(2.2rem, 5vw, 4.2rem);
  box-shadow: 0 30px 80px var(--glow);
}
/* finom pöttyrácsozat + óriás háttérfelirat */
.lox__panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
.lox__panel::after {
  content: "HELLO"; position: absolute; right: -2%; bottom: -10%;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(7rem, 18vw, 16rem); line-height: 1;
  color: rgba(255, 255, 255, .06); pointer-events: none;
  letter-spacing: -.02em;
}
.lox__content { position: relative; z-index: 2; }
.lox__eyebrow {
  display: flex; align-items: center; gap: .8em;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); margin-bottom: 1.1rem;
}
.lox__eyebrow::before {
  content: ""; width: 2.4em; height: 2px; border-radius: 1px; background: #fff;
}
.lox__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05;
}
.lox__title span {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}
.lox__slogan {
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-style: italic;
  margin: .7rem 0 1rem; color: rgba(255, 255, 255, .95);
}
.lox__text { color: rgba(255, 255, 255, .85); max-width: 32em; font-size: .95rem; }
.lox__feats {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none;
  margin: 1.5rem 0 2rem;
}
.lox__feats li {
  font-size: .75rem; letter-spacing: .04em; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 2em;
  padding: .35em 1em; color: #fff;
  transition: background .3s, color .3s;
}
.lox__feats li:hover { background: #fff; color: var(--acc1); }
.lox__cta {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-display); font-weight: 400; font-size: .95rem;
  background: #fff; color: var(--acc1); text-decoration: none;
  padding: 1em 1.8em; border-radius: 2.4em;
  transition: box-shadow .3s, transform .3s var(--ease-out);
}
.lox__cta:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .25); }
.lox__cta .btn__arrow { transition: transform .3s var(--ease-out); }
.lox__cta:hover .btn__arrow { transform: translate(3px, -3px); }

.lox__photos { position: relative; z-index: 2; height: clamp(280px, 26vw, 380px); }
.lox__photo {
  position: absolute; height: 52%; width: auto; aspect-ratio: 4 / 3; object-fit: cover;
  max-width: 72%;
  border-radius: 16px; border: 4px solid #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  transition: transform .5s var(--ease-out);
}
.lox__photo--1 { top: 3%; left: 0; transform: rotate(-6deg); z-index: 1; }
.lox__photo--2 { top: 24%; right: 0; transform: rotate(4deg); z-index: 2; }
.lox__photo--3 { bottom: 3%; left: 7%; transform: rotate(-2deg); z-index: 3; }
.lox__panel:hover .lox__photo--1 { transform: rotate(-3deg) translateY(-6px); }
.lox__panel:hover .lox__photo--2 { transform: rotate(2deg) translateY(-6px); }
.lox__panel:hover .lox__photo--3 { transform: rotate(0deg) translateY(-6px); }

/* ============ REFERENCIÁK — eltolt képes galéria ============ */
.projs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem 2.6rem;
  padding-bottom: 4rem; /* az eltolt oszlop helye */
}
.proj { display: block; text-decoration: none; color: inherit; }
.proj:nth-child(even) { margin-top: 4rem; margin-bottom: -4rem; }
.proj__media {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 16 / 11; background: var(--bg-3);
  box-shadow: var(--card-shadow);
}
.proj__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--ease-out);
}
.proj:hover .proj__media img { transform: scale(1.06) rotate(.4deg); }
.proj__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, transparent 55%, rgba(13, 10, 28, .45));
  opacity: .7; transition: opacity .4s;
}
.proj:hover .proj__media::after { opacity: 1; }
.proj__idx {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  padding: .35em .9em; border-radius: 2em;
}
.proj__body {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; padding: 1.15rem .25rem 0;
}
.proj__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  transition: color .3s; margin-bottom: .2rem;
}
.proj:hover .proj__name { color: var(--acc1); }
.proj__type { color: var(--ink-dim); font-size: .85rem; }
.proj__arrow {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out);
}
.proj:hover .proj__arrow {
  background: var(--grad); color: #fff; border-color: transparent;
  transform: rotate(45deg);
}

/* ============ AI VISION KIEMELT ============ */
.ai { padding-top: 0; }
.ai__panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  border-radius: 28px;
  background: linear-gradient(125deg, #16130d, #221c12 55%, #18140c);
  color: #f0ede8;
  border: 1px solid var(--line);
  padding: clamp(2.2rem, 5vw, 4.2rem);
  box-shadow: var(--card-shadow);
}
/* HUD-rács */
.ai__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(224, 122, 63, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 122, 63, .07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.ai__panel::after {
  content: "VISION"; position: absolute; right: -1%; top: -6%;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 13vw, 11rem); line-height: 1;
  color: rgba(240, 237, 232, .045); pointer-events: none;
  letter-spacing: -.02em;
}
.ai__content { position: relative; z-index: 2; }
.ai__eyebrow {
  display: flex; align-items: center; gap: .8em;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(240, 237, 232, .75); margin-bottom: 1.1rem;
}
.ai__eyebrow::before {
  content: ""; width: 2.4em; height: 2px; border-radius: 1px; background: var(--grad);
}
.ai__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.15;
  margin-bottom: 1rem;
}
.ai__title span { color: #e07a3f; }
.ai__text { color: rgba(240, 237, 232, .8); max-width: 34em; font-size: .95rem; }
.ai__list { list-style: none; margin: 1.8rem 0 2.2rem; display: grid; gap: 1.2rem; }
.ai__list li { position: relative; padding-left: 1.9rem; }
.ai__list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 11px; height: 11px; border-radius: 3px;
  border: 2.5px solid #e07a3f;
}
.ai__list h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  margin-bottom: .25rem;
}
.ai__list p { color: rgba(240, 237, 232, .7); font-size: .88rem; line-height: 1.55; }
.ai__cta {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-display); font-weight: 400; font-size: .95rem;
  background: var(--grad); color: #fff; text-decoration: none;
  padding: 1em 1.8em; border-radius: 2.4em;
  transition: box-shadow .3s;
}
.ai__cta:hover { box-shadow: 0 14px 36px rgba(224, 122, 63, .35); }
.ai__cta .btn__arrow { transition: transform .3s var(--ease-out); }
.ai__cta:hover .btn__arrow { transform: translateX(4px); }

/* kamerakép-mockupok */
.ai__feeds { position: relative; z-index: 2; }
.ai-feed {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(240, 237, 232, .18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  background: #0e0c08;
  transition: transform .5s var(--ease-out);
}
.ai-feed img { display: block; width: 100%; height: auto; }
/* futó scanline */
.ai-feed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .12) 3px 4px),
    linear-gradient(180deg, transparent 0%, rgba(224, 122, 63, .12) 50%, transparent 100%);
  background-size: 100% 100%, 100% 240%;
  animation: scan 6s linear infinite;
}
.ai-feed--1 { width: 88%; transform: rotate(-2deg); }
.ai-feed--2 { width: 82%; margin: -14% 0 0 auto; transform: rotate(2deg); }
.ai__panel:hover .ai-feed--1 { transform: rotate(-.5deg) translateY(-5px); }
.ai__panel:hover .ai-feed--2 { transform: rotate(.5deg) translateY(-5px); }
.ai-feed__tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: flex; align-items: center; gap: .55em;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em;
  color: #f0ede8; background: rgba(0, 0, 0, .55);
  padding: .4em .8em; border-radius: 2em;
}
.ai-feed__rec {
  width: 7px; height: 7px; border-radius: 50%; background: #e0533f;
  box-shadow: 0 0 8px #e0533f; animation: led 1.6s ease-in-out infinite;
}

/* ============ KAPCSOLAT ============ */
.contact {
  text-align: center;
  padding-top: clamp(6rem, 14vh, 10rem); padding-bottom: clamp(6rem, 14vh, 10rem);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 70vw; height: 70vw; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--spot), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.contact__inner { position: relative; }
.contact__pre {
  color: var(--teal); letter-spacing: .18em; margin-bottom: 1.4rem;
  text-transform: uppercase; font-size: .82rem; font-weight: 500;
}
.contact__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 9vw, 7rem); line-height: 1.04; letter-spacing: -.01em;
}
.contact__title-line { display: block; overflow: hidden; padding: .06em .05em .14em; margin: -.05em 0 -.08em; }
.contact__title-line > span { display: inline-block; }
.contact__title .accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact__phone { margin-top: 1.6rem; color: var(--ink-dim); font-size: .82rem; letter-spacing: .14em; }
.contact__alt { margin-top: .8rem; color: var(--ink-dim); font-size: .92rem; }

/* ============ LÁBLÉC ============ */
.footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem var(--pad-x);
  border-top: 1px solid var(--line-soft);
  font-size: .72rem; color: var(--ink-dim); letter-spacing: .05em;
}
.footer a { color: var(--acc1); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ============ RESZPONZÍV ============ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { justify-self: start; width: min(280px, 70vw); order: -1; margin-top: 1rem; }
}
@media (max-width: 900px) {
  .nav__links {
    display: flex; flex-direction: column; gap: 1.6rem;
    position: absolute; top: 0; left: 0; right: 0; z-index: -1;
    height: 100svh;
    background: var(--menu-bg);
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease-out);
  }
  .nav--open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 1.4rem; font-family: var(--font-display); font-weight: 300; }
  .nav__burger { display: flex; }
  .nav__theme { margin-left: auto; }
  .nav__cta { margin-left: 0; }
  .about__grid, .xp__cols { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .projs { grid-template-columns: 1fr; gap: 2.4rem; padding-bottom: 0; }
  .proj:nth-child(even) { margin-top: 0; margin-bottom: 0; }
  .lox__panel { grid-template-columns: 1fr; }
  .lox__photos { height: 300px; margin-top: .5rem; }
  .lox__panel::after { font-size: 6rem; }
  .ai__panel { grid-template-columns: 1fr; }
  .ai__feeds { order: -1; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ CSÖKKENTETT MOZGÁS ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__line-inner { transform: none; }
  .preloader { display: none; }
}
