/* Tengely – főoldal: 3D vászon, görgetéssel vezérelt szakaszok, szolgáltatások */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 1; visibility: hidden; pointer-events: none; touch-action: pan-y; }
body.explode-on #stage { pointer-events: auto; cursor: grab; }
body.explode-on #stage:active { cursor: grabbing; }
.story, .explode { position: relative; z-index: 2; pointer-events: none; }
.story { height: 100vh; height: 100svh; min-height: 560px; }
.explode { height: 460vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100dvh; display: grid; align-items: center; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); overflow: hidden; }
.pin > * { pointer-events: none; }
.beat { grid-area: 1 / 1; justify-self: start; max-width: min(540px, 100%); opacity: 0; will-change: opacity, transform; }
.beat.hero { opacity: 1; }
.beat.r { justify-self: end; text-align: right; }
.beat.c { justify-self: center; text-align: center; }
.beat > * { pointer-events: auto; }
.beat.glassy { background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-m); }
.beat h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 16px; }
.beat p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink2); }
.beat.hero h1 { margin-bottom: 20px; }
.beat.hero .plate-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 26px 0 14px; }
.beat.hero .hint { font-size: .86rem; color: var(--mut); }
.beat.hero .hint button { all: unset; cursor: pointer; color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.glass { background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--r-l); padding: clamp(20px, 3vw, 34px); box-shadow: var(--sh-m); }
.scrollhint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font: 500 .8rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); transition: opacity .3s; }
.scrollhint i { width: 22px; height: 36px; border: 2px solid var(--mut); border-radius: 14px; position: relative; display: block; }
.scrollhint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--mut); border-radius: 3px; animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.progress { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 4px; height: 160px; background: rgba(14, 22, 33, .1); border-radius: 4px; overflow: hidden; }
.progress b { display: block; width: 100%; height: 0; background: var(--acc); border-radius: 4px; }

/* 3D címkék */
.tag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .35s; z-index: 3; will-change: transform; }
.tag > div { transform: translate(18px, -50%); display: flex; align-items: center; gap: 0; }
.tag::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 5px rgba(255, 90, 31, .25); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .45); } 70% { box-shadow: 0 0 0 12px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }
.tag .lbl { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--sh-m); max-width: 250px; backdrop-filter: blur(8px); }
.tag .lbl b { display: block; font: 600 .95rem/1.2 var(--font-h); margin-bottom: 3px; }
.tag .lbl span { display: block; font-size: .8rem; line-height: 1.4; color: var(--mut); }
.tag .lbl em { display: inline-block; margin-top: 7px; font: 600 .76rem/1 var(--font); font-style: normal; color: var(--acc2); background: var(--acc-soft); border-radius: 999px; padding: 5px 9px; }
.tag.mini .lbl { padding: 6px 10px; border-radius: 10px; }
.tag.mini .lbl b { font-size: .8rem; margin: 0; white-space: nowrap; }
.tag.mini .lbl span, .tag.mini .lbl em { display: none; }
.tag.mini { cursor: pointer; }
.tag.mini.on .lbl { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(255, 90, 31, .2), var(--sh-m); }

/* szétszedhető szakasz */
.explode .intro { grid-area: 1 / 1; align-self: start; justify-self: start; margin-top: 110px; max-width: 460px; transition: opacity .4s; pointer-events: none; }
.explode .intro > * { pointer-events: auto; }
.explode .intro h2 { margin-bottom: 14px; }
.explode .ctrl { position: absolute; left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); bottom: 28px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; pointer-events: auto; }
.explode .hintline { font-size: .86rem; color: var(--mut); background: rgba(255, 255, 255, .8); border-radius: 999px; padding: 8px 14px; border: 1px solid var(--line); }
.infocard { position: absolute; right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); top: 50%; width: min(340px, calc(100vw - 2 * var(--gut))); transform: translateY(-50%) translateX(24px); opacity: 0; pointer-events: none; transition: .4s var(--ease); }
.infocard.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.infocard h3 { margin-bottom: 8px; }
.infocard p { font-size: .95rem; color: var(--ink2); }
.infocard .rel { margin: 14px 0 16px; padding: 12px 14px; background: var(--bg2); border-radius: 12px; font-size: .88rem; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.infocard .rel b { font-family: var(--font-h); }
.infocard .x { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg2); cursor: pointer; font-size: 1.1rem; line-height: 1; }

