/* ==========================================================================
   SKALA DIGITAL — fő stíluslap
   1. Változók és alapok   2. Komponensek   3. Szekciók   4. Mozgás
   ========================================================================== */

/* ---------- 1. Változók ---------- */
:root {
  color-scheme: light;

  --paper: #F2EFE8;
  --paper-2: #E9E5DC;
  --paper-3: #DCD7CB;
  --white: #FBFAF7;
  --ink: #0F0F0D;
  --ink-2: #2B2B27;
  --muted: #6B6A63;
  --line: rgba(15, 15, 13, .12);
  --line-strong: rgba(15, 15, 13, .24);

  --accent: #F04A14;
  --accent-ink: #B33208;
  --accent-soft: rgba(240, 74, 20, .14);

  --dark: #0F0F0D;
  --dark-2: #181815;
  --dark-3: #22221E;
  --on-dark: #F2EFE8;
  --on-dark-muted: #A3A196;
  --line-dark: rgba(242, 239, 232, .13);

  --success: #12B76A;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --radius: 20px;
  --radius-lg: clamp(24px, 3vw, 40px);
  --section-y: clamp(96px, 11vw, 168px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
html.menu-open { overflow: hidden; }

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* finom papír-textúra */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection { background: var(--accent); color: var(--ink); }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  transform: translateY(-180%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* vonalzó (skála) minta */
.ticks {
  background:
    linear-gradient(90deg, currentColor 1px, transparent 0) 0 100% / 80px 100% repeat-x,
    linear-gradient(90deg, currentColor 1px, transparent 0) 0 100% / 40px 60% repeat-x,
    linear-gradient(90deg, currentColor 1px, transparent 0) 0 100% / 8px 32% repeat-x;
}

/* ---------- 2. Komponensek ---------- */

/* Szekció címke */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.eyebrow span { color: var(--ink); }
[data-theme="dark"] .eyebrow { color: var(--on-dark-muted); }
[data-theme="dark"] .eyebrow span { color: var(--on-dark); }

.section { position: relative; padding-block: var(--section-y); }
[data-theme="dark"] { background: var(--dark); color: var(--on-dark); }

.section-head {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head > div { display: grid; gap: 24px; align-content: start; }
.section-title {
  font-size: clamp(2.4rem, 1rem + 4.4vw, 5.25rem);
  line-height: .98;
  letter-spacing: -0.045em;
  max-width: 15ch;
}
.section-title em, .contact-title em { color: var(--accent); font-size: 1.04em; letter-spacing: -0.02em; }
.section-lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
}
[data-theme="dark"] .section-lead { color: var(--on-dark-muted); }

@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 64px; }
  .section-head--split .section-lead { justify-self: end; }
}

/* Gombok */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-fill: var(--accent);
  --btn-fill-fg: var(--ink);
  --btn-icon-bg: var(--paper);
  --btn-icon-fg: var(--ink);

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 8px 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease-out), transform .6s var(--ease-out), box-shadow .5s var(--ease-out);
}
.btn-fill {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--btn-fill);
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  transform: translateY(102%);
  transition: transform .7s var(--ease-out), border-radius .7s var(--ease-out);
}
.btn:hover .btn-fill, .btn:focus-visible .btn-fill { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }

.btn-label { position: relative; display: grid; overflow: hidden; line-height: 1.3; }
.btn-label > span { grid-area: 1 / 1; transition: transform .6s var(--ease-out); }
.btn-label > span + span { transform: translateY(110%); }
.btn:hover .btn-label > span:first-child, .btn:focus-visible .btn-label > span:first-child { transform: translateY(-110%); }
.btn:hover .btn-label > span + span, .btn:focus-visible .btn-label > span + span { transform: translateY(0); }

.btn-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--btn-icon-bg);
  color: var(--btn-icon-fg);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
