/* ==========================================================
   6K Studio – weboldal
   Fent: izometrikus 3D „6K negyed” (#scene), előtte görgetésre
   jönnek a gyártási lépések kártyái. Utána: fekete-fehér,
   Apple-szerű tartalom (rólunk, szolgáltatások, referenciák…).
   ========================================================== */

:root {
  /* makettfehér világ, fekete-fehér tipográfia, egyetlen kiemelés: REC-piros */
  --world: #e9e8e4;
  --black: #000;
  --ink: #1d1d1f;
  --white: #fff;
  --paper: #f5f5f7;
  --grey-2: #424245;
  --grey-3: #6e6e73;
  --grey-4: #86868b;
  --grey-5: #d2d2d7;
  --accent: #e5372c;
  --line: rgba(0, 0, 0, .08);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 56px;

  color-scheme: light;
}

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

html {
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  background: var(--world);
}
body {
  margin: 0;
  background: var(--world);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.is-loading body { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: 820px; }
.muted { color: var(--grey-3); }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s, border-color .3s;
}
.btn:hover { transform: scale(1.03); background: var(--black); }
.btn--small { padding: 6px 15px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(0, 0, 0, .16); }
.btn--ghost:hover { background: rgba(0, 0, 0, .05); }
.link-arrow { font-size: 15px; color: inherit; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- 3D jelenet ---------- */
.scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
main { position: relative; z-index: 2; }
.no-webgl .scene { display: none; }

/* ---------- Betöltő ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--world);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader__logo { width: min(150px, 40vw); filter: invert(1); opacity: .85; }
html:not(.is-loading) .loader { opacity: 0; visibility: hidden; pointer-events: none; }

/* LED timecode (piros pontmátrix, fekete ablakban) */
.led {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 7px 11px;
  background: #0d0d0d;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 2px 8px rgba(0, 0, 0, .6);
}
.led canvas { display: block; width: 138px; height: 25px; }
.led--big { padding: 18px 24px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 60px rgba(30, 28, 24, .18); }
.led--big canvas { width: min(330px, 70vw); height: auto; aspect-ratio: 11 / 2; }

/* ---------- Navigáció ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  color: var(--ink);
  background: rgba(250, 250, 248, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease), background .4s, color .4s, border-color .4s;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo img { height: 17px; width: auto; filter: invert(1); transition: filter .4s; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; }
.nav__links a { opacity: .72; transition: opacity .2s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}
.nav__toggle span { position: absolute; left: 11px; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav.is-open .nav__toggle span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* sötét szakaszok fölött sötét üveg */
.nav.is-dark { color: #f5f5f7; background: rgba(22, 22, 23, .72); border-bottom-color: rgba(255, 255, 255, .08); }
.nav.is-dark .nav__logo img { filter: none; }
.nav.is-dark .btn--small { background: var(--white); color: var(--black); border-color: var(--white); }

/* ---------- A 3D rész lépései ---------- */
.world { position: relative; }
.step {
  position: relative;
  height: calc(var(--len, 140) * 1vh);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
/* az utolsó kártya ne lógjon rá a tartalmi rész lekerekített tetejére */
.step:last-child { padding-bottom: 56px; }
.panel {
  position: sticky;
  top: max(calc(var(--nav-h) + 40px), 20vh);
  width: min(390px, 100%);
  margin-top: 20vh;
  padding: 28px 30px 30px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(30, 28, 24, .10), 0 2px 6px rgba(30, 28, 24, .05);
}
.js .panel { will-change: opacity, transform; }
.panel--hero { width: min(470px, 100%); padding: 34px 36px 36px; }
.panel__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.panel__eyebrow b {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  letter-spacing: .04em;
}
.rec {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  color: var(--accent);
}
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.panel__title {
  margin-top: 14px;
  font-size: clamp(26px, 2.3vw, 31px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.panel--hero .panel__title { font-size: clamp(36px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.panel__text { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--grey-2); }
.panel__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; }
.panel__tags li { padding: 4px 11px; border-radius: 999px; background: rgba(0, 0, 0, .05); font-size: 13px; color: var(--grey-2); }
.panel__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* lépésválasztó + timecode, alul középen */
.stepbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  max-width: calc(100% - 2 * var(--gutter));
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(30, 28, 24, .12), 0 1px 3px rgba(30, 28, 24, .06);
  transform: translate(-50%, calc(100% + 30px));
  transition: transform .6s var(--ease);
}
.stepbar.is-on { transform: translate(-50%, 0); }
.stepbar__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; min-width: 0; }
.stepbar__list a {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 39px;
  padding: 0 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-2);
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.stepbar__list a b { font-size: 11px; font-weight: 600; color: var(--grey-4); transition: color .3s; }
.stepbar__list a:hover { background: rgba(0, 0, 0, .05); }
.stepbar__list a.is-active { background: var(--ink); color: var(--white); }
.stepbar__list a.is-active b { color: #ff5a4c; }

/* ==========================================================
   Tartalom a 3D rész után: sötét, részecskés háttér
   (assets/js/particles.js), üvegkártyák, szavanként beúszó címek.
   A 3D negyed alá kerekített „lapként” csúszik be.
   ========================================================== */
.gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
  visibility: hidden;
}
.content {
  --c-line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .045);
  --glass-strong: rgba(18, 18, 20, .55);
  --c-grey-2: #3a3a3d;
  --c-grey-3: #7c7c82;
  --c-grey-4: #a1a1a6;
  --cyan: #3ad9e0;
  --orange: #ff7f27;
  --brand: linear-gradient(120deg, var(--cyan), var(--orange));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  z-index: 2;
  margin-top: -28px;
  border-radius: 28px 28px 0 0;
  background: #000;
  color: var(--white);
}
.has-particles .content { background: transparent; }
.content ::selection { background: var(--white); color: var(--black); }
.content .container { position: relative; max-width: 1200px; }
.content .container--narrow { max-width: 860px; }
.content .muted { color: var(--c-grey-3); }

.content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-grey-4);
  margin-bottom: 22px;
}
.content .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--brand); }
.content .display { font-size: clamp(44px, 7.6vw, 104px); line-height: 1.0; font-weight: 700; letter-spacing: -0.035em; }
.content .lead { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.32; font-weight: 500; letter-spacing: -0.01em; max-width: 34ch; margin-top: 40px; }
.content .body { font-size: clamp(17px, 1.4vw, 19px); color: var(--c-grey-4); max-width: 52ch; margin-top: 24px; }
.content .display, .content .statement__text, .content .lead { text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }

