/*
 * Level Up Digital: a régi főoldal mozgó elemei, az új dizájnnyelvre hangolva.
 * Betöltő függöny, videós hero, szalagok, körszöveges jelvény, futó csík, projektlista, számlálók, helyzetek.
 */

/* ---------- Betöltő (a régi template dupla függönye és pulzáló pöttye) ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.preloader::before, .preloader::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform-origin: top center; }
.preloader::after { background: #000; }
.preloader.closed::before { animation: lud-curtain .6s forwards cubic-bezier(.3, 0, .3, 1) .3s; }
.preloader.closed::after { animation: lud-curtain .6s forwards cubic-bezier(.3, 0, .3, 1); }
.preloader.loaded { visibility: hidden; }
.preloader__spinner { position: relative; z-index: 2; width: 50px; height: 50px; transition: opacity .3s; }
.preloader.closed .preloader__spinner { opacity: 0; }
.preloader__dot { position: absolute; inset: 0; border-radius: 50%; background: var(--pink); opacity: .9; animation: lud-bounce 2s infinite ease-in-out; }
.preloader__dot--late { animation-delay: -1s; opacity: .5; }
@keyframes lud-curtain { 0%, 50% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes lud-bounce { 0%, 100% { transform: scale(0); } 50% { transform: scale(1); } }
.no-js .preloader { display: none; }

/* ---------- Videós hero ---------- */
.vhero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; background: #000; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 0; }
.vhero-media { position: absolute; inset: 0; z-index: -2; }
.vhero-media video, .vhero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.vhero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .18) 30%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .88) 100%);
}
.vhero .container { position: relative; width: 100%; }
.vhero-media video { animation: vh-zoom 16s cubic-bezier(.22, 1, .36, 1) both; transform-origin: 50% 40%; }
@keyframes vh-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.vhero-cue-m { display: none; }
.vhero-title { margin: 0; font-size: clamp(56px, 8.4vw, 132px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; color: #fff; }
.vhero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.vhero-title .ch { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); transition-delay: calc(var(--i) * 28ms + .15s); }
.vhero-title .ch.sp { width: .28em; }
.is-ready .vhero-title .ch { transform: none; opacity: 1; }
.vhero-sep { display: inline-block; width: .32em; height: .32em; margin-left: .18em; vertical-align: .08em; background: url(../images/title_icon.svg) center / contain no-repeat; animation: lud-spin 6s linear infinite; }
@keyframes lud-spin { to { transform: rotate(360deg); } }
.vhero-row { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px; align-items: end; margin-top: 34px; }
.vhero-sub { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.35; color: rgba(255, 255, 255, .92); letter-spacing: -.01em; opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s; }
.vhero-sub span { display: block; }
.vhero .cta-row { margin: 0; opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) 1.1s, transform 1s var(--ease) 1.1s; }
.is-ready .vhero-sub, .is-ready .vhero .cta-row { opacity: 1; transform: none; }
.vhero-foot { margin-top: 70px; padding: 28px 0 34px; border-top: 1px solid rgba(255, 255, 255, .14); }
.vhero-foot .marquee { margin-top: 0; }
.vhero-cue { position: absolute; right: 24px; top: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); writing-mode: vertical-rl; text-decoration: none; }
.vhero-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--pink), transparent); animation: lud-cue 2s var(--ease) infinite; }
@keyframes lud-cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Keresztbe futó szalagok ---------- */
.tapes { position: relative; z-index: 3; height: 170px; margin-top: -60px; pointer-events: none; overflow: hidden; }
.tape { position: absolute; left: -5%; width: 110%; overflow: hidden; white-space: nowrap; padding: 18px 0; }
.tape.a { top: 40px; background: var(--pink); color: #000; transform: rotate(-2.6deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); }
.tape.b { top: 56px; background: #000; color: #fff; transform: rotate(2deg); border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tape .tr { display: inline-flex; animation: lud-marq 46s linear infinite; }
.tape.b .tr { animation-duration: 58s; animation-direction: reverse; }
.tape span { display: inline-flex; align-items: center; font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.tape span::after { content: "\2726"; font-size: 18px; margin: 0 28px; opacity: .85; }
@keyframes lud-marq { to { transform: translateX(-50%); } }

/* ---------- Bemutatkozás + forgó körszöveges jelvény ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: start; }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; }
.intro-cols h3 { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #000; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.intro-cols h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.intro-cols p { font-size: 17px; line-height: 1.65; color: var(--gray); }
.badge { position: relative; width: 250px; height: 250px; flex: none; }
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: lud-rot 14s linear infinite; }
.badge svg.ring text { font: 700 13px/1 "Epilogue", sans-serif; letter-spacing: .32em; text-transform: uppercase; fill: #000; }
.badge::before { content: ""; position: absolute; inset: 44px; border-radius: 50%; border: 1px solid var(--line); }
.badge-num { position: absolute; inset: 0; display: grid; place-items: center; }
.badge-num b { font-size: 108px; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 4px 4px 0 var(--pink); }
@keyframes lud-rot { to { transform: rotate(-360deg); } }

/* ---------- Óriási, körvonalas futó csík ---------- */
.ticker { position: relative; overflow: hidden; padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: lud-marq 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { display: inline-flex; align-items: center; font-size: clamp(48px, 7vw, 108px); font-weight: 800; line-height: 1; letter-spacing: -.03em; text-decoration: none; color: transparent; -webkit-text-stroke: 2px #000; transition: color .35s, -webkit-text-stroke-color .35s; }
.ticker-track a::after { content: ""; display: inline-block; width: .32em; height: .32em; margin: 0 .55em; border-radius: 50%; background: var(--pink); -webkit-text-stroke: 0; }
.ticker-track a:nth-child(3n + 2) { color: var(--pink); -webkit-text-stroke-color: var(--pink); }
.ticker-track a:hover { color: #000; }
.ticker--dark { background: #000; border-color: rgba(255, 255, 255, .12); }
.ticker--dark .ticker-track a { -webkit-text-stroke-color: #fff; }
.ticker--dark .ticker-track a:hover { color: #fff; }

/* ---------- Projektlista lebegő előnézettel ---------- */
.showcase { position: relative; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.showcase li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.showcase a { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 56px; align-items: center; gap: 24px; padding: 30px 6px; color: #fff; text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.showcase .no { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }
.showcase .nm { font-size: clamp(30px, 4.4vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; transition: transform .5s var(--ease); }
.showcase .tg { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.showcase .tg span { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 30px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .78); white-space: nowrap; }
.showcase .go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 17px; transition: background .4s, color .4s, transform .5s var(--ease); }
.showcase a:hover .nm { transform: translateX(14px); color: var(--pink); }
.showcase a:hover .go { background: var(--pink); color: #000; transform: rotate(-45deg); }
.showcase-peek {
  position: fixed; left: 0; top: 0; z-index: 30; width: 340px; aspect-ratio: 4 / 3; border-radius: 22px; background: #0b0b0e; pointer-events: none;
  display: grid; place-items: center; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(242, 32, 92, .55), inset 0 0 0 1px rgba(255, 255, 255, .1);
  opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s, transform .5s var(--ease);
}
.showcase-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.showcase-peek::before { content: ""; position: absolute; left: 50%; top: 100%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 32, 92, .55), rgba(242, 32, 92, 0)); }
.showcase-peek img { position: relative; max-width: 64%; max-height: 46%; object-fit: contain; }
.showcase-peek img.tile { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }

/* ---------- Számlálók ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.counter { position: relative; padding: 36px 0 0; border-top: 2px solid #000; }
.counter .val { display: flex; align-items: flex-start; font-size: clamp(88px, 11vw, 168px); font-weight: 700; line-height: .9; letter-spacing: -.05em; color: #fff; -webkit-text-stroke: 3px #000; paint-order: stroke fill; }
.counter .val sup { font-size: .45em; line-height: 1; margin-left: .04em; color: var(--pink); -webkit-text-stroke: 0; top: 0; }
.counter .lb { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--gray); }

/* ---------- Helyzetek (fülek) ---------- */
.sit { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 26px; align-items: start; }
.sit-tabs { display: flex; flex-direction: column; gap: 6px; }
.sit-group { margin: 14px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sit-group:first-child { margin-top: 0; }
.sit-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; border: 0; border-radius: 18px; background: var(--soft); color: #000;
  font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease);
}
.sit-tab .ic { width: 20px; height: 20px; color: var(--pink); }
.sit-tab:hover { background: #ececf0; transform: translateX(4px); }
.sit-tab[aria-selected="true"] { background: #000; color: #fff; }
.sit-tab:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.sit-panels { position: sticky; top: 100px; }
.sit-panel { position: relative; isolation: isolate; overflow: hidden; min-height: 520px; padding: 42px; border-radius: 32px; background: #000; color: #fff; }
.sit-panel[hidden] { display: none; }
.sit-panel::before { content: ""; position: absolute; right: -220px; top: -220px; width: 620px; height: 620px; z-index: -1; background: radial-gradient(closest-side, rgba(242, 32, 92, .34), rgba(242, 32, 92, 0)); }
.sit-panel.show { animation: lud-panel .55s var(--ease); }
@keyframes lud-panel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sit-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.sit-q { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: #fff; margin-bottom: 34px; }
.sit-panel h3 { color: #fff; font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
.sit-panel p { color: rgba(255, 255, 255, .66); font-size: 17px; line-height: 1.6; max-width: 620px; }
.sit-svcs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sit-svcs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 40px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .3s, color .3s; }
.sit-svcs a:hover { background: var(--pink); color: #000; }
.sit-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sit-proj { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.sit-proj .th { width: 92px; aspect-ratio: 4 / 3; border-radius: 12px; background: #111; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sit-proj .th img { max-width: 70%; max-height: 52%; object-fit: contain; }
.sit-proj .th img.tile { max-width: 100%; max-height: 100%; }
.sit-proj small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.sit-proj b { font-size: 17px; }

/* ---------- Konzultációs futócsík ---------- */
.strip { overflow: hidden; padding: 30px 0; background: var(--pink); color: #000; transform: rotate(-1.2deg); margin: 0 -2%; }
.strip-track { display: inline-flex; white-space: nowrap; animation: lud-marq 34s linear infinite; }
.strip-track a { display: inline-flex; align-items: center; font-size: clamp(32px, 4.2vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #000; text-decoration: none; }
.strip-track a b { color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill; margin: 0 .18em; }
.strip-track a::after { content: "\2726"; margin: 0 .6em; font-size: .6em; }
.strip-wrap { overflow: hidden; padding: 30px 0 10px; background: #fff; }

/* ---------- Töréspontok ---------- */
@media (max-width: 1199px) {
  .sit { grid-template-columns: 320px minmax(0, 1fr); }
  .showcase .tg { display: none; }
  .showcase a { grid-template-columns: 56px minmax(0, 1fr) 56px; }
}
@media (max-width: 991px) {
  .vhero-row { grid-template-columns: 1fr; gap: 26px; }
  .vhero-cue { display: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .badge { width: 210px; height: 210px; justify-self: center; margin-top: -10px; }
  .badge-num b { font-size: 88px; }
  .sit { grid-template-columns: 1fr; }
  .sit-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .sit-group { display: none; }
  .sit-tab { flex: none; width: auto; white-space: nowrap; scroll-snap-align: start; }
  .sit-tab:hover { transform: none; }
  .sit-panels { position: static; }
  .showcase-peek { display: none; }
}
@media (max-width: 767px) {
  .vhero { display: block; min-height: 0; padding: 0; }
  .vhero-media { inset: auto; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; }
  .vhero-media::after { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .05) 32%, rgba(0, 0, 0, .3) 68%, #000 100%); }
  .vhero-stage { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 104px; }
  .vhero-title { font-size: clamp(50px, 15.5vw, 76px); line-height: .98; }
  .vhero-below { padding-top: 6px; }
  .vhero-row { margin-top: 0; }
  .vhero-foot { margin-top: 40px; }
  .vhero-cue-m { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-decoration: none; }
  .vhero-cue-m::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--pink), transparent); animation: lud-cue 2s var(--ease) infinite; }
  .tapes { height: 120px; margin-top: -44px; }
  .tape { padding: 12px 0; }
  .tape.a { top: 28px; } .tape.b { top: 38px; }
  .tape span { font-size: 17px; }
  .tape span::after { margin: 0 18px; }
  .intro-cols { grid-template-columns: 1fr; gap: 26px; }
  .counters { grid-template-columns: 1fr; gap: 10px; }
  .counter { padding-top: 24px; }
  .showcase a { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 14px; padding: 22px 0; }
  .showcase .go { width: 44px; height: 44px; }
  .sit-panel { padding: 28px; min-height: 0; border-radius: 26px; }
  .ticker { padding: 30px 0; }
  .ticker-track a { -webkit-text-stroke-width: 1.5px; }
  .strip { padding: 22px 0; }
}

/* Lábléc: közösségi oldalak névvel */
.ft .ft-soc { display: inline-flex; align-items: center; gap: 10px; }
.ft .ft-soc .ic { width: 16px; height: 16px; color: var(--pink); }

/* ---------- Foglalás: eseménytípus-választó ---------- */
.book-types { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.book-type {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border-radius: 18px; cursor: pointer; text-align: left;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #fff; font: inherit; transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.book-type b { font-size: 15px; line-height: 1.3; }
.book-type span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.book-type:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.book-type.is-on { background: var(--pink); border-color: var(--pink); color: #000; }
.book-type.is-on span { color: rgba(0, 0, 0, .7); }
.book-type:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Foglalási sáv ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  margin: 0 0 0; padding: 40px 44px; border-radius: 32px; background: var(--pink); color: #000;
}
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); }
.cta-band .kicker { color: #000; margin-bottom: 12px; }
.cta-band-t { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; color: #000; }
.cta-band-s { margin-top: 10px; font-size: 17px; color: rgba(0, 0, 0, .72); max-width: 620px; }
.cta-band .btn { background: #000; color: #fff; flex: none; box-shadow: none; }
.cta-band .btn::after { background: #fff; }
.cta-band .btn:hover { color: #000; }
.cta-band .btn .ar { background: var(--pink); color: #000; }
.cta-band--dark { background: #000; color: #fff; }
.cta-band--dark .kicker { color: var(--pink); }
.cta-band--dark .cta-band-t { color: #fff; }
.cta-band--dark .cta-band-s { color: rgba(255, 255, 255, .66); }
.cta-band--dark .btn { background: var(--pink); color: #000; }
.cta-band--dark .btn .ar { background: #000; color: #fff; }
.cta-band-wrap { padding: 0 0 96px; }

/* ---------- Nyelvváltó ---------- */
.nav-lang { display: flex; gap: 2px; padding: 4px; border-radius: 30px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); flex: none; }
.nav-lang a { padding: 6px 10px; border-radius: 20px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .65); text-decoration: none; transition: color .3s, background .3s; }
.nav-lang a:hover { color: #fff; }
.nav-lang a.is-on { background: #fff; color: #000; }
.mmenu-lang { display: flex; gap: 8px; margin-top: 24px; }
.mmenu-lang a { padding: 10px 16px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 700; text-decoration: none; }
.mmenu-lang a.is-on { background: #fff; color: #000; }

/* ---------- Saját alkalmazások a sötét projektblokkban ---------- */
.dark .prod { background: #0e0e12; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.apps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 84px 0 30px; }
.apps-head h3 { color: #fff; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.05; }
.apps-head p { color: rgba(255, 255, 255, .6); max-width: 460px; font-size: 16px; }

/* ---------- Blog ---------- */
.post-grid { grid-template-columns: repeat(3, 1fr); }
.post { min-height: 340px; }
.sec--soft .post:not(.post-feat) { background: #fff; }
.post-tag { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 30px; background: #000; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.post-tag.is-future { background: var(--pink); color: #000; }
.post .post-meta { color: var(--gray); font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 14px; }
.post-feat { grid-column: span 2; background: #000; color: #fff; }
.post-feat h3 { color: #fff; font-size: clamp(28px, 3vw, 40px); }
.post-feat p, .post-feat .post-meta { color: rgba(255, 255, 255, .66); }
.post-feat:hover { background: #0b0b0e; }
.post-feat .svc-more { color: #fff; }
.prose blockquote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--pink); font-size: 22px; line-height: 1.45; font-weight: 600; color: #000; }
.prose .callout { margin: 34px 0; padding: 28px 30px; border-radius: 24px; background: var(--soft); }
.prose .callout b { display: block; margin-bottom: 8px; color: #000; }
.prose .callout p { margin: 0; }
.post-cta { max-width: 760px; margin: 56px auto 0; }

@media (max-width: 1199px) {
  .book-types { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .nav-lang { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px; }
  .apps-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .book-types { grid-template-columns: 1fr 1fr; }
  .book-type { padding: 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-feat { grid-column: auto; }
  .cta-band { border-radius: 26px; padding: 28px 24px; }
}

/* ---------- Helyzetek: több hasonló munka egy kártyán ---------- */
.sit-projs { display: flex; flex-wrap: wrap; gap: 14px 26px; }

/* ---------- Kétoszlopos aloldal-hero (szöveg + 3D-laptop) ---------- */
.hero-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.hero--split .h1 { font-size: clamp(38px, 4.3vw, 66px); max-width: 13ch; }
.hero--split .lead { max-width: 520px; }
.hero-aside { position: relative; z-index: 2; }
@media (max-width: 991px) {
  /* mobilon a látvány a bevezető után jön, a gombok elé, így érkezéskor már látszik */
  .hero-split { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-split .crumbs { order: 1; }
  .hero-split .eyebrow { order: 2; justify-self: start; }
  .hero-split .h1 { order: 3; }
  .hero-split .lead { order: 4; }
  .hero-split .hero-aside { order: 5; margin: 6px 0 30px; }
  .hero-split .cta-row { order: 6; }
  .hero--split .h1 { max-width: 16ch; }
}

/* ---------- 3D-laptop és telefon (a termékvideó-oldal korábbi herójából) ----------
   A modell egy 1240x860-as világban él, a JS a szélességhez skálázza (--s). */
.ds { position: relative; width: 100%; aspect-ratio: 1240 / 860; --s: .5; --tx: 0; --ty: 0; }
.ds-world { position: absolute; left: 0; top: 0; width: 1240px; height: 860px; transform: scale(var(--s)); transform-origin: 0 0; }
.ds-floorglow { position: absolute; left: 150px; top: 610px; width: 880px; height: 260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 32, 92, .38), rgba(242, 32, 92, 0)); filter: blur(10px); }
.ds-lapfade { position: absolute; inset: 0; perspective: 2600px; perspective-origin: 50% 28%; opacity: 0; transition: opacity .7s ease .15s; }
.ds-orbit, .ds-mouse { transform-origin: 480px 604px 302px; transform-style: preserve-3d; }
.ds-orbit { position: absolute; left: 110px; top: 70px; width: 960px; height: 640px;
  transform: translateY(-150px) rotateY(-32deg) rotateX(-44deg); transition: transform 2.2s cubic-bezier(.65, 0, .35, 1) .15s; }
.ds-mouse { position: absolute; inset: 0; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.ds.is-open .ds-lapfade { opacity: 1; }
.ds.is-open .ds-orbit { transform: rotateX(-13deg); }

.dev-laptop { position: absolute; width: 960px; height: 640px; transform-style: preserve-3d; }
.dev-deck { position: absolute; left: 0; top: 604px; width: 960px; height: 604px; transform-origin: 50% 0; transform: rotateX(90deg); border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #3A3A3D 0%, #323235 55%, #2B2B2E 100%); box-shadow: inset 0 0 0 1.5px #4C4C50; backface-visibility: hidden; }
.dev-kb { position: absolute; left: 92px; top: 36px; width: 776px; height: 281px; }
.dev-trackpad { position: absolute; left: 300px; top: 346px; width: 360px; height: 222px; border-radius: 18px; background: #2D2D30; box-shadow: inset 0 0 0 1.5px #4A4A4E; }
.dev-lip { position: absolute; left: 0; top: 604px; width: 960px; height: 18px; transform: translateZ(604px); border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, #7A7A7F 0%, #4A4A4E 35%, #2A2A2D 100%); }
.dev-lip::after { content: ""; position: absolute; left: 405px; top: 0; width: 150px; height: 7px; border-radius: 0 0 9px 9px; background: #2A2A2D; }
.dev-base-side { position: absolute; top: 604px; width: 604px; height: 18px; background: linear-gradient(180deg, #58585C, #2A2A2D); }
.dev-base-side.l { left: 0; transform-origin: 0 50%; transform: rotateY(-90deg); }
.dev-base-side.r { left: 356px; transform-origin: 100% 50%; transform: rotateY(90deg); }
.dev-lid { position: absolute; left: 0; top: 0; width: 960px; height: 604px; transform-origin: 50% 100%; transform-style: preserve-3d;
  transform: rotateX(-90deg); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .55s; }
.ds.is-open .dev-lid { transform: rotateX(4deg); }
.dev-lid-front { position: absolute; inset: 0; border-radius: 26px 26px 8px 8px; background: #0A0A0C; box-shadow: inset 0 0 0 1.5px #44444A, inset 0 0 0 4px #0A0A0C; backface-visibility: hidden; }
.dev-lid-back { position: absolute; inset: 0; border-radius: 26px 26px 8px 8px; transform: translateZ(-8px) rotateY(180deg); backface-visibility: hidden;
  background: linear-gradient(160deg, #86868B 0%, #5C5C60 38%, #3E3E41 100%); box-shadow: inset 0 0 0 1.5px #96969B; }
.dev-lid-edge { position: absolute; background: linear-gradient(180deg, #8A8A8F, #4A4A4E); }
.dev-lid-edge.t { left: 16px; top: 0; width: 928px; height: 8px; transform-origin: 50% 0; transform: rotateX(-90deg); }
.dev-lid-edge.l { left: 0; top: 16px; width: 8px; height: 588px; transform-origin: 0 50%; transform: rotateY(90deg); }
.dev-lid-edge.r { left: 952px; top: 16px; width: 8px; height: 588px; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.dev-cam { position: absolute; left: 476px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #1D1D20; box-shadow: inset 0 0 0 1.5px #2E2E32; }
.dev-screen { position: absolute; left: 24px; top: 20px; width: 912px; height: 570px; border-radius: 10px; overflow: hidden; background: #000; }
.dev-screen img, .dev-screen video, .dev-phone-screen img, .dev-phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dev-screen-off { position: absolute; inset: 0; background: #050506; opacity: 1; transition: opacity .7s ease 1.5s; }
.ds.is-open .dev-screen-off { opacity: 0; }
.dev-glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%); pointer-events: none; }

/* a kijelzőn lassan végiggörgetett valódi oldal */
.dev-screen img.ds-scroll, .dev-phone-screen img.ds-scroll { inset: 0 auto auto 0; height: auto; object-fit: initial;
  animation: ds-scroll 30s cubic-bezier(.45, 0, .55, 1) 2.4s infinite; animation-play-state: paused; }
.dev-screen img.ds-scroll { --vh: 570px; }
.dev-phone-screen img.ds-scroll { --vh: 844px; animation-duration: 26s; animation-delay: 3s; }
.ds.is-open img.ds-scroll { animation-play-state: running; }
@keyframes ds-scroll { 0%, 8% { transform: translateY(0); } 46%, 54% { transform: translateY(calc(-100% + var(--vh))); } 92%, 100% { transform: translateY(0); } }

.ds-phonew { position: absolute; left: 950px; top: 262px; width: 256px; height: 526px; opacity: 0; transform: translate(260px, 90px) rotate(12deg);
  transition: transform 1.4s cubic-bezier(.22, 1, .36, 1) 1.3s, opacity 1.4s ease 1.3s; }
.ds.is-open .ds-phonew { opacity: 1; transform: none; }
.ds.is-open .ds-phone-float { animation: ds-bob 6.4s ease-in-out 2.8s infinite; }
@keyframes ds-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.ds-phone-sc { position: absolute; left: 0; top: 0; width: 426px; height: 876px; transform: scale(.6); transform-origin: 0 0; }
.dev-phone { position: absolute; width: 426px; height: 876px; border-radius: 62px; background: #1C1C1E;
  box-shadow: inset 0 0 0 3px #5A5A5E, inset 0 0 0 6px #0B0B0D, 0 50px 90px rgba(0, 0, 0, .55); }
.dev-phone-screen { position: absolute; left: 18px; top: 16px; width: 390px; height: 844px; border-radius: 46px; overflow: hidden; background: #000; }
.dev-island { position: absolute; left: 148px; top: 28px; width: 130px; height: 36px; border-radius: 18px; background: #000; z-index: 5; }

/* lebegő címkék a színpad körül (valódi méretben, nem skálázva) */
.ds-tag { position: absolute; z-index: 4; opacity: 0; transform: translateY(26px) scale(.88);
  transition: opacity .8s ease, transform .8s cubic-bezier(.34, 1.56, .64, 1), translate 1.1s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(1.8s + var(--i) * .12s), calc(1.8s + var(--i) * .12s), 0s;
  translate: calc(var(--tx) * var(--k, 10) * 1%) calc(var(--ty) * var(--k, 10) * 1.4%); }
.ds.is-open .ds-tag { opacity: 1; transform: none; }
.ds-tag-in { display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 18px; white-space: nowrap;
  background: rgba(22, 22, 27, .66); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .55); color: #fff; animation: ds-float 2.8s ease-in-out infinite alternate; }
.ds-tag.t2 .ds-tag-in { animation-duration: 3.2s; animation-direction: alternate-reverse; }
.ds-tag.t3 .ds-tag-in { animation-duration: 3.6s; }
.ds-tag.t4 .ds-tag-in { animation-duration: 4s; animation-direction: alternate-reverse; }
@keyframes ds-float { from { transform: translateY(-8px); } to { transform: translateY(8px); } }
.ds-tag b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.ds-tag small { display: block; font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .58); }
.ds-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--pink); color: #000; }
.ds-ic.w { background: #fff; }
.ds-ic .ic { width: 16px; height: 16px; }
.ds-wave { display: flex; align-items: center; gap: 3px; height: 36px; width: 36px; justify-content: center; border-radius: 11px; background: rgba(255, 255, 255, .1); flex: none; }
.ds-wave i { width: 3px; height: 40%; border-radius: 3px; background: var(--pink); animation: ds-eq 1s ease-in-out infinite; }
.ds-wave i:nth-child(2) { animation-delay: -.3s; }
.ds-wave i:nth-child(3) { animation-delay: -.6s; }
.ds-wave i:nth-child(4) { animation-delay: -.15s; }
.ds-wave i:nth-child(5) { animation-delay: -.45s; }
@keyframes ds-eq { 0%, 100% { height: 25%; } 50% { height: 75%; } }
.ds-tag.t1 { left: -3%; top: 9%; --k: 10; }
.ds-tag.t2 { right: 1%; top: -3%; --k: -14; }
.ds-tag.t3 { left: 1%; bottom: 12%; --k: 16; }
.ds-tag.t4 { right: -2%; bottom: 2%; --k: -10; }
@media (max-width: 1199px) { .ds-tag.t1 { left: 0; } .ds-tag.t4 { right: 0; } }
@media (max-width: 991px) { .ds-tag.t2, .ds-tag.t3 { display: none; } .ds-tag.t1 { left: 2%; top: 4%; } .ds-tag.t4 { right: 2%; bottom: 0; } }
@media (max-width: 575px) { .ds-tag { display: none; } }

/* ---------- Főoldal: alkalmazásfejlesztés blokk ---------- */
.app-plat { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; }
.app-plat li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 40px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); font-size: 15px; font-weight: 600; }
.app-plat .ic { width: 16px; height: 16px; color: var(--pink); }
.prod-grid--4 { grid-template-columns: repeat(4, 1fr); }
.prod-grid--4 .prod-logo img { max-width: 90%; }
@media (max-width: 1199px) { .prod-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .prod-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Csapat: az alapítók alatt, akikkel a projekt során dolgozni fogsz ---------- */
.crew-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 60px; align-items: end; margin: 88px 0 30px; }
.crew-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.crew-head h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; line-height: 1.05; }
.crew-head p { color: var(--gray); font-size: 17px; line-height: 1.6; max-width: 520px; }
.team--crew { grid-template-columns: repeat(3, 1fr); }
.team--crew .member { aspect-ratio: 4 / 5; }
.team--crew .member-meta h3 { font-size: 22px; }
@media (max-width: 991px) {
  .crew-head { grid-template-columns: 1fr; margin-top: 64px; }
  .team--crew { grid-template-columns: repeat(2, 1fr); }
  .team--crew .member:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
}
@media (max-width: 575px) {
  .team--crew { grid-template-columns: 1fr; }
  .team--crew .member:last-child:nth-child(odd) { aspect-ratio: 4 / 5; }
}

/* ---------- Érintőképernyőn nincs hover: a kártyák alapból a „kiemelt” állapotukban látszanak,
   a rózsaszín fény lassan úszik bennük (liquid hatás), érintésre pedig finoman benyomódnak ---------- */
@keyframes lud-liquid {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 50px) scale(1.18); }
  66% { transform: translate(-20px, 110px) scale(.92); }
  100% { transform: translate(-90px, 20px) scale(1.1); }
}
@media (hover: none), (max-width: 991px) {
  .svc { background: #fff; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .22), inset 0 0 0 1px var(--line); }
  .svc::after { opacity: 1; width: 340px; height: 340px; animation: lud-liquid 11s ease-in-out infinite alternate; }
  .svc:nth-child(3n+2)::after { animation-duration: 13s; animation-delay: -4s; }
  .svc:nth-child(3n)::after { animation-duration: 15s; animation-delay: -8s; }
  .svc-ic { background: var(--pink); color: #000; }
  .svc-more .ar { background: var(--pink); color: #000; transform: rotate(-45deg); }
  .svc--cta { background: var(--pink); box-shadow: none; }
  .svc--cta::after { background: radial-gradient(closest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); }
  .svc--cta .ar { transform: rotate(-45deg); }
  .svc:active, .post:active, .prod:active, .work:active { transform: scale(.985); transition-duration: .15s; }

  .work .work-stage::before { opacity: 1; top: 85%; }
  .work .work-go { opacity: 1; transform: none; }

  .prod::before { transform: scale(1.25); animation: lud-liquid 13s ease-in-out infinite alternate; }
  .prod .prod-link .ar { transform: rotate(-45deg); background: var(--pink); }

  .post { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .post-feat { background: #000; }
  .contact-item { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
}