.btn-icon svg { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.btn:hover .btn-icon svg, .btn:focus-visible .btn-icon svg { transform: rotate(45deg); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-fill: var(--ink);
  --btn-fill-fg: var(--paper);
  padding: 0 26px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
[data-theme="dark"] .btn--ghost, .plan--featured .btn--ghost {
  --btn-fg: var(--on-dark);
  --btn-fill: var(--on-dark);
  --btn-fill-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  --btn-fill: var(--on-dark);
  --btn-fill-fg: var(--ink);
  --btn-icon-bg: var(--ink);
  --btn-icon-fg: var(--on-dark);
}
.btn--light {
  --btn-bg: var(--on-dark);
  --btn-fg: var(--ink);
  --btn-fill: var(--accent);
  --btn-fill-fg: var(--ink);
  --btn-icon-bg: var(--ink);
  --btn-icon-fg: var(--on-dark);
}
.btn--sm { height: 46px; padding: 0 6px 0 20px; gap: 10px; font-size: .9375rem; }
.btn--sm.btn--ghost { padding: 0 20px; }
.btn--sm .btn-icon { width: 34px; height: 34px; }
.btn--sm .btn-icon svg { width: 15px; height: 15px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.is-loading .btn-icon svg { animation: spin .9s linear infinite; }

[data-magnetic] { will-change: transform; }

/* ---------- Betöltő (intro) ---------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px var(--gutter);
  background: var(--dark);
  color: var(--on-dark);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
}
.no-intro .loader, .no-anim .loader { display: none; }
.js .loader.is-done { clip-path: inset(0 0 100% 0); }
.loader-top, .loader-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.loader-center {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: .01em;
  font-size: clamp(4rem, 16vw, 11rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: .9;
  overflow: hidden;
  padding-bottom: .06em;
}
.loader-center > * {
  display: inline-block;
  transform: translateY(115%);
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.loader-mark { width: .62em; height: .62em; margin: 0 0 .1em .08em; fill: var(--accent); }
.loader-bottom { display: grid; gap: 14px; }
.loader-ruler { position: relative; height: 26px; color: rgba(242, 239, 232, .25); }
.loader-ruler .ticks { position: absolute; inset: 0; }
.loader-fill { color: var(--accent); clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.loader-count {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: .9;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}

/* ---------- Scroll-állapot sáv ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Fejléc ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  transition: transform .6s var(--ease-out), color .4s;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(242, 239, 232, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .4s, background-color .4s, box-shadow .4s;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header--dark { color: var(--on-dark); }
.header--dark::before { background: rgba(15, 15, 13, .72); box-shadow: 0 1px 0 var(--line-dark); }
.menu-open .header { color: var(--on-dark); transform: none; }
.menu-open .header::before { opacity: 0; }

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1875rem;
  letter-spacing: -0.035em;
  line-height: 1;
}
.logo-mark { width: 30px; height: 30px; transition: transform .6s var(--ease-back); }
.logo-mark rect { fill: currentColor; }
.logo-mark path { fill: var(--accent); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-word { font-weight: 400; }
.logo-word b { font-weight: 650; }

.nav ul { display: flex; gap: 2px; }
.nav a {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: .9375rem;
  font-weight: 450;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .02em;
  padding: 8px 2px;
  opacity: .75;
  transition: opacity .3s;
}
.header-phone:hover { opacity: 1; }
.header--dark .btn--primary, .menu-open .header .btn--primary {
  --btn-bg: var(--on-dark);
  --btn-fg: var(--ink);
  --btn-icon-bg: var(--ink);
  --btn-icon-fg: var(--on-dark);
}

.menu-toggle {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: background-color .4s, color .4s;
}
.menu-toggle span {
  position: absolute;
  left: 15px; right: 15px; top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
  transition: transform .5s var(--ease-out);
}
.menu-toggle span:first-child { transform: translateY(-3.5px); }
.menu-toggle span:last-child { transform: translateY(3.5px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
.header--dark .menu-toggle, .menu-open .menu-toggle { background: var(--on-dark); color: var(--ink); }

@media (max-width: 1199px) { .header-phone { display: none; } }
@media (max-width: 1023px) { .nav { display: none; } }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
@media (max-width: 400px) { .header-actions .btn { display: none; } }

/* Mobil menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--dark);
  color: var(--on-dark);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2rem, 9vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
  transition-delay: calc(.18s + var(--i, 0) * .055s);
}
.mobile-menu-links a small {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--on-dark-muted);
}
.mobile-menu-links a:hover { color: var(--accent); }
.mobile-menu.is-open .mobile-menu-links a { opacity: 1; transform: none; }
.mobile-menu-foot {
  display: grid;
  gap: 18px;
  opacity: 0;
  transition: opacity .6s var(--ease-out) .5s;
}
.mobile-menu.is-open .mobile-menu-foot { opacity: 1; }
.mobile-menu-contact { display: grid; gap: 4px; font-family: var(--font-mono); font-size: .9375rem; color: var(--on-dark-muted); }
.mobile-menu-contact a:hover { color: var(--on-dark); }

/* ---------- 3. Szekciók ---------- */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 72px));
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 38%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 55% 38%, #000 15%, transparent 72%);
  opacity: .6;
}
.hero-glow {
  position: absolute;
  left: 72%; top: 34%;
  width: 900px; height: 900px;
  margin: -450px 0 0 -450px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 74, 20, .17), rgba(240, 74, 20, 0));
  transition: transform 1.4s var(--ease-out);
  will-change: transform;
}

.hero-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
  padding-bottom: clamp(40px, 6vh, 64px);
}
@media (min-width: 1100px) {
  .hero-main { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 4vw, 72px); }
}
.hero-copy { max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3.5vh, 34px);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(251, 250, 247, .6);
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .875rem;
  font-weight: 500;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 2.2s var(--ease-out) infinite;
}

.hero-title {
  font-size: clamp(2.6rem, 12.4vw, 4.6rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -0.052em;
}
@media (min-width: 768px) { .hero-title { font-size: clamp(3.75rem, 8.8vw, 6.75rem); } }
@media (min-width: 1100px) { .hero-title { font-size: clamp(4.25rem, calc(1rem + min(6.1vw, 11.5vh)), 8.75rem); } }
.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0 .12em .14em 0;
  margin-bottom: -.14em;
}
.hero-title .line-inner { display: block; }
.hero-title em { color: var(--accent); font-size: 1.05em; letter-spacing: -0.025em; }

.rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  padding: 0 .1em .16em 0;
  margin-bottom: -.16em;
}
.rotator-word {
  grid-area: 1 / 1;
  transform: translateY(150%);
  transition: transform .85s var(--ease-out);
}
.rotator-word.is-active { transform: none; }
.rotator-word.is-leaving { transform: translateY(-150%); }
.rotator-word:not(.is-active):not(.is-leaving) { transition: none; }

.hero-lead {
  margin-top: clamp(22px, 3.6vh, 34px);
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 4.6vh, 42px);
}
@media (max-width: 560px) {
  .hero-ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero-ctas .btn--ghost { justify-content: center; }
}

/* Hero vizuál — "épülő" weboldal */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  justify-self: center;
  perspective: 1600px;
}
@media (max-width: 1099px) { .hero-visual { max-width: 560px; } }

.build {
  --rx: 4deg;
  --ry: -9deg;
  position: relative;
  container-type: inline-size;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 15, 13, .08),
    0 2px 4px rgba(15, 15, 13, .04),
    0 50px 90px -40px rgba(15, 15, 13, .45);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 1.2s var(--ease-out);
}
@media (max-width: 1099px) { .build { --rx: 2deg; --ry: -3deg; } }

.build-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 14px;
  background: #F7F6F2;
  border-bottom: 1px solid rgba(15, 15, 13, .07);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF6159; }