/* címsorok szavankénti beúszása (a JS bontja szavakra)
   Nincs vágómaszk: így a g, j, y szára és a betűk túllógó széle sem vágódik le. */
.split .w { display: inline-block; }
.split .w > span {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, .42em, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.split.is-visible .w > span { opacity: 1; filter: none; transform: none; }

/* görgetésre szavanként kivilágosodó bekezdés (.lit) */
.content .lit .sw { color: rgba(255, 255, 255, .2); transition: color .45s var(--ease); }
.content .lit .sw.is-lit { color: inherit; }
.content .lead.lit { color: var(--white); }

.content .btn {
  position: relative;
  padding: 16px 30px;
  border: 0;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-out), color .4s;
}
.content .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.content .btn:hover { background: var(--white); color: var(--black); transform: none; }
.content .btn:hover::before { transform: none; }
.content .link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.content .link-arrow::after { content: "→"; transition: transform .4s var(--ease-out); }
.content .link-arrow:hover { text-decoration: none; }
.content .link-arrow:hover::after { transform: translateX(5px); }
.content .link-arrow--up::after { content: "↑"; }
.content .link-arrow--up:hover::after { transform: translateY(-4px); }

/* görgetésjelző a jobb szélen (csak a tartalmi résznél) */
.progress {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 50;
  width: 1px;
  height: 120px;
  margin-top: -60px;
  background: #3a3a3d;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.progress.is-on { opacity: 1; }
.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #3ad9e0, #ff7f27);
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
}

.content .section { position: relative; padding-top: clamp(120px, 18vh, 220px); padding-bottom: clamp(120px, 18vh, 220px); }

/* rólunk */
.content .about { min-height: 100vh; display: flex; align-items: center; }
.content .about__text { max-width: 640px; }
.content .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--c-line); }
.content .stat { display: flex; flex-direction: column; gap: 8px; }
.content .stat__num { font-size: clamp(44px, 5.5vw, 76px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.content .stat__label { color: var(--c-grey-4); font-size: 14px; }

/* kiemelt mondat: görgetésre szavanként világosodik */
.content .statement { position: relative; height: 280vh; }
.content .statement__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.content .statement__sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 32% 50%, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
}
.content .statement__text { font-size: clamp(36px, 5.8vw, 84px); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; max-width: 20ch; }
.content .statement__text .sw { color: rgba(255, 255, 255, .16); transition: color .5s var(--ease); }
.content .statement__text .sw.is-lit { color: var(--white); }

/* üvegfelületek: „liquid glass” – erős elmosás és telítés, fényes perem,
   a kurzort követő csillanás (a --mx / --my-t a main.js állítja) */
.content .glass, .content .card {
  position: relative;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(26px) saturate(185%) brightness(1.06);
  -webkit-backdrop-filter: blur(26px) saturate(185%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    inset 0 -1px 0 rgba(255, 255, 255, .05),
    inset 0 0 22px rgba(255, 255, 255, .035),
    0 30px 80px rgba(0, 0, 0, .38);
}
/* fényes, a sarkokban erősödő perem */
.content .glass::before, .content .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .06) 28%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .08) 78%, rgba(255, 255, 255, .32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* csillanás a kurzor alatt */
.content .glass::after, .content .card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, -20%), rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 60%);
  opacity: .6;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.content .glass:hover::after, .content .card:hover::after { opacity: 1; }
