/* ==========================================================
   Unstacked fő stíluslap
   ========================================================== */

:root {
  --bg: #EFEEEC;
  --bg-alt: #E6E4E1;
  --surface: #F7F6F4;
  --ink: #0E0F12;
  --ink-2: #3A3C41;
  --muted: #5E6066;
  --line: #D6D4D0;
  --dark: #0E0F12;
  --dark-line: #2A2C31;
  --on-dark: #EFEEEC;
  --on-dark-muted: #A9AAA6;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--bg); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipográfia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
}
h1 { font-size: clamp(42px, 7vw, 96px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
  color: var(--muted); margin-bottom: 20px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }

/* ---------- Gombok ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #2A2C31; transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(14,15,18,.55); }
.btn:hover::after { transform: translateY(0); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn--outline::after { background: var(--ink); }
.btn--outline:hover { color: var(--bg); }

.btn--light { --btn-bg: var(--bg); --btn-fg: var(--ink); border-color: var(--bg); }
.btn--light::after { background: #FFFFFF; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  min-height: 44px;
}
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.link-arrow:hover span { background-size: 100% 1.5px; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(239, 238, 236, .85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.nav-open .site-header::before { background: var(--bg); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 24px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }
.nav__cta .btn { min-height: 44px; padding: 12px 20px; font-size: 15px; }

.nav__toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: var(--radius-sm);
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav__toggle span:nth-child(3) { top: 29px; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 76px 0 0 0; background: var(--bg);
    padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 24px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    overflow-y: auto;
  }
  .nav-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { font-family: var(--font-display); font-stretch: 112%; font-size: 26px; font-weight: 700; padding: 14px 0; color: var(--ink); }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav__menu { display: flex; align-items: center; } }

/* ---------- Szekciók ---------- */
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .eyebrow, .section--dark .muted { color: var(--on-dark-muted); }
.section--dark .lead { color: #C9C8C5; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { max-width: 640px; }
.section-head .lead { max-width: 44ch; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 32px; }
.hero__text { container-type: inline-size; min-width: 0; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.2vw, 76px); }
@supports (font-size: 1cqi) { .hero h1 { font-size: min(82px, 12cqi); } }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero .lead { margin-top: 28px; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; aspect-ratio: 1; }
.hero__visual img {
  width: 100%; height: 100%; object-fit: contain;
  animation: float 7s ease-in-out infinite;
}
.hero__fade { opacity: 0; animation: fadeUp .9s var(--ease) .45s forwards; }
.hero__visual.hero__fade { animation-delay: .2s; animation-duration: 1.4s; }

.hero__ticker {
  margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
}
.ticker__track { display: inline-flex; animation: marquee 32s linear infinite; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 18px 28px 18px 0;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.01em;
}
.ticker__track span::after { content: ""; width: 8px; height: 8px; background: var(--ink); }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; width: 70%; margin: 0 auto; order: -1; }
}

/* Aloldal hero */
.page-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero__cube {
  position: absolute; right: -60px; top: 50%; width: min(420px, 38vw); margin-top: calc(min(420px, 38vw) / -2);
   pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
@media (max-width: 760px) { .page-hero__cube { display: none; } }

.breadcrumb { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Grid & kártyák ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(14,15,18,.35); border-color: #C4C2BD; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; margin-bottom: 6px;
  transition: transform .45s var(--ease);
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.card--dark { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.card--dark p { color: var(--on-dark-muted); }
.card--dark .card__icon { background: var(--bg); color: var(--ink); }
.card--dashed { background: transparent; border-style: dashed; border-color: #A9A7A2; text-decoration: none; justify-content: space-between; }

.card__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.card__list li { display: flex; gap: 10px; align-items: flex-start; }
.card__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--ink); }
.card--dark .card__list { color: #C9C8C5; }
.card--dark .card__list li::before { background: var(--bg); }

/* Szolgáltatás részletes sor */
.service-row {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px;
  padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); align-items: start;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__num { font-family: var(--font-mono); font-size: 14px; color: var(--muted); padding-top: 8px; }
.service-row h2 { font-size: clamp(28px, 3.4vw, 42px); }
.service-row .tags { margin-top: 18px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; gap: 16px; } }

/* Tagek */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono); font-size: 12.5px; padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-2);
}
.section--dark .tag { background: transparent; border-color: var(--dark-line); color: var(--on-dark); }