.dots i:nth-child(2) { background: #FFBD2E; }
.dots i:nth-child(3) { background: #28C941; }
.build-url {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 260px;
  height: 26px;
  margin: 0 auto;
  padding: 0 10px;
  border-radius: 8px;
  background: #ECEBE6;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.build-url svg { width: 11px; height: 11px; flex-shrink: 0; color: var(--success); }

.build-screen {
  --b-acc: #F04A14;
  --b-soft: #FCE6DC;
  --b-ink: #0F0F0D;
  --b-mute: #E7E5DF;
  --b-card: #F5F4F0;
  --b-line: rgba(15, 15, 13, .26);
  display: grid;
  gap: 1.5em;
  padding: 1.5em 1.7em 1.7em;
  font-size: 2.5cqw;
}
.build[data-palette="2"] .build-screen { --b-acc: #2F5BFF; --b-soft: #E1E7FF; }
.build[data-palette="3"] .build-screen { --b-acc: #0E9F6E; --b-soft: #D8F2E7; }

.bs {
  display: block;
  border-radius: .4em;
  background-color: transparent;
  outline: 1px dashed var(--b-line);
  outline-offset: -1px;
  transition: background-color .8s var(--ease-out), outline-color .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.is-built .bs { outline-color: transparent; }
.bs-nav { display: flex; align-items: center; gap: 1em; }
.bs-logo { width: 4.6em; height: 1.1em; }
.is-built .bs-logo { background-color: var(--b-ink); }
.bs-links { display: flex; gap: .9em; margin-left: auto; }
.bs-links .bs { width: 2.6em; height: .55em; }
.is-built .bs-links .bs { background-color: var(--b-mute); }
.bs-btn { width: 5.2em; height: 1.7em; border-radius: 99em; }
.is-built .bs-btn { background-color: var(--b-acc); }
.bs-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4em; align-items: center; }
.bs-copy { display: grid; gap: .7em; }
.bs-h1 { height: 1.6em; width: 96%; }
.bs-h1--2 { width: 72%; }
.is-built .bs-h1 { background-color: var(--b-ink); }
.bs-p { height: .55em; width: 92%; }
.bs-p--2 { width: 68%; }
.is-built .bs-p { background-color: var(--b-mute); }
.bs-cta { display: flex; gap: .6em; margin-top: .6em; }
.bs-cta .bs { width: 6.2em; height: 1.9em; border-radius: 99em; }
.bs-cta .bs + .bs { width: 5em; }
.is-built .bs-cta .bs { background-color: var(--b-acc); }
.is-built .bs-cta .bs + .bs { background-color: var(--b-mute); }
.bs-media { position: relative; aspect-ratio: 1 / .92; border-radius: .9em; overflow: hidden; }
.is-built .bs-media { background-color: var(--b-soft); }
.bs-sun, .bs-hill {
  position: absolute;
  display: block;
  opacity: 0;
  transform: translateY(24%) scale(.9);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), background-color .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.bs-sun { width: 28%; aspect-ratio: 1; right: 16%; top: 16%; border-radius: 50%; background-color: var(--b-acc); }
.bs-hill { width: 130%; aspect-ratio: 2 / 1; border-radius: 50%; background-color: var(--b-acc); }
.bs-hill--1 { left: -55%; bottom: -40%; }
.bs-hill--2 { right: -70%; bottom: -55%; }
.is-built .bs-sun { opacity: 1; transform: none; }
.is-built .bs-hill--1 { opacity: .45; transform: none; }
.is-built .bs-hill--2 { opacity: .8; transform: none; }
.bs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9em; }
.bs-card { height: 5.6em; padding: .8em; display: grid; align-content: end; gap: .45em; }
.is-built .bs-card { background-color: var(--b-card); }
.bs-card i {
  display: block;
  width: 80%; height: .5em;
  border-radius: .3em;
  transition: background-color .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + 200ms);
}
.bs-card i:first-child { width: 1.6em; height: 1.6em; border-radius: .5em; margin-bottom: .35em; }
.is-built .bs-card i { background-color: var(--b-mute); }
.is-built .bs-card i:first-child { background-color: var(--b-acc); }

/* lebegő címkék */
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(251, 250, 247, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(15, 15, 13, .06), 0 22px 40px -20px rgba(15, 15, 13, .4);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px) scale(.94);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-back);
}
.hero-visual.is-built .chip { opacity: 1; transform: none; animation: bob 6s ease-in-out infinite; }
.chip svg { width: 16px; height: 16px; flex-shrink: 0; }
.chip--score { left: -34px; bottom: 16%; padding: 10px 16px 10px 10px; transition-delay: .5s; animation-delay: .2s !important; }
.chip--seo { right: -24px; top: 22%; transition-delay: .75s; animation-delay: 1.4s !important; }
.chip--mobile { right: 10%; bottom: -16px; transition-delay: 1s; animation-delay: 2.4s !important; }
.chip--ssl { left: 12%; top: -14px; transition-delay: 1.2s; animation-delay: 3.2s !important; }
.chip--mobile svg, .chip--ssl svg { color: var(--success); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.chip b { font-weight: 650; }
.chip-score { display: grid; }
.chip-score b { font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1; color: #0B7A47; font-variant-numeric: tabular-nums; }
.chip-score small { font-size: .6875rem; color: var(--muted); font-weight: 500; }
.gauge { width: 40px; height: 40px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 3.4; }
.gauge-bg { stroke: #DDF3E7; }
.gauge-fg {
  stroke: var(--success);
  stroke-linecap: round;
  stroke-dasharray: 97.4;
  stroke-dashoffset: 97.4;
  transition: stroke-dashoffset 1.8s var(--ease-out) .6s;
}
.hero-visual.is-built .gauge-fg { stroke-dashoffset: 0; }
@media (max-width: 640px) {
  .chip--score { left: -6px; }
  .chip--seo { right: -6px; }
  .chip--ssl { display: none; }
}

/* hero lábléc: vonalzó + tények */
.hero-foot { position: relative; z-index: 1; padding-bottom: 28px; }
.ruler {
  height: 26px;
  margin-bottom: 20px;
  overflow: hidden;
  color: rgba(15, 15, 13, .34);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ruler-track { width: 300%; height: 100%; will-change: transform; }
.hero-foot-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-meta {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
}
.hero-meta li { display: grid; gap: 4px; align-content: start; }
.hero-meta strong {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.hero-meta strong small { font-size: .55em; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 2px; }
.hero-meta span { font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.scroll-cue span {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  transition: background-color .4s, color .4s;
}
.scroll-cue svg { width: 16px; height: 16px; animation: nudge 2.4s var(--ease-in-out) infinite; }
.scroll-cue:hover span { background: var(--ink); color: var(--paper); }
@media (max-width: 767px) {
  .scroll-cue { display: none; }
  .hero-meta { gap: 12px; }
  .hero-meta span { font-size: .75rem; }
}

/* SZALAG (marquee) */
.tape {
  position: relative;
  padding-block: clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.tape-band {
  position: relative;
  width: 110%;
  margin-left: -5%;
  padding-block: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
}
.tape-band--a { z-index: 2; background: var(--accent); color: var(--ink); transform: rotate(-2.2deg); }
.tape-band--b { background: var(--ink); color: var(--paper); transform: rotate(1.8deg); margin-top: calc(-1 * clamp(44px, 4.8vw, 70px)); }
.tape-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.tape-track--rev { animation-direction: reverse; animation-duration: 46s; }
.tape-group { display: flex; align-items: center; flex-shrink: 0; }
.tape-group span {
  padding-inline: clamp(18px, 2vw, 34px);
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  white-space: nowrap;
}
.tape-group em { font-size: 1.1em; }
.tape-group svg { width: clamp(16px, 1.8vw, 26px); height: auto; flex-shrink: 0; }

/* RÓLUNK / manifesztó */
.intro-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 3fr 9fr; gap: 48px; } }
.intro-aside { display: grid; gap: 20px; align-content: start; }
.intro-aside p { color: var(--muted); font-size: .9375rem; max-width: 30ch; }
.intro-text {
  font-size: clamp(1.75rem, .9rem + 3.3vw, 4.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.038em;
  max-width: 22em;
}
.intro-text em { color: var(--accent); font-size: 1.06em; letter-spacing: -0.02em; }
.js .intro-text .w { opacity: .14; transition: opacity .55s var(--ease-out); }
.js .intro-text .w.is-on { opacity: 1; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(72px, 10vw, 136px);
  border-top: 1px solid var(--line-strong);
}
.stat { display: grid; gap: 12px; align-content: start; padding: 28px 20px 28px 0; }
.stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 32px 28px 0; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 0; }
}
.stat-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(3rem, 1.6rem + 3.6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: .36em; font-weight: 500; letter-spacing: -0.02em; color: var(--accent-ink); }
.stat p { max-width: 24ch; font-size: .9375rem; line-height: 1.5; color: var(--muted); }

/* SZOLGÁLTATÁSOK */
.services-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.services-grid > li { display: flex; }
.service {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, .5);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: translate .7s var(--ease-out), background-color .5s, box-shadow .5s;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 74, 20, .13), transparent 45%);
  opacity: 0;
  transition: opacity .5s;
}
.service:hover {
  translate: 0 -4px;
  background: rgba(251, 250, 247, .85);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 34px 60px -44px rgba(15, 15, 13, .45);
}
.service:hover::before { opacity: 1; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.service-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
  transition: background-color .5s, color .5s, transform .7s var(--ease-back);
}
.service:hover .service-icon { background: var(--accent); color: var(--ink); transform: rotate(-8deg) scale(1.05); }
.service-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--muted); }
.service h3 { margin-top: 56px; font-size: clamp(1.4rem, 1rem + .9vw, 1.8rem); letter-spacing: -0.035em; }
.service p { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.service-tags li {
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* KONCEPCIÓK (sötét, vízszintes galéria) */
.concepts {
  position: relative;
  margin-inline: clamp(0px, 1vw, 12px);
  border-radius: var(--radius-lg);
}
.concepts-pin { padding-block: var(--section-y); }
.concepts-head { display: grid; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.concepts-head > div { display: grid; gap: 22px; align-content: start; }
.concepts-title {
  font-size: clamp(2.4rem, 1rem + 4.2vw, 5rem);
  line-height: .98;
  letter-spacing: -0.045em;
  max-width: 16ch;
}
.concepts-title em { color: var(--accent); font-size: 1.04em; letter-spacing: -0.02em; }
.concepts-aside { display: grid; gap: 22px; align-content: end; }
.concepts-aside p { color: var(--on-dark-muted); max-width: 44ch; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.55; }
.concepts-count { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .06em; color: var(--on-dark-muted); }
.concepts-count b { color: var(--on-dark); font-weight: 500; }
@media (min-width: 1024px) {
  .concepts-head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; }
}

.concepts-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.concepts-viewport::-webkit-scrollbar { display: none; }
.concepts-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  padding-inline: var(--gutter);
}
.concept { flex: 0 0 auto; width: min(84vw, 620px); scroll-snap-align: center; }
.concept-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 18px;
}
.concept-meta h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); letter-spacing: -0.025em; }
.concept-meta p { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--on-dark-muted); }
.concept-tag {
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.concepts-progress {
  height: 2px;
  margin-top: clamp(28px, 4vh, 44px);
  border-radius: 2px;
  background: var(--line-dark);
  overflow: hidden;
}
.concepts-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}