.content .glass > *, .content .card > * { position: relative; z-index: 1; }

/* szolgáltatások: bento-elrendezés */
.content .cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 80px; }
.content .card { grid-column: span 3; border-radius: var(--radius); padding: 36px 34px 40px; min-height: 300px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .5s var(--ease), transform .6s var(--ease-out); }
.content .card--main { grid-column: span 4; min-height: 360px; }
.content .card--main + .card { grid-column: span 2; }
.content .card--wide { grid-column: span 4; }
.content .card:nth-child(3) { grid-column: span 2; }
.content .card:hover { border-color: rgba(255, 255, 255, .2); transform: translateY(-4px); }
.content .card__num { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-grey-3); margin-bottom: auto; }
.content .card h3 { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; margin: 64px 0 14px; }
.content .card--main h3 { font-size: clamp(34px, 3.6vw, 48px); }
.content .card p { color: var(--c-grey-4); max-width: 46ch; }
.content .card--main p { color: #d6d6db; font-size: 18px; }
.content .card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.content .card__tags li { padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #e8e8ed; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }

/* ---------- Referenciák: Galaxy S26 Ultra, TikTok-szerű feed ----------
   A .refs__stage magasságát és a telefon méretezését a refs.js állítja:
   először a kijelző kitölti a képernyőt, aztán „visszahúzódik” a
   telefonba, és onnan görgetésre lapozódnak a videók. */
.content .refs { position: relative; padding-top: clamp(120px, 18vh, 220px); padding-bottom: clamp(80px, 12vh, 160px); }
.content .refs__head { margin-bottom: clamp(40px, 8vh, 96px); }
.content .refs__head .lead { margin-top: 32px; }
.content .refs__stage { position: relative; }
.content .refs__anchor { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }

.content .refs__sticky {
  --ph: min(calc(100vh - var(--nav-h) - 130px), 740px);
  --pw: calc(var(--ph) / 2.07);
  --ui: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  padding: 0 max(var(--gutter), calc((100% - 1280px) / 2));
}
.js .content .refs__sticky { position: sticky; top: 0; height: 100vh; padding-top: calc(var(--nav-h) + 8px); overflow: hidden; }

/* nagy feliratok a teljes képernyős videón (Apple-szerűen) */
.content .refs__lines { display: none; }
.js .content .refs__lines {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25em;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .45);
}
.content .refs__lines p { opacity: 0; will-change: transform, opacity; }

/* bal oldal: leírás-dobozok */
.content .refs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.js .content .refs__list { position: relative; display: block; min-height: 340px; opacity: var(--ui); }
.content .ref { border-radius: 26px; padding: 30px 30px 32px; min-width: 0; }
/* a leírás-doboz sötétebb üveg, hogy a fényes részecskék előtt is olvasható maradjon */
.content .ref.glass { background-color: rgba(14, 14, 16, .62); }
.js .content .ref {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  opacity: 0;
  transform: translateY(calc(-50% + 22px));
  transition: opacity .55s var(--ease), transform .7s var(--ease-out);
  pointer-events: none;
}
.js .content .ref.is-on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.content .ref__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e8e8ed;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}
.content .ref__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.content .ref__title { margin-top: 18px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
.content .ref__client { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--c-grey-3); }
.content .ref__text { margin-top: 16px; color: #cfcfd4; font-size: 16px; line-height: 1.55; }

/* jobb oldal: tartalomjegyzék */
.content .refs__index { display: none; }
.js .content .refs__index { display: flex; flex-direction: column; gap: 4px; justify-self: end; min-width: 0; opacity: var(--ui); }
.content .refs__index button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
  border: 0;
  background: none;
  color: var(--c-grey-3);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color .35s;
}
.content .refs__index button b { font-size: 12px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.content .refs__index button i { width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease-out); }
.content .refs__index button:hover { color: var(--c-grey-4); }
.content .refs__index button.is-on { color: var(--white); }
.content .refs__index button.is-on i { width: 40px; background: var(--brand); }