/* ---------- Pillérek / számok ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 28px 24px 28px 0; }
.pillar + .pillar { border-left: 1px solid var(--line); padding-left: 24px; }
.pillar h3 { font-size: 19px; margin-bottom: 6px; }
.pillar p { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) {
  .pillar + .pillar { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.stat { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 28px; }
.stat__num { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.04em; line-height: 1; }
.stat p { margin-top: 10px; color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Bemutatkozás (split) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split__body { display: grid; gap: 20px; font-size: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Referenciák ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: 500 15px/1 var(--font-body); cursor: pointer;
  transition: background .25s, color .25s;
}
.filter:hover { background: rgba(14,15,18,.06); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.project {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s;
}
.project:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(14,15,18,.35); }
.project.is-hidden { display: none; }
.project__media {
  aspect-ratio: 16 / 10; background: #DAD8D4; position: relative; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--muted);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project__meta { font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.project__body p { color: var(--muted); }
.project .tags { margin-top: auto; padding-top: 8px; }

/* ---------- Folyamat ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); counter-reset: step; }
.step { position: relative; padding: 32px 24px 8px 0; }
.step::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--ink);
  transform: scale(0); transition: transform .5s var(--ease);
}
.step.is-visible::before { transform: scale(1); }
.step__num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: block; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }
.section--dark .steps { border-top-color: var(--on-dark); }
.section--dark .step::before { background: var(--on-dark); }
.section--dark .step p { color: var(--on-dark-muted); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .step { padding: 0 0 36px 32px; }
  .step::before { top: 4px; left: -7px; }
  .section--dark .steps { border-left-color: var(--on-dark); }
}

/* Folyamat oldal részletes */
.timeline { display: grid; gap: 0; }
.timeline__item {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 32px;
  padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__num { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(44px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.timeline__item h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
@media (max-width: 860px) { .timeline__item { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Technológiák ---------- */
.tech { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 28px; transition: border-color .3s, transform .45s var(--ease); }
.tech:hover { border-color: #55575D; transform: translateY(-4px); }
.tech__label { font-family: var(--font-mono); font-size: 13px; color: var(--on-dark-muted); margin-bottom: 14px; display: block; }
.tech__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.35; letter-spacing: -0.01em; }
.tech__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech__list li { font-family: var(--font-mono); font-size: 13px; padding: 5px 10px; border: 1px solid var(--dark-line); border-radius: 6px; color: var(--on-dark); transition: border-color .25s, background .25s; }
.tech__list li:hover { border-color: var(--on-dark); background: rgba(239,238,236,.06); }
.tech p { margin-top: 14px; font-size: 15px; color: var(--on-dark-muted); }

/* ---------- GYIK ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.015em; line-height: 1.3;
}
.faq__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q:hover .faq__icon { background: var(--ink); }
.faq__q:hover .faq__icon::before, .faq__q:hover .faq__icon::after { background: var(--bg); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 64px 28px 0; color: var(--muted); max-width: 70ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 80px); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq__a p { padding-right: 0; } }

/* ---------- CTA sáv ---------- */
.cta-band { position: relative; overflow: hidden; }
.section--dark + .cta-band { border-top: 1px solid var(--dark-line); }
main > .cta-band:last-child { border-bottom: 1px solid var(--dark-line); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 800; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-band__cubes { position: relative; height: 260px; }
.cta-band__cubes i {
  position: absolute; display: block; background: var(--on-dark); border-radius: 4px;
  animation: drift 6s ease-in-out infinite;
}
.cta-band__cubes i:nth-child(1) { width: 72px; height: 72px; left: 10%; top: 30%; }
.cta-band__cubes i:nth-child(2) { width: 44px; height: 44px; left: 42%; top: 8%; animation-delay: -1.5s; opacity: .8; }
.cta-band__cubes i:nth-child(3) { width: 56px; height: 56px; left: 60%; top: 55%; animation-delay: -3s; opacity: .9; }
.cta-band__cubes i:nth-child(4) { width: 24px; height: 24px; left: 82%; top: 22%; animation-delay: -2.2s; opacity: .6; }
.cta-band__cubes i:nth-child(5) { width: 16px; height: 16px; left: 30%; top: 78%; animation-delay: -4s; opacity: .5; }
.cta-band__cubes i:nth-child(6) { width: 30px; height: 30px; left: 88%; top: 70%; animation-delay: -.8s; opacity: .7; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__cubes { height: 140px; } }

/* ---------- Kapcsolat / Űrlap ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__info { display: grid; gap: 28px; }
.contact__item span { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.contact__item a, .contact__item p { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 22px; text-decoration: none; letter-spacing: -0.01em; }
.contact__item a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field .req { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; min-height: 50px; transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E0F12' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #B9B7B2; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(14,15,18,.08); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
.field__error { font-size: 13px; color: #B42318; min-height: 0; }

fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); font-size: 15px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { font-size: 13px; color: var(--muted); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading svg { animation: spin .9s linear infinite; }

.form-status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 15px; }
.form-status.is-success { display: block; background: #E3EFE6; color: #145A2C; border: 1px solid #B9D8C2; }
.form-status.is-error { display: block; background: #F7E4E2; color: #8A1C12; border: 1px solid #E8BDB8; }

.form-success { text-align: center; padding: 32px 8px; display: none; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; animation: pop .6s var(--ease); }
.form.is-sent > :not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(56px, 8vw, 96px) 0 32px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.footer__brand img { height: 26px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; }
.footer__col .footer__title { font-family: var(--font-mono); font-stretch: normal; font-weight: 500; font-size: 13px; letter-spacing: .04em; color: var(--on-dark); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__col a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; transition: color .2s; }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; }
.footer__big {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; letter-spacing: -0.05em;
  font-size: clamp(60px, 15vw, 220px); line-height: .8; color: #1C1D22; margin-top: 48px; white-space: nowrap; user-select: none;
}
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(1deg); } }
.page-hero__cube { --ty: -50%; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, -18px) rotate(12deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero__fade { opacity: 1; }
}
.tech p.tech__name { color: var(--on-dark); margin-top: 0; }
.stats--light .stat { border-color: var(--line); background: var(--surface); }
.stats--light .stat p { color: var(--muted); }
.hero__visual picture { display: block; width: 100%; height: 100%; }
.footer__title { line-height: 1.4; letter-spacing: .04em; }