/* asztalin, ha nincs rögzített görgetés (pl. csökkentett mozgás): rács elrendezés */
@media (min-width: 1024px) {
  .concepts:not(.is-pinned) .concepts-viewport { overflow: visible; scroll-snap-type: none; }
  .concepts:not(.is-pinned) .concepts-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
    width: auto;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
  }
  .concepts:not(.is-pinned) .concept { width: auto; }
  .concepts:not(.is-pinned) .concepts-progress, .concepts:not(.is-pinned) .concepts-count { display: none; }
}

/* rögzített (pinned) mód asztali nézetben */
.concepts.is-pinned .concepts-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding-block: clamp(84px, 11vh, 120px) clamp(28px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.concepts.is-pinned .concepts-head { margin-bottom: clamp(22px, 4vh, 44px); }
.concepts.is-pinned .concepts-title { font-size: clamp(2.4rem, calc(1rem + min(3.6vw, 6.4vh)), 4.75rem); max-width: 18ch; }
.concepts.is-pinned .concepts-viewport { overflow: visible; scroll-snap-type: none; }
.concepts.is-pinned .concepts-track { will-change: transform; }
.concepts.is-pinned .concept { width: clamp(440px, calc((100svh - 330px) * 1.6), 62vw); }

/* böngészőablak-makettek */
.mock {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  container-type: inline-size;
  border-radius: clamp(10px, 1.2vw, 16px);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .7);
  transition: transform .9s var(--ease-out);
  user-select: none;
}
.concept:hover .mock { transform: translateY(-6px); }
.mock > * { font-size: 1.25cqw; }
.m-bar {
  display: flex;
  align-items: center;
  gap: .7em;
  height: 3em;
  padding: 0 1.4em;
}
.m-bar i { width: .8em; height: .8em; border-radius: 50%; background: currentColor; opacity: .5; }
.m-bar > span {
  margin: 0 auto;
  padding: .3em 1.8em;
  border-radius: .5em;
  background: rgba(127, 127, 127, .14);
  font-family: var(--font-mono);
  font-size: .85em;
  letter-spacing: .02em;
}
.m-site {
  position: relative;
  height: calc(100% - 3em);
  display: flex;
  flex-direction: column;
  padding: 2.4em 3.4em 2.6em;
  line-height: 1.3;
}
.m-nav { display: flex; align-items: center; gap: 2.4em; font-size: 1.05em; }
.m-nav > span:not(.m-btn):not(.m-cart) { opacity: .72; }
.m-logo { margin-right: auto; }
.m-btn {
  display: inline-flex;
  align-items: center;
  padding: .85em 1.6em;
  border-radius: 99em;
  font-weight: 600;
  white-space: nowrap;
}
.m-hero { flex: 1; display: grid; align-items: center; gap: 3em; }
.m-copy { display: grid; gap: 1.1em; justify-items: start; }
.m-kicker { font-size: .95em; }
.m-title { display: block; }
.m-title i { font-family: var(--font-serif); font-weight: 400; }
.m-text { display: block; font-size: 1.2em; line-height: 1.5; max-width: 30em; }
.m-actions { display: flex; align-items: center; gap: 1.8em; margin-top: .6em; font-size: 1.05em; }
.m-link { font-weight: 600; }