/* ---- a telefon ---- */
.content .refs__device { display: none; }
.js .content .refs__device { display: block; position: relative; z-index: 5; }
.content .phone {
  position: relative;
  width: var(--pw);
  height: var(--ph);
  padding: calc(var(--pw) * .026);
  border-radius: calc(var(--pw) * .118);
  /* titán keret: csiszolt perem, sötét belső gyűrű */
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 3%, rgba(255, 255, 255, 0) 97%, rgba(255, 255, 255, .22)),
    linear-gradient(160deg, #8b8f97 0%, #3b3d42 14%, #1d1e21 48%, #303237 86%, #9a9ea6 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 0 0 calc(var(--pw) * .012) #08090a,
    0 18px 40px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(0, 0, 0, .9);
  transform-origin: 50% 50%;
  will-change: transform;
}
.content .phone__key { position: absolute; right: calc(var(--pw) * -.009); width: calc(var(--pw) * .011); border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #2c2e32, #7d8189); }
.content .phone__key--vol { top: 19%; height: 11%; }
.content .phone__key--pwr { top: 34%; height: 6.5%; }
.content .phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--pw) * .092);
  overflow: hidden;
  background: #000;
  isolation: isolate;
  font-size: calc(var(--pw) / 27);
  line-height: 1.3;
  -webkit-user-select: none;
  user-select: none;
}
.content .phone__cam {
  position: absolute;
  top: calc(var(--pw) * .032);
  left: 50%;
  z-index: 30;
  width: calc(var(--pw) * .036);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 38% 36%, #39476a 0, #10131c 34%, #020203 62%);
  box-shadow: 0 0 0 calc(var(--pw) * .004) #000;
  opacity: var(--ui);
}

/* videók */
.content .feed { position: absolute; inset: 0; touch-action: pan-y; }
.content .clip { position: absolute; inset: 0; overflow: hidden; background: #0b0b0c; transform: translate3d(0, calc(var(--y, 0) * 100%), 0); will-change: transform; }
/* a teljes videó látszik, a széle nem vágódik le: a TikTok alsó sávja fölé
   illesztve, mint a valódi appban; ami kimarad, fekete */
.content .clip video, .content .clip > img { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 3.35em); object-fit: contain; }
.content .clip--video { background: #000; }
/* a videó csak akkor úszik be a színátmenetes háttérre, amikor a telefon
   már teljesen látszik; utána a háttér is elhalványul */
.content .clip video { opacity: 0; transition: opacity .8s var(--ease); }
.content .refs__sticky.is-live .clip.has-frame video { opacity: 1; }
.content .refs__sticky.is-live .clip--video.has-frame .clip__ph { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease) .5s, visibility 0s 1.1s; }
.content .clip__bar { position: absolute; left: 0; right: 0; bottom: 3.35em; height: .16em; background: rgba(255, 255, 255, .22); z-index: 2; opacity: var(--ui); }
.content .clip__bar i { display: block; height: 100%; width: 100%; background: rgba(255, 255, 255, .85); transform-origin: left; transform: scaleX(var(--prog, 0)); }

/* helyőrző, amíg nincs feltöltve videó: mozgó fények + „hook” felirat */
.content .clip__ph { position: absolute; inset: 0; background: var(--g); }
.content .clip__ph::before, .content .clip__ph::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(closest-side, var(--l1), transparent 70%) 20% 25% / 70% 45% no-repeat,
              radial-gradient(closest-side, var(--l2), transparent 70%) 80% 70% / 80% 50% no-repeat;
  animation: drift 14s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.content .clip__ph::after { animation-duration: 19s; animation-direction: alternate-reverse; opacity: .7; filter: blur(10px); }