@media (max-width: 860px) {
  .pin { align-items: end; padding-bottom: 11vh; }
  .beat, .beat.r, .beat.c { justify-self: stretch; text-align: left; max-width: none; }
  .beat.glassy { background: rgba(255, 255, 255, .86); border-radius: 20px; padding: 18px; backdrop-filter: blur(10px); }
  .beat.hero { padding: 0; }
  .progress { display: none; }
  .tag .lbl { max-width: 190px; padding: 8px 10px; } .tag .lbl span { display: none; }
  .explode .intro { margin-top: 84px; max-width: none; }
  .infocard { top: auto; bottom: 74px; right: var(--gut); left: var(--gut); width: auto; transform: translateY(24px); }
  .infocard.on { transform: none; }
  .explode .pin { align-items: start; }
  .explode .ctrl { bottom: 14px; }
}

/* szolgáltatások */
.grid { display: grid; gap: 18px; }
.svc-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh-m); border-color: #cdd6e2; }
.svc .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.12rem; }
.svc p { margin: 0; font-size: .92rem; color: var(--mut); flex: 1; }
.svc .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .9rem; }
.svc .price { font: 600 1.05rem/1 var(--font-h); }
.svc .price small { font: 400 .78rem/1 var(--font); color: var(--mut); display: block; margin-bottom: 4px; }
.svc.picked { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(10, 92, 255, .15), var(--sh-s); }

/* lépések */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 1.1rem/1 var(--font-h); }
.step h3 { margin: 10px 0 8px; }
.step p { margin: 0; color: var(--mut); font-size: .96rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* követés bemutató */
.track-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .track-demo { grid-template-columns: 1fr; } }
.phone { width: min(320px, 100%); margin-inline: auto; border-radius: 40px; background: #0e1621; padding: 12px; box-shadow: var(--sh-m), 0 40px 80px rgba(14, 22, 33, .18); }
.phone .scr { background: #fff; border-radius: 30px; padding: 22px 18px 20px; min-height: 520px; }
.phone .scr h4 { font-size: 1rem; margin-bottom: 4px; }
.phone .scr .sub { font-size: .78rem; color: var(--mut); margin-bottom: 18px; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl li { position: relative; padding: 0 0 20px 34px; font-size: .9rem; }
.tl li::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: -2px; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li i { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; }
.tl li.done i { background: var(--ok); border-color: var(--ok); }
.tl li.done i::after { content: ""; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.tl li.cur i { border-color: var(--acc); box-shadow: 0 0 0 5px rgba(10, 92, 255, .18); background: var(--acc); }
.tl li b { display: block; font-weight: 600; }
.tl li small { color: var(--mut); }
.tl li.done::before { background: var(--ok); }
.approve { margin-top: 6px; border-radius: 14px; background: var(--hot-soft); padding: 12px; font-size: .84rem; }
.approve .row { display: flex; gap: 8px; margin-top: 10px; }
.approve .row span { flex: 1; text-align: center; padding: 9px; border-radius: 10px; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.approve .row span.y { background: var(--ok); color: #fff; border-color: var(--ok); }

/* gumihotel + vélemények + GYIK */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shelf .slot { aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font: 600 .8rem/1 var(--font-h); color: var(--mut); position: relative; }
.shelf .slot.t::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; border: 10px solid #2a313b; box-shadow: inset 0 0 0 5px #c5ccd6; }
.shelf .slot.t span { position: absolute; bottom: 6px; left: 8px; z-index: 1; font-size: .7rem; }
.shelf .slot.mine { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(10, 92, 255, .15); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { padding: 26px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); }
.quote p { font-size: 1.02rem; color: var(--ink2); }
.quote .who { display: flex; gap: 12px; align-items: center; font-size: .88rem; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--acc-soft); color: var(--acc2); display: grid; place-items: center; font-weight: 700; }
.stars { color: #f2a900; letter-spacing: 2px; margin-bottom: 10px; }
details.q { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.q summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 1.08rem/1.3 var(--font-h); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-size: 1.5rem; color: var(--acc); transition: transform .25s var(--ease); }
details.q[open] summary::after { transform: rotate(45deg); }
details.q p { color: var(--mut); padding-bottom: 18px; margin: 0; max-width: 70ch; }
.cta-band { background: linear-gradient(135deg, #0a5cff 0%, #0847c7 100%); color: #fff; border-radius: var(--r-l); padding: clamp(32px, 6vw, 64px); display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.cta-band h2 { max-width: 20ch; }
.cta-band .btn { background: #fff; color: var(--acc2); border-color: #fff; box-shadow: none; }
.cta-band .btn:hover { background: #eaf1ff; }