/* 1 — Bisztró */
.mock--bistro { background: #14211B; color: #EFE6D2; }
.mock--bistro .m-bar { background: #0E1813; color: rgba(239, 230, 210, .55); }
.mock--bistro .m-logo { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 2.3em; letter-spacing: -.01em; }
.mock--bistro .m-btn { background: #D4A85A; color: #14211B; }
.mock--bistro .m-hero { grid-template-columns: 1.15fr .85fr; }
.mock--bistro .m-kicker { font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #D4A85A; }
.mock--bistro .m-title { font-family: var(--font-serif); font-size: 5.8em; line-height: .95; letter-spacing: -.015em; font-weight: 400; }
.mock--bistro .m-title i { color: #D4A85A; }
.mock--bistro .m-text { opacity: .72; }
.mock--bistro .m-link { color: #D4A85A; }
.m-plate {
  position: relative;
  justify-self: center;
  width: 25em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #F4ECDC 0 47%, #E3D6BC 48% 50%, #F4ECDC 51% 100%);
  box-shadow: 0 3em 5em -1em rgba(0, 0, 0, .55), inset 0 -1em 2em rgba(0, 0, 0, .1);
}
.m-plate::before {
  content: "";
  position: absolute;
  inset: 27%;
  border-radius: 46% 54% 50% 50%;
  background:
    radial-gradient(circle at 34% 40%, #8E1D3A 0 21%, transparent 22%),
    radial-gradient(circle at 63% 57%, #B5432A 0 19%, transparent 20%),
    radial-gradient(circle at 46% 72%, #6E8B3D 0 11%, transparent 12%),
    radial-gradient(circle at 62% 30%, #7FA04A 0 9%, transparent 10%),
    radial-gradient(circle at 30% 66%, #F3D9A4 0 8%, transparent 9%),
    radial-gradient(circle, #E9C98C 0 62%, transparent 63%);
}
.m-plate::after {
  content: "";
  position: absolute;
  right: -3.4em; top: 2.6em;
  width: 1.4em; height: 15em;
  border-radius: 1em;
  background: linear-gradient(#D7D9D3, #A1A69D);
  transform: rotate(16deg);
  box-shadow: 0 1em 2em rgba(0, 0, 0, .4);
}
.m-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4em;
  padding-top: 1.6em;
  border-top: 1px solid rgba(239, 230, 210, .16);
  font-size: 1.1em;
}
.m-menu > span { display: flex; justify-content: space-between; gap: 1em; }
.m-menu b { color: #D4A85A; font-weight: 600; white-space: nowrap; }

/* 2 — Pizzéria */
.mock--pizza { background: #F6EFE3; color: #2A1A12; }
.mock--pizza .m-bar { background: #EADFCD; color: rgba(42, 26, 18, .45); }
.mock--pizza .m-logo { display: flex; align-items: center; gap: .5em; font-weight: 800; font-size: 1.55em; letter-spacing: .06em; text-transform: uppercase; }
.mock--pizza .m-logo i { width: 1.1em; height: 1.1em; border-radius: 50%; background: #C8361E; box-shadow: inset 0 0 0 .22em #F6EFE3, 0 0 0 .1em #C8361E; }
.mock--pizza .m-btn { background: #C8361E; color: #FFF6EA; }
.mock--pizza .m-hero { grid-template-columns: 1.1fr .9fr; }
.mock--pizza .m-kicker { font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #3F6B35; }
.mock--pizza .m-title { font-size: 5.2em; font-weight: 800; line-height: .95; letter-spacing: -.05em; }
.mock--pizza .m-title i { color: #C8361E; font-size: 1.08em; letter-spacing: -.02em; }
.mock--pizza .m-text { color: #6B5446; }
.mock--pizza .m-link { color: #C8361E; }
.m-pizza-wrap { position: relative; justify-self: center; }
.m-pizza {
  display: block;
  width: 23em;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle 1.3em at 31% 36%, #3F6B35 96%, #0000),
    radial-gradient(circle 1.1em at 67% 63%, #4E7F42 96%, #0000),
    radial-gradient(circle 1em at 55% 76%, #3F6B35 96%, #0000),
    radial-gradient(circle 2.3em at 58% 30%, #F8F1DE 96%, #0000),
    radial-gradient(circle 2.6em at 36% 63%, #F8F1DE 96%, #0000),
    radial-gradient(circle 2em at 72% 45%, #F8F1DE 96%, #0000),
    radial-gradient(circle 1.8em at 46% 47%, #F8F1DE 96%, #0000),
    radial-gradient(circle 1.5em at 25% 50%, #9E2A16 96%, #0000),
    radial-gradient(circle 1.4em at 62% 55%, #9E2A16 96%, #0000),
    radial-gradient(circle 1.3em at 44% 24%, #9E2A16 96%, #0000),
    radial-gradient(circle closest-side, #C8361E 0 77%, #E9B068 79% 90%, #C98B45 92% 100%);
  box-shadow: 0 2.6em 4em -1.2em rgba(42, 26, 18, .45);
  transform: rotate(-10deg);
}
.mock--pizza .m-badge {
  position: absolute;
  right: -1em; top: 1.2em;
  padding: .6em 1.1em;
  border-radius: 99em;
  background: #2A1A12;
  color: #FFF6EA;
  font-weight: 600;
  font-size: 1.05em;
  white-space: nowrap;
  box-shadow: 0 1em 2em -1em rgba(42, 26, 18, .5);
}
.m-dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; font-size: 1.1em; }
.m-dishes span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  padding: 1em 1.3em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(42, 26, 18, .08);
  color: #C8361E;
  font-weight: 600;
  white-space: nowrap;
}
.m-dishes b { color: #2A1A12; font-weight: 600; }

/* 3 — Koktélbár */
.mock--bar { background: radial-gradient(ellipse at 75% 45%, #2C1752 0%, #120E24 62%); color: #F3EEFF; }
.mock--bar .m-bar { background: #0C0919; color: rgba(243, 238, 255, .4); }
.mock--bar .m-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.5em;
  color: #FF7BC0;
  text-shadow: 0 0 .3em rgba(255, 79, 163, .9), 0 0 1em rgba(255, 79, 163, .6);
}
.mock--bar .m-btn { background: transparent; color: #FF7BC0; box-shadow: inset 0 0 0 .12em #FF4FA3, 0 0 1em rgba(255, 79, 163, .45); }
.mock--bar .m-hero { grid-template-columns: 1.15fr .85fr; }
.mock--bar .m-kicker { font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #4FD8FF; }
.mock--bar .m-title { font-size: 5.6em; font-weight: 700; line-height: .95; letter-spacing: -.05em; }
.mock--bar .m-title i { color: #FF7BC0; font-size: 1.08em; letter-spacing: -.01em; text-shadow: 0 0 .25em rgba(255, 79, 163, .8), 0 0 .8em rgba(255, 79, 163, .5); }
.mock--bar .m-text { color: rgba(243, 238, 255, .7); }
.mock--bar .m-actions .m-btn { background: #FF4FA3; color: #120E24; box-shadow: 0 0 1.4em rgba(255, 79, 163, .55); }
.mock--bar .m-link { color: #4FD8FF; }
.m-neon {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 21em;
  aspect-ratio: 1;
  border-radius: 50%;
  border: .35em solid #4FD8FF;
  box-shadow: 0 0 1.4em #4FD8FF, inset 0 0 1.4em rgba(79, 216, 255, .7);
}
.m-glass { position: relative; display: block; width: 11em; height: 14em; margin-top: 1.5em; }
.m-glass::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 52%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0 22%, #FF4FA3 22% 70%, #FF8A5B 100%);
}
.m-glass::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: .45em; height: 40%;
  margin-left: -.225em;
  background: rgba(243, 238, 255, .8);
}
.m-glass .m-base { position: absolute; left: 25%; bottom: 6%; width: 50%; height: .55em; border-radius: 50%; background: rgba(243, 238, 255, .8); }
.m-glass .m-cherry { position: absolute; right: 22%; top: 2%; width: 1.7em; height: 1.7em; border-radius: 50%; background: #E01E5A; box-shadow: 0 0 1em rgba(224, 30, 90, .7); }
.m-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; font-size: 1.1em; }
.m-events span {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1em 1.3em;
  border-radius: 1em;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(243, 238, 255, .1);
}
.m-events b { font-family: var(--font-mono); font-weight: 500; color: #FF7BC0; letter-spacing: .08em; }

/* 4 — Cég (könyvelőiroda) */
.mock--corp { background: #F4F6FA; color: #14213D; }
.mock--corp .m-bar { background: #E7EBF2; color: rgba(20, 33, 61, .45); }
.mock--corp .m-logo { display: flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.5em; letter-spacing: -.03em; }
.mock--corp .m-logo i { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: .35em; background: #14213D; color: #FCA311; font-style: normal; font-size: .9em; }
.mock--corp .m-btn { background: #14213D; color: #fff; }
.mock--corp .m-hero { grid-template-columns: 1.1fr .9fr; }
.mock--corp .m-kicker { padding: .5em 1.1em; border-radius: 99em; background: #E2E8F3; color: #33415C; font-weight: 600; }
.mock--corp .m-title { font-size: 4.8em; font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.mock--corp .m-title i { color: #E08E00; font-size: 1.08em; letter-spacing: -.02em; }
.mock--corp .m-text { color: #5B6478; }
.mock--corp .m-actions .m-btn { background: #FCA311; color: #14213D; }
.mock--corp .m-link { color: #14213D; }
.m-dash {
  display: grid;
  gap: 1.4em;
  align-self: center;
  padding: 1.8em;
  border-radius: 1.6em;
  background: #fff;
  box-shadow: 0 1.6em 3em -1.4em rgba(20, 33, 61, .3);
}
.m-dash-head { display: flex; justify-content: space-between; align-items: center; font-size: 1.1em; }
.m-dash-head i { padding: .3em .7em; border-radius: 99em; background: #E3F6EA; color: #12A150; font-style: normal; font-weight: 700; }
.m-chart { display: flex; align-items: flex-end; gap: .9em; height: 13em; border-bottom: 1px solid #E2E8F3; }
.m-chart i { flex: 1; height: var(--h); border-radius: .5em .5em 0 0; background: #DDE4F0; }
.m-chart i:nth-last-child(2) { background: #14213D; }
.m-chart i:last-child { background: #FCA311; }
.m-stats { display: flex; gap: 4em; padding-top: 1.6em; border-top: 1px solid #E2E8F3; font-size: 1.1em; color: #5B6478; }
.m-stats span { display: flex; align-items: baseline; gap: .6em; }
.m-stats b { font-size: 2em; font-weight: 700; letter-spacing: -.04em; color: #14213D; }

/* 5 — CTA kártya */
.mock--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7%;
  background: var(--accent);
  color: var(--ink);
  box-shadow: none;
}
/* a betűméret a kártya szélességéhez igazodik (cqw), így minden méretben arányos marad */
.m-cta-label { font-family: var(--font-mono); font-size: 1.5cqw; letter-spacing: .1em; text-transform: uppercase; }
.m-cta-title { font-size: 10.5cqw; font-weight: 600; line-height: .94; letter-spacing: -.055em; }
.m-cta-title i { font-family: var(--font-serif); font-weight: 400; font-size: 1.05em; letter-spacing: -.02em; }
.m-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  align-self: flex-start;
  padding: 1.1em 1.4em 1.1em 2em;
  border-radius: 99em;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 2cqw;
  font-weight: 500;
  transition: gap .5s var(--ease-out);
}
.m-cta-btn svg { width: 1.2em; height: 1.2em; transition: transform .6s var(--ease-out); }
.mock--cta:hover .m-cta-btn { gap: 1.4em; }
.mock--cta:hover .m-cta-btn svg { transform: rotate(45deg); }

/* FOLYAMAT */
.process-wrap { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .process-wrap { grid-template-columns: 5fr 7fr; gap: 88px; }
  .process-head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}
.process-head { display: grid; gap: 26px; align-content: start; }
.process-head .btn { justify-self: start; margin-top: 8px; }
.steps { position: relative; padding-left: 64px; }
.steps-line {
  position: absolute;
  left: 17px; top: 10px; bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.steps-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding-bottom: clamp(56px, 8vw, 104px); }
.step:last-child { padding-bottom: 0; }
.js .step { opacity: .4; transition: opacity .6s var(--ease-out); }
.js .step.is-active { opacity: 1; }
.step-dot {
  position: absolute;
  left: -64px; top: 0;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  transition: background-color .5s, box-shadow .5s, transform .6s var(--ease-back);
}
.step.is-active .step-dot { background: var(--accent); box-shadow: none; transform: scale(1.08); }
.step h3 { font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); letter-spacing: -0.04em; }
.step p { margin-top: 14px; max-width: 46ch; font-size: 1.0625rem; color: var(--muted); }
.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.step-chip svg { width: 14px; height: 14px; }

/* MIÉRT MI — összehasonlítás */
.compare { display: grid; gap: 16px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-card { position: relative; padding: clamp(28px, 3.6vw, 52px); border-radius: var(--radius-lg); overflow: hidden; }
.compare-card--old { background: var(--paper-2); }
.compare-card--new { background: var(--dark); color: var(--on-dark); }
.compare-card--new::after {
  content: "";
  position: absolute;
  right: -30%; top: -40%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 74, 20, .22), transparent);
  pointer-events: none;
}
.compare-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(1.5rem, 1rem + 1.3vw, 2.125rem);
  letter-spacing: -0.035em;
}
.compare-card h3 small {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--muted);
}
.compare-card--new h3 small { background: var(--accent); color: var(--ink); box-shadow: none; }
.compare-list { position: relative; z-index: 1; display: grid; margin-top: 28px; }
.compare-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.compare-card--new .compare-list li { border-color: var(--line-dark); }
.compare-list small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-card--new .compare-list small { color: var(--on-dark-muted); }
.compare-list p { font-size: 1.0625rem; line-height: 1.45; }
.compare-card--old .compare-list p { color: var(--ink-2); }
.ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.ico svg { width: 15px; height: 15px; }
.compare-card--old .ico { background: rgba(15, 15, 13, .08); color: var(--muted); }
.compare-card--new .ico { background: var(--accent); color: var(--ink); }

/* CSOMAGOK */
.pricing-head { justify-items: center; text-align: center; }
.pricing-head .section-title { max-width: 18ch; }
.pricing-head .section-lead { margin-inline: auto; }
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plans > li { display: flex; }
.plan {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: rgba(251, 250, 247, .55);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan--featured { background: var(--dark); color: var(--on-dark); box-shadow: 0 50px 90px -50px rgba(15, 15, 13, .6); }
.plan-badge {
  position: absolute;
  top: clamp(24px, 2.6vw, 34px); right: clamp(24px, 2.6vw, 34px);
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.plan-name { font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.plan-desc { margin-top: 14px; min-height: 3.2em; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.plan--featured .plan-desc, .plan--featured .price-per, .plan--featured .price-note { color: var(--on-dark-muted); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 30px; line-height: 1; }
.price-num {
  font-size: clamp(2.9rem, 1.9rem + 2.5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-cur { font-size: clamp(1.25rem, 1rem + .6vw, 1.625rem); font-weight: 500; letter-spacing: -0.02em; color: var(--muted); }
.plan--featured .price-cur { color: var(--on-dark-muted); }
.price-note { display: block; min-height: 1.5em; margin-top: 12px; font-size: .875rem; color: var(--muted); }
.plan .btn { margin-top: 28px; }
.plan-features {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.plan--featured .plan-features { border-color: var(--line-dark); }
.plan-features li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .9875rem; line-height: 1.45; }
.plan-features svg { width: 20px; height: 20px; margin-top: 1px; color: var(--accent-ink); }
.plan--featured .plan-features svg { color: var(--accent); }
.plans-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 44px;
  font-size: .9375rem;
  color: var(--ink-2);
}
.plans-foot li { display: inline-flex; align-items: center; gap: 8px; }
.plans-foot svg { width: 18px; height: 18px; color: var(--accent-ink); }
.plans-note { margin-top: 18px; text-align: center; font-size: .8125rem; color: var(--muted); }

/* "Régi weboldalad van?" kiemelés */
.plans-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 12px 24px 12px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.45;
}
.plans-callout strong { color: var(--ink); font-weight: 600; }
.plans-callout-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}
.plans-callout-icon svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .plans-callout { border-radius: 22px; padding-right: 18px; } }

/* GYIK */
.faq-wrap { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .faq-wrap { grid-template-columns: 5fr 7fr; gap: 88px; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}
.faq-head { display: grid; gap: 26px; align-content: start; }
.faq-head a { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color .3s; }
.faq-head a:hover { border-color: var(--ink); }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .4s, color .4s, box-shadow .4s, transform .6s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  margin: -.75px 0 0 -7px;
  background: currentColor;
  transition: transform .5s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { box-shadow: inset 0 0 0 1px var(--ink); }
.faq-item[open]:not(.is-closing) .faq-icon { background: var(--ink); color: var(--paper); box-shadow: none; transform: rotate(180deg); }
.faq-item[open]:not(.is-closing) .faq-icon::after { transform: rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p { max-width: 60ch; padding: 0 64px 28px 0; color: var(--muted); font-size: 1.0625rem; }
@media (max-width: 640px) { .faq-body p { padding-right: 0; } }

/* KAPCSOLAT */
.contact {
  margin-inline: clamp(0px, 1vw, 12px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding-top: var(--section-y);
}
.contact-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line-dark);
}
.contact-top > div { display: grid; gap: 28px; }
.contact-title { font-size: clamp(3.2rem, 1rem + 8.4vw, 9.5rem); line-height: .9; letter-spacing: -0.058em; }
.circle-cta {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(148px, 14vw, 200px);
  aspect-ratio: 1;
  transition: transform .7s var(--ease-out);
}
.circle-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.circle-text text { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--on-dark); }
.circle-core {
  display: grid;
  place-items: center;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  transition: transform .7s var(--ease-back), background-color .4s;
}
.circle-core svg { width: 34%; height: 34%; transition: transform .6s var(--ease-out); }
.circle-cta:hover .circle-core { transform: scale(1.14); background: var(--on-dark); }
.circle-cta:hover .circle-core svg { transform: rotate(45deg); }

.contact-grid { display: grid; gap: 56px; padding-block: clamp(48px, 6vw, 96px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 88px; } }
.contact-info { display: grid; gap: 36px; align-content: start; }
.contact-intro { max-width: 38ch; color: var(--on-dark-muted); font-size: 1.0625rem; }
.contact-list { display: grid; gap: 28px; }
.contact-item > small {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.contact-link {
  padding-bottom: 3px;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .7s var(--ease-out), color .3s;
  overflow-wrap: anywhere;
}
.contact-link:hover { background-size: 100% 1px; color: var(--accent); }
.contact-plain { font-size: 1.125rem; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 6px 11px;
  vertical-align: middle;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: var(--on-dark-muted);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .3s, box-shadow .3s;
}
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn:hover { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--on-dark-muted); }

/* Űrlap */
.form-panel {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.form-panel h3 { font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); letter-spacing: -0.035em; margin-bottom: 24px; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 26px 18px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 1rem;
  outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.5; }
.field label {
  position: absolute;
  left: 19px; top: 18px;
  color: var(--on-dark-muted);
  font-size: 1rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease-out), color .35s;
}
.field input:hover, .field textarea:hover { border-color: rgba(242, 239, 232, .24); }
.field input:focus, .field textarea:focus {
  border-color: var(--accent);
  background: var(--dark-3);
  box-shadow: 0 0 0 4px rgba(240, 74, 20, .16);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.76);
  color: var(--on-dark);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF6B5B; }
.field-error { display: block; margin-top: 6px; font-size: .8125rem; color: #FF8F82; }
.field-error:empty { display: none; }

.chips { margin: 6px 0 2px; padding: 0; border: 0; min-width: 0; }
.chips legend { margin-bottom: 10px; padding: 0; font-size: .875rem; color: var(--on-dark-muted); }
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-opt span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: .9375rem;
  cursor: pointer;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.chip-opt:hover span { box-shadow: inset 0 0 0 1px var(--on-dark-muted); }
.chip-opt input:checked + span { background: var(--on-dark); color: var(--ink); box-shadow: none; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; }
.form-note { max-width: 38ch; font-size: .8125rem; line-height: 1.5; color: var(--on-dark-muted); }

.form-success { display: grid; gap: 16px; justify-items: start; padding: 12px 0; outline: none; }
.form-success h3 { margin: 8px 0 0; }
.form-success p { max-width: 44ch; color: var(--on-dark-muted); }
.form-success a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.success-icon svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success-icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .9s var(--ease-out) forwards; }
.success-icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease-out) .5s forwards; }

/* LÁBLÉC */
.footer { margin-inline: clamp(0px, 1vw, 12px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { max-width: 32ch; margin-top: 18px; color: var(--on-dark-muted); font-size: .9375rem; }
.footer-h {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.footer-links { display: grid; gap: 9px; font-size: .9875rem; }
.footer-links a { position: relative; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-time { font-family: var(--font-mono); font-size: .9375rem; }
.footer-time b { font-weight: 500; font-variant-numeric: tabular-nums; }

.footer-word {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: clamp(56px, 9vw, 128px);
  padding: .05em 0 .03em;
  overflow: hidden;
  font-size: clamp(5rem, 29vw, 27rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: .8;
  color: var(--on-dark);
  user-select: none;
}
.footer-word span { display: inline-block; }
.js .footer-word > * { transform: translateY(105%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .footer-word.is-in > * { transform: none; }
.footer-word svg { width: .5em; height: .5em; margin: 0 0 .09em .1em; fill: var(--accent); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--on-dark-muted);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.to-top svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.to-top:hover { color: var(--on-dark); }
.to-top:hover svg { transform: translateY(-3px); }

/* Értesítés + egyedi kurzor */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  z-index: 120;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .9375rem;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translate(-50%, calc(100% + 48px));
  visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s linear .6s;
  pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }

.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 250;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .3s;
}
.cursor.is-visible { opacity: 1; }
.cursor span {
  display: block;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor.is-hover span { transform: scale(1.9); background: #fff; border-color: transparent; }
.cursor.is-down span { transform: scale(.75); }

/* 404 / köszönő oldal */
.simple-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
  text-align: center;
}
.simple-page .inner { display: grid; gap: 24px; justify-items: center; max-width: 720px; }
.simple-page .big { font-size: clamp(6rem, 26vw, 16rem); font-weight: 600; letter-spacing: -0.07em; line-height: .85; }
.simple-page .big em { color: var(--accent); }
.simple-page h1 { font-size: clamp(2rem, 1rem + 3vw, 3.5rem); letter-spacing: -0.045em; }
.simple-page p { color: var(--muted); max-width: 44ch; font-size: 1.125rem; }
.simple-page .ruler { width: min(520px, 80vw); margin: 0; }
.simple-page .ruler .ticks { height: 100%; }

/* ---------- 4. Mozgás ---------- */

/* hero belépő animáció */
.js .hero-title .line-inner { transform: translateY(108%); }
.js [data-hero] { opacity: 0; transform: translateY(26px); }
.js.is-loaded .hero-title .line-inner {
  transform: none;
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js.is-loaded [data-hero] {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

/* görgetésre megjelenő elemek */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="word"] { opacity: 1; transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* biztonsági tartalék: ha a JS nem fut le, minden látszódjon */
.no-anim [data-hero], .no-anim [data-reveal], .no-anim .hero-title .line-inner,
.no-anim .footer-word > *, .no-anim .intro-text .w, .no-anim .step {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes rise { to { transform: none; } }
@keyframes pulse { from { transform: scale(1); opacity: .65; } to { transform: scale(3.4); opacity: 0; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Csökkentett mozgás (a látogató rendszerbeállítása alapján):
   nagy mozgások helyett csak finom áttűnések. Teszteléshez: ?motion=on */
.reduce-motion { scroll-behavior: auto; }
.reduce-motion [data-hero], .reduce-motion [data-reveal], .reduce-motion .chip { transform: none !important; }
.js.reduce-motion .hero-title .line-inner { transform: none; opacity: 0; }
.js.reduce-motion.is-loaded .hero-title .line-inner { opacity: 1; transition: opacity 1.1s var(--ease-out) calc(var(--i, 0) * 120ms); }
.js.reduce-motion .footer-word > * { transform: none; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.js.reduce-motion .footer-word.is-in > * { opacity: 1; }
.reduce-motion .mobile-menu { clip-path: none; opacity: 0; transition: opacity .35s ease; }
.reduce-motion .mobile-menu.is-open { opacity: 1; }
.reduce-motion .mobile-menu-links a { transform: none; }
.reduce-motion .tape-track, .reduce-motion .circle-text, .reduce-motion .scroll-cue svg,
.reduce-motion .pulse::after, .reduce-motion .hero-visual.is-built .chip { animation: none !important; }
.reduce-motion .cursor { display: none; }

@media print {
  .header, .loader, .cursor, .progress, .toast, .tape, .hero-visual, body::after { display: none !important; }
  [data-theme="dark"] { background: #fff; color: #000; }
}