@keyframes drift { from { transform: translate3d(-6%, -4%, 0) rotate(-6deg) scale(1); } to { transform: translate3d(6%, 5%, 0) rotate(8deg) scale(1.15); } }
.content .clip__hook {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 30%;
  z-index: 1;
  font-size: 2.35em;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 .1em .6em rgba(0, 0, 0, .35);
}
.content .clip__kicker { display: block; margin-bottom: .7em; font-size: .3em; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.content .clip__hook, .content .clip__soon { opacity: var(--ui); }
.content .tt__sound-toggle[hidden] { display: none; }
.content .clip__soon { position: absolute; left: 50%; top: 66%; z-index: 1; transform: translateX(-50%); padding: .45em .9em; border-radius: 999px; font-size: .72em; font-weight: 600; white-space: nowrap; background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.content .clip[data-tone="1"] { --g: linear-gradient(170deg, #f6d2a8 0%, #e08a5a 38%, #7a3b4a 72%, #1f1424 100%); --l1: rgba(255, 236, 200, .9); --l2: rgba(255, 140, 90, .7); }
.content .clip[data-tone="2"] { --g: linear-gradient(170deg, #2b4a3c 0%, #1a2e26 40%, #5a3a1c 78%, #170f08 100%); --l1: rgba(255, 186, 90, .75); --l2: rgba(120, 200, 140, .45); }
.content .clip[data-tone="3"] { --g: linear-gradient(170deg, #0d2f3b 0%, #12505e 36%, #b4581f 80%, #2a1206 100%); --l1: rgba(58, 217, 224, .8); --l2: rgba(255, 127, 39, .75); }
.content .clip[data-tone="4"] { --g: linear-gradient(170deg, #1a0b2e 0%, #4b1670 40%, #a3205e 76%, #12040e 100%); --l1: rgba(255, 70, 160, .8); --l2: rgba(110, 90, 255, .75); }
.content .clip[data-tone="5"] { --g: linear-gradient(170deg, #1d2834 0%, #34495c 42%, #8b6a2a 82%, #15110a 100%); --l1: rgba(255, 196, 90, .7); --l2: rgba(150, 190, 230, .6); }

/* TikTok felület */
.content .tt { position: absolute; inset: 0; z-index: 10; color: #fff; pointer-events: none; opacity: var(--ui); }
.content .tt button { pointer-events: auto; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.content .tt svg { display: block; }
.content .tt__status { position: absolute; top: .55em; left: 1.5em; right: 1.4em; display: flex; justify-content: space-between; align-items: center; font-size: .82em; font-weight: 600; }
.content .tt__icons { display: flex; align-items: center; gap: .35em; }
.content .tt__icons i { display: block; height: .75em; background: #fff; }
.content .i-signal { width: .9em; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.content .i-wifi { width: .95em; clip-path: polygon(50% 100%, 0 25%, 15% 8%, 50% 0, 85% 8%, 100% 25%); }
.content .i-batt { width: 1.5em; height: .7em !important; border-radius: .18em; box-shadow: inset 0 0 0 .1em #fff; background: linear-gradient(90deg, #fff 70%, transparent 70%) !important; }
.content .tt__top { position: absolute; top: 2.35em; left: 0; right: 0; display: flex; justify-content: center; align-items: center; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.content .tt__live { position: absolute; left: 1em; font-size: .7em; font-weight: 800; padding: .15em .45em; border: .12em solid #fff; border-radius: .3em; }
.content .tt__tabs { display: flex; gap: 1.1em; font-size: 1.02em; }
.content .tt__tabs span { opacity: .66; padding-bottom: .25em; }
.content .tt__tabs .is-on { opacity: 1; box-shadow: inset 0 -.14em 0 #fff; }
.content .tt__search { position: absolute; right: 1em; width: 1.35em; height: 1.35em; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.content .tt__sound-toggle { position: absolute; top: 4.4em; right: .85em; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .35) !important; }
.content .tt__sound-toggle svg { width: 1.25em; height: 1.25em; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.content .tt__sound-toggle path:first-child { fill: #fff; }
.content .tt__sound-toggle .w { display: none; }
.content .tt__sound-toggle.is-on .w { display: block; }
.content .tt__sound-toggle.is-on .x { display: none; }

.content .tt__rail { position: absolute; right: .55em; bottom: 4.9em; display: flex; flex-direction: column; align-items: center; gap: .95em; }
.content .tt__avatar { position: relative; width: 2.9em; height: 2.9em; margin-bottom: .45em; border-radius: 50%; display: grid; place-items: center; background: #0b0b0c; box-shadow: 0 0 0 .1em #fff; }
.content .tt__avatar img { width: 52%; height: auto; }
.content .tt__avatar b { position: absolute; left: 50%; bottom: -.62em; width: 1.25em; height: 1.25em; margin-left: -.625em; border-radius: 50%; display: grid; place-items: center; background: #fe2c55; font-size: .9em; line-height: 1; }
.content .tt__act { display: flex; flex-direction: column; align-items: center; gap: .2em; font-size: .68em !important; font-weight: 600 !important; filter: drop-shadow(0 .08em .2em rgba(0, 0, 0, .45)); }
.content .tt__act svg { width: 3.35em; height: 3.35em; fill: #fff; transition: transform .25s var(--ease-out), fill .2s; }
.content .tt__act:active svg { transform: scale(.86); }
.content .tt__comment .dot { fill: rgba(20, 20, 22, .7); }
.content .tt__like[aria-pressed="true"] svg { fill: #fe2c55; animation: pop .45s var(--ease-out); }
.content .tt__save[aria-pressed="true"] svg { fill: #facd00; animation: pop .45s var(--ease-out); }
@keyframes pop { 0% { transform: scale(.6); } 55% { transform: scale(1.22); } 100% { transform: none; } }
.content .tt__disc { width: 2.75em; height: 2.75em; margin-top: .35em; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #3a3a3e 0 30%, #161618 31% 100%); box-shadow: 0 0 0 .35em rgba(30, 30, 32, .9); animation: spin 6s linear infinite; }
.content .tt__disc img { width: 42%; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.content .tt__meta { position: absolute; left: .9em; right: 4.4em; bottom: 4.55em; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.content .tt__handle { font-weight: 700; font-size: 1.02em; }
.content .tt__caption { margin-top: .3em; font-size: .9em; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.content .tt__caption b { font-weight: 700; }
.content .tt__music { margin-top: .45em; font-size: .82em; white-space: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.content .tt__music span { display: inline-block; animation: ticker 9s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.content .tt__nav { position: absolute; left: 0; right: 0; bottom: 0; height: 3.35em; padding-bottom: .2em; display: flex; justify-content: space-around; align-items: center; background: #000; font-size: 1em; }
.content .tt__nav span { display: flex; flex-direction: column; align-items: center; gap: .12em; font-size: .6em; font-weight: 600; color: rgba(255, 255, 255, .62); }
.content .tt__nav span.is-on { color: #fff; }
.content .tt__nav svg { width: 2.3em; height: 2.3em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.content .tt__nav .is-on svg { fill: #fff; stroke: #fff; }
.content .tt__plus b { display: grid; place-items: center; width: 4em; height: 2.6em; border-radius: .7em; background: #fff; color: #000; font-size: 1.15em; font-weight: 700; box-shadow: -.22em 0 0 #25f4ee, .22em 0 0 #fe2c55; }

.content .tt__burst { position: absolute; inset: 0; z-index: 12; pointer-events: none; overflow: hidden; }
.content .tt__burst i { position: absolute; width: 5.5em; height: 5.5em; margin: -2.75em 0 0 -2.75em; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fe2c55' d='M12 20.3 4.6 13a4.9 4.9 0 0 1 6.9-6.9l.5.5.5-.5a4.9 4.9 0 0 1 6.9 6.9z'/%3E%3C/svg%3E"); animation: burst .9s var(--ease-out) forwards; filter: drop-shadow(0 .2em .6em rgba(0, 0, 0, .3)); }
@keyframes burst { 0% { transform: scale(.3) rotate(var(--r, 0deg)); opacity: 0; } 18% { transform: scale(1.15) rotate(var(--r, 0deg)); opacity: 1; } 40% { transform: scale(1) rotate(var(--r, 0deg)); } 100% { transform: translateY(-3em) scale(1.3) rotate(var(--r, 0deg)); opacity: 0; } }

.content .tt__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  height: 46%;
  padding: 1em 1.1em 1.4em;
  border-radius: 1em 1em 0 0;
  background: #fff;
  color: #161823;
  pointer-events: auto;
  transform: translateY(102%);
  transition: transform .45s var(--ease-out);
}
.content .tt__sheet.is-open { transform: none; }
.content .tt__sheet-head { position: relative; text-align: center; font-size: .85em; padding-bottom: .9em; }
.content .tt__sheet-head button { position: absolute; right: 0; top: -.3em; width: 1.6em; height: 1.6em; font-size: 1.5em !important; line-height: 1; color: #161823 !important; }
.content .tt__sheet-body { display: flex; gap: .7em; font-size: .86em; line-height: 1.4; }
.content .tt__sheet-avatar { flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: #0b0b0c; }
.content .tt__sheet-avatar img { width: 52%; height: auto; }
.content .tt__sheet-name { font-size: .9em; font-weight: 700; color: rgba(22, 24, 35, .6); margin-bottom: .25em; }
.content .tt__sheet-name i { font-style: normal; color: #fe2c55; margin-left: .3em; }
.content .tt__sheet-cta { display: inline-block; margin-top: .9em; padding: .55em 1.1em; border-radius: .4em; background: #fe2c55; color: #fff; font-weight: 600; }

.content .tt__toast { position: absolute; left: 50%; top: 42%; z-index: 25; max-width: 80%; padding: .65em 1.1em; border-radius: .6em; background: rgba(0, 0, 0, .78); font-size: .85em; font-weight: 600; text-align: center; transform: translate(-50%, .6em); opacity: 0; transition: opacity .3s, transform .4s var(--ease-out); }
.content .tt__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.content .marquee { margin-top: clamp(60px, 10vh, 120px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.content .marquee__track { display: flex; width: max-content; gap: 96px; animation: marquee 34s linear infinite; }
.content .marquee__track span { font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); white-space: nowrap; }
.content .marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* vélemények */
.content .quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 80px; }
.content .quote { margin: 0; border-radius: var(--radius); padding: 40px 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.content .quote blockquote { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.content .quote figcaption { display: flex; flex-direction: column; font-size: 14px; }
.content .quote figcaption span { color: var(--c-grey-4); }

/* GYIK */
.content .faq { margin-top: 64px; }
.content .faq details { border-bottom: 1px solid var(--c-line); }
.content .faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color .3s;
}
.content .faq summary:hover { color: var(--c-grey-4); }
.content .faq summary::-webkit-details-marker { display: none; }
.content .faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 300;
  transition: transform .5s var(--ease-out), background .3s, color .3s;
}
.content .faq details[open] summary::after { transform: rotate(135deg); background: var(--white); color: var(--black); }
.content .faq details p { padding: 0 0 32px; color: var(--c-grey-4); max-width: 62ch; font-size: 18px; }

/* űrlapok */
.content .booking { margin-top: 64px; }
.content .booking iframe { width: 100%; min-height: 720px; border: 0; border-radius: var(--radius); background: var(--white); }
.content .form { display: flex; flex-direction: column; gap: 20px; }
.content .form.glass { border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); background: var(--glass-strong); color-scheme: dark; }
.content #bookingForm { max-width: 860px; }
.content .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.content .form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: var(--c-grey-4); min-width: 0; }
.content .form input, .content .form select, .content .form textarea {
  font: inherit;
  font-size: 17px;
  color: var(--white);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  min-width: 0;
  transition: border-color .3s, background .3s;
}
.content .form select option { color: #000; }
.content .form textarea { resize: vertical; }
.content .form input:focus, .content .form select:focus, .content .form textarea:focus { outline: none; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .07); }
.content .form .is-invalid { border-color: #ff453a; }
.content .form__choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.content .form__choice legend { font-size: 13px; font-weight: 500; color: var(--c-grey-4); margin-bottom: 10px; padding: 0; }
.content .form__choice label { flex-direction: row; align-items: center; gap: 8px; font-size: 16px; font-weight: 400; color: var(--white); cursor: pointer; }
.content .form__choice input { width: 18px; height: 18px; accent-color: var(--white); }
.content .form .btn { align-self: flex-start; margin-top: 4px; }
.content .form__note { font-size: 13px; color: var(--c-grey-3); }

/* időpontfoglalás + kapcsolat */
.content .anchor { position: absolute; top: 0; left: 0; }
.content .book__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; margin-top: 64px; }
.content .book__info .lead { margin-top: 0; }
.content .contact__list { list-style: none; padding: 0; margin: 48px 0 0; font-size: 19px; }
.content .contact__list li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-line); overflow-wrap: anywhere; }
.content .contact__list li > span:first-child { color: var(--c-grey-3); font-size: 14px; padding-top: 3px; }
.content .contact__list a { transition: color .3s; }
.content .contact__list a:hover { color: var(--c-grey-4); }
.content .booking { margin-top: 0; }
.content .form__choice--seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--c-line); align-self: flex-start; }
.content .form__choice--seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.content .form__choice--seg label { position: relative; padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--c-grey-4); transition: background .3s, color .3s; }
.content .form__choice--seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.content .form__choice--seg label:has(input:checked) { background: var(--white); color: var(--black); }
.content .form__choice--seg label:has(input:focus-visible) { outline: 2px solid var(--white); outline-offset: 2px; }
.content .form__slot { display: flex; flex-direction: column; gap: 20px; }
.content .form__slot[hidden] { display: none; }

/* zárókép */
.content .outro { position: relative; min-height: 120vh; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 0 var(--gutter) 18vh; }
.content .outro__content { display: flex; flex-direction: column; align-items: center; }
.content .outro .eyebrow { color: #f0f0f3; text-shadow: 0 1px 18px rgba(0, 0, 0, .9); }
.content .outro .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--brand); }
.content .outro .btn { margin-top: 44px; }

/* lábléc */
.footer { position: relative; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #7c7c82; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; }
.footer__logo { width: 96px; opacity: .85; }

/* menüből ugrás: rövid áttűnés */
.jumpfade { position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0; transition: opacity .28s ease; }
.jumpfade.is-on { opacity: 1; }

/* görgetésre megjelenés (JS nélkül minden látszik) */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.1s var(--ease), transform 1.3s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1100px) {
  .stepbar__list a span { display: none; }
  .stepbar__list a { padding: 0 12px; }
}

@media (max-width: 1080px) {
  .content .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content .card, .content .card--main + .card, .content .card:nth-child(3) { grid-column: span 1; }
  .content .card--main, .content .card--wide { grid-column: 1 / -1; }
  .content .refs__sticky { grid-template-columns: minmax(0, 1fr) auto; }
  .js .content .refs__index { display: none; }
  .content .book__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__inner { gap: 16px; }
  .nav__toggle { display: block; }
  .nav__inner > .btn--small { margin-left: auto; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    margin: 0;
    background: rgba(250, 250, 248, .97);
    color: var(--ink);
    font-size: 22px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-dark .nav__links { background: rgba(22, 22, 23, .97); color: #f5f5f7; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }

  /* kártyák a képernyő alján, a lépésválasztó fölött; a 3D fent marad szabadon */
  .step { display: flex; flex-direction: column; justify-content: flex-end; }
  .panel, .panel--hero { top: auto; bottom: 76px; margin: 0 0 76px; width: 100%; padding: 20px 20px 22px; border-radius: 20px; }
  .panel__title { margin-top: 10px; font-size: 23px; }
  .panel--hero .panel__title { font-size: 31px; }
  .panel__text { margin-top: 8px; font-size: 15px; }
  .panel__tags { display: none; }
  .panel__cta { margin-top: 16px; }

  .stepbar { bottom: 12px; gap: 5px; padding: 5px; border-radius: 16px; }
  .stepbar__list a { height: 34px; padding: 0 9px; border-radius: 11px; }
  .led { padding: 6px 8px; border-radius: 10px; }
  .led canvas { width: 104px; height: 19px; }

  .progress { display: none; }
  .content { margin-top: -20px; border-radius: 20px 20px 0 0; }
  .content .stats { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  /* referenciák: a telefon fent, alatta a leírás */
  .content .refs__sticky { --ph: min(calc(100vh - var(--nav-h) - 196px), 640px); grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; justify-items: center; gap: 14px; }
  .js .content .refs__sticky { padding-top: calc(var(--nav-h) + 10px); }
  .content .refs__device { grid-row: 1; }
  .content .refs__list { grid-row: 2; width: 100%; max-width: 460px; }
  .js .content .refs__list { min-height: 0; height: 100%; }
  .content .ref { padding: 16px 18px 18px; border-radius: 20px; }
  .js .content .ref { top: 0; transform: translateY(14px); }
  .js .content .ref.is-on { transform: none; }
  .content .ref__tag { font-size: 10px; padding: 4px 10px 4px 8px; }
  .content .ref__title { margin-top: 10px; font-size: 19px; }
  .content .ref__client { margin-top: 4px; font-size: 12px; }
  .content .ref__text { margin-top: 6px; font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .js .content .refs__lines { font-size: clamp(30px, 9vw, 44px); }
  /* telefonon nincs háttér-elmosás az üvegeken: a mozgó részecskék mögött
     minden képen újra kellene számolni, ez szaggatást okozna */
  .content .glass, .content .card, .content .form.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(24, 24, 27, .86); }
  .content .clip__soon { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, .45); }
  .content .about { padding-top: 46vh; }
  .content .contact__list { font-size: 16px; }
  .content .contact__list li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .content .form__row { grid-template-columns: 1fr; }
  .content .statement { height: 240vh; }
}

@media (max-width: 600px) {
  .content .cards, .content .quotes { grid-template-columns: 1fr; }
  .content .card, .content .card--main + .card, .content .card:nth-child(3) { grid-column: 1 / -1; }
  .content .form__choice--seg label { padding: 8px 14px; font-size: 14px; }
  .content .card { min-height: 0; }
  .content .card h3 { margin-top: 40px; }
  .nav .btn--small { display: none; }
  .nav__toggle { margin-left: auto; }
  .footer__inner { flex-direction: column; text-align: center; }
  .stepbar__list a { padding: 0 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .split .w > span { opacity: 1; transform: none; filter: none; }
  .content .lit .sw { color: inherit; }
  .content .statement { height: auto; }
  .content .statement__sticky { position: static; height: auto; padding: 160px 0; }
  .content .statement__text .sw { color: var(--white); }
}
