/* ARworks autóipari portfólió — a weboldal elrendezése.
   Közös alap: common.css. Mozgás: csak ha a szkript fut (.ap-js) — nélküle minden látszik.
   Kivétel a hős-rész nyitóanimációja: az első képernyőn CSS-ből fut (a tartalom mindig a végállapot). */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.ap-lock { overflow: hidden; padding-right: var(--ap-sbw, 0px); }

.ap .ap-sec { position: relative; padding: 112px 0; }
.ap .ap-sec--light { background: #fff; color: var(--text-primary, #111); }
.ap .ap-sec--gray { background: var(--gray-050, #f7f7f7); color: var(--text-primary, #111); }
.ap .ap-sec--dark { background: var(--ap-ink); color: #fff; }
.ap .ap-sec--ink2 { background: #0e1114; border-top: 1px solid var(--ap-line); }
.ap .ap-sec[id], .ap [id^='pillar-'] { scroll-margin-top: var(--pf-offset, 96px); }
.ap .ap-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 64px; }
@media (max-width: 760px) { .ap .ap-sec { padding: 64px 0; } .ap .ap-head { margin-bottom: 40px; gap: 16px; } }

/* ------------------------------------------------------------ fejléc (csak az önálló microsite-on; a fő oldalon a fő fejléc áll) */
.ap .ap-hdr { position: sticky; top: 0; z-index: 60; background: rgba(10, 11, 12, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ap-line); color: #fff; }
.ap .ap-hdr__in { max-width: 1480px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.ap .ap-brand { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; flex: none; }
.ap .ap-brand__a { font: 400 22px/1 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.02em; color: #fff; }
.ap .ap-brand__w { font: 300 22px/1 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.02em; color: var(--ap-orange); }
.ap .ap-hdr__nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.ap .ap-hdr__nav > a:not(.ap-btn) { font: 500 12.5px/1 var(--font-body, sans-serif); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s; }
.ap .ap-hdr__nav > a:not(.ap-btn):hover, .ap .ap-hdr__nav > a.is-active { color: var(--orange-400, #f2703f); text-decoration: none; }
.ap .ap-lang { display: inline-flex; border: 1px solid var(--ap-line-2); border-radius: 2px; overflow: hidden; }
.ap .ap-lang span, .ap .ap-lang a { font: 500 11px/1 var(--font-mono, monospace); letter-spacing: 0.1em; padding: 9px 10px; color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.ap .ap-lang .is-active { background: #fff; color: #000; }
.ap .ap-lang a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none; }
@media (max-width: 1280px) { .ap .ap-hdr__nav > a:not(.ap-btn) { display: none; } } /* önálló oldalon szűkebb ablakban csak a gombok */

/* ------------------------------------------------------------ hős-rész */
.ap .ap-hero { position: relative; background: var(--ap-ink); color: #fff; overflow: hidden; isolation: isolate; }
.ap .ap-hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 45%, #000 25%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 45%, #000 25%, transparent 78%);
}
.ap .ap-hero__glow { position: absolute; inset: -20% -10% auto 38%; height: 120%; background: radial-gradient(closest-side, rgba(239, 84, 34, 0.2), transparent 70%); animation: ap-glow 9s ease-in-out infinite; }
@keyframes ap-glow { 50% { opacity: 0.55; transform: translate(-3%, 4%); } }
.ap .ap-hero__wm { position: absolute; right: -150px; top: -90px; height: 640px; width: auto; max-width: none; opacity: 0.035; }
/* az országút-szaggatott vonal: a hős-rész alján lassan halad (a „vezetés” érzete) */
.ap .ap-hero__road {
  position: absolute; left: 0; right: 0; bottom: 142px; height: 2px; opacity: 0.55;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 38px, transparent 38px 78px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  animation: ap-road 3.2s linear infinite;
}
@keyframes ap-road { to { background-position-x: -78px; } }
.ap .ap-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: center; padding-top: 96px; padding-bottom: 36px; }
.ap .ap-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; position: relative; z-index: 3; }
.ap .ap-hero__copy .ap-h1 { max-width: 16ch; font-size: clamp(36px, 4.3vw, 62px); line-height: 1.04; }
.ap .ap-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 8px; }
.ap .ap-rise { animation: ap-rise 0.95s var(--ap-ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes ap-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.ap .ap-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ap-line-2); }
.ap .ap-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 22px 24px 26px; border-left: 1px solid var(--ap-line); }
.ap .ap-stat:first-child { border-left: 0; padding-left: 0; }
.ap .ap-stat dd { font: 300 clamp(26px, 3.7vw, 56px)/1 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.04em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* számláló: a DOM-ban a végső szám áll, a feltekeredést CSS-számláló (@property) rajzolja */
@property --cu { syntax: '<integer>'; initial-value: 0; inherits: false; }
@keyframes ap-cu { from { --cu: 0; } to { --cu: var(--to, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .ap.ap-js .ap-stat dd[data-countup] { --cu: 0; counter-reset: cu var(--cu); position: relative; color: transparent; }
  .ap.ap-js .ap-stat dd[data-countup]::after { content: counter(cu) attr(data-suffix); position: absolute; left: 0; top: 0; color: #fff; }
  .ap.ap-js .ap-stat dd[data-countup].is-in { animation: ap-cu 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
}
.ap .ap-stat dt { font: 400 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.13em; text-transform: uppercase; color: var(--ap-mute); max-width: 26ch; }

/* márka- és partnerszalag */
.ap .ap-ribbon { display: flex; align-items: stretch; background: var(--ap-ink-2); border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); color: #fff; overflow: hidden; }
.ap .ap-ribbon__label { flex: none; display: flex; align-items: center; padding: 0 28px 0 max(40px, calc((100vw - 1280px) / 2 + 40px)); font: 400 11px/1.3 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-400, #f2703f); border-right: 1px solid var(--ap-line); background: var(--ap-ink-2); position: relative; z-index: 2; }
.ap .ap-ribbon__view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ap .ap-ribbon__track { display: flex; width: max-content; animation: ap-marquee 52s linear infinite; }
.ap .ap-ribbon:hover .ap-ribbon__track { animation-play-state: paused; }
.ap .ap-ribbon ul { display: flex; flex: none; }
.ap .ap-ribbon li { padding: 22px 24px; white-space: nowrap; font: 400 16px/1 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }
.ap .ap-ribbon li::after { content: '/'; margin-left: 48px; color: var(--ap-line-2); }
@keyframes ap-marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .ap .ap-hero__in { grid-template-columns: 1fr; gap: 28px; padding-top: 104px; }
  .ap .ap-stage { width: 100%; margin-right: 0; min-height: 0; }
  .ap .ap-stage .ap-brk { inset: 14px; }
  .ap .ap-hero__copy .ap-h1 { max-width: 14ch; }
  .ap .ap-hero__road { bottom: 140px; }
}
@media (max-width: 760px) {
  /* a fő oldal portfólió-illesztője telefonon minden h1-et 34 px-re fog (!important) — a nagy hős-főcímet a nagyobb specificitás hozza vissza */
  .ap .ap-hero h1.ap-h1 { font-size: clamp(40px, 11.6vw, 52px) !important; letter-spacing: 0.04em !important; line-height: 1.04; }
  .ap .ap-hero__in { padding-top: 76px; padding-bottom: 28px; gap: 24px; }
  .ap .ap-stage { aspect-ratio: 16 / 11; }
  .ap .ap-stage__hud b { font-size: 17px; }
  .ap .ap-stage__tag { display: none; }
  .ap .ap-swatches { gap: 8px; padding: 7px 10px; transform: translateX(-50%); }
  .ap .ap-sw { width: 28px; height: 28px; }
  .ap .ap-stage__hint { display: none; }
  .ap .ap-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap .ap-stat dd { font-size: clamp(24px, 7vw, 34px); }
  .ap .ap-stat { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--ap-line); }
  .ap .ap-stat:nth-child(odd) { padding-left: 0; }
  .ap .ap-stat:nth-child(even) { border-left: 1px solid var(--ap-line); }
  .ap .ap-stat:nth-child(-n + 2) { border-top: 0; }
  .ap .ap-ribbon__label { display: none; }
}

/* ------------------------------------------------------------ 01 — három helyzet */
.ap .ap-sits { display: flex; gap: 16px; height: 600px; }
.ap .ap-sit { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: #000; color: #fff; transition: flex-grow 0.7s var(--ap-ease); isolation: isolate; }
.ap .ap-sit:hover, .ap .ap-sit:focus-within { flex-grow: 1.5; }
.ap .ap-sit__media { position: absolute; inset: 0; z-index: -1; }
.ap .ap-sit__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.72); transform: scale(1.02); transition: transform 1.2s var(--ap-ease), filter 0.6s; }
.ap .ap-sit:hover .ap-sit__media img { transform: scale(1.08); filter: saturate(1) brightness(0.9); }
.ap .ap-sit__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 90px 30px 30px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 58%, transparent); }
.ap .ap-sit__n { font: 300 clamp(48px, 5vw, 76px)/1 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72); transition: color 0.5s, -webkit-text-stroke-color 0.5s; }
.ap .ap-sit:hover .ap-sit__n { color: var(--ap-orange); -webkit-text-stroke-color: var(--ap-orange); }
.ap .ap-sit__t { font: 400 clamp(22px, 2.2vw, 30px)/1.12 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; }
.ap .ap-sit__p { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 34ch; }
.ap .ap-sit__refs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ap .ap-sit__refs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; font: 400 11px/1 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(8, 9, 10, 0.6); border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(4px); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.ap .ap-sit__refs button:hover { background: #fff; color: #000; border-color: #fff; }
.ap .ap-sit__refs svg { transition: transform 0.35s var(--ap-ease); }
.ap .ap-sit__refs button:hover svg { transform: rotate(90deg); }
@media (max-width: 1000px) {
  .ap .ap-sits { flex-direction: column; height: auto; }
  .ap .ap-sit { min-height: 400px; }
  .ap .ap-sit:hover, .ap .ap-sit:focus-within { flex-grow: 1; }
}

/* ------------------------------------------------------------ 02 — referenciák */
.ap .ap-legend { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 6px; }
.ap .ap-legend li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ap-mute); }
.ap .ap-legend__note { font: 400 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ap-dim); }

/* a pillérek: bal oldalt a rögzített leírás, jobbra a kártyák */
.ap .ap-pillar { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; padding: 72px 0; border-top: 1px solid var(--ap-line); }
.ap .ap-pillar:last-of-type { padding-bottom: 40px; }
.ap .ap-pillar__side { position: sticky; top: calc(var(--pf-offset, 96px) + 16px); align-self: start; display: flex; flex-direction: column; gap: 12px; }
.ap .ap-pillar__letter { font: 300 72px/0.9 var(--font-display, 'Jost', sans-serif); color: var(--ap-orange); letter-spacing: 0.02em; }
.ap .ap-pillar__title { font: 400 27px/1.12 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; }
.ap .ap-pillar__tag { font: 400 11px/1.3 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-400, #f2703f); }
.ap .ap-pillar__text { font-size: 15.5px; line-height: 1.55; color: var(--ap-mute); }
.ap .ap-pillar__side .ap-chips { margin-top: 8px; }
.ap .ap-pillar__main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.ap .ap-pillar__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
@media (max-width: 1100px) {
  .ap .ap-pillar { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .ap .ap-pillar__side { position: static; }
  .ap .ap-pillar__letter { font-size: 56px; }
}
@media (max-width: 760px) { .ap .ap-pillar__cards { grid-template-columns: 1fr; } }

/* Audi-sor: hat modellbevezetés csempékben */
.ap .ap-strip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 16px; }
.ap .ap-strip__t { font: 400 21px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; }
.ap .ap-strip__head p { font: 400 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ap-dim); }
.ap .ap-strip__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ap .ap-tile { position: relative; display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer; background: var(--ap-ink-2); border: 1px solid var(--ap-line); color: #fff; overflow: hidden; transition: border-color 0.25s, transform 0.4s var(--ap-ease), opacity 0.3s; }
.ap .ap-tile:hover, .ap .ap-tile:focus-visible { border-color: var(--ap-orange); transform: translateY(-3px); }
.ap .ap-strip__row:has(.ap-tile:hover) .ap-tile:not(:hover) { opacity: 0.55; }
.ap .ap-tile__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.ap .ap-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ap-ease), filter 0.5s; filter: saturate(0.9) brightness(0.92); }
.ap .ap-tile:hover .ap-tile__media img { transform: scale(1.07); filter: none; }
.ap .ap-tile__year { position: absolute; left: 10px; bottom: 10px; z-index: 4; padding: 5px 8px; font: 400 10.5px/1 var(--font-mono, monospace); letter-spacing: 0.12em; color: #fff; background: rgba(8, 9, 10, 0.74); border: 1px solid var(--ap-line-2); }
.ap .ap-tile__body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; }
.ap .ap-tile__place { font: 400 10px/1.3 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-400, #f2703f); }
.ap .ap-tile__name { font: 400 16px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 760px) {
  .ap .ap-strip__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-right: -20px; padding-right: 20px; scrollbar-width: thin; }
  .ap .ap-tile { flex: 0 0 74%; scroll-snap-align: start; }
}

/* saját megoldások és demók */
.ap .ap-own { padding: 72px 0 8px; border-top: 1px solid var(--ap-line); }
.ap .ap-own__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; max-width: 70ch; }
.ap .ap-own__text { font-size: 15px; line-height: 1.55; color: var(--ap-mute); }
.ap .ap-own__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ap .ap-card--compact .ap-card__media { aspect-ratio: 16 / 9; }
.ap .ap-card--compact .ap-card__body { padding: 16px 18px 18px; gap: 7px; }
.ap .ap-card--compact .ap-card__title { font-size: 18px; }
.ap .ap-card--compact .ap-card__lead { font-size: 13.5px; }
.ap .ap-card--compact .ap-card__sub { font-size: 10px; }
.ap .ap-card--compact .ap-card__chip { left: 10px; bottom: 10px; }
.ap .ap-card--compact .ap-tags { display: none; }
.ap .ap-card--compact .ap-card__foot { justify-content: flex-end; }
@media (max-width: 1100px) { .ap .ap-own__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ap .ap-own__cards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 03 — felületek (hub) */
.ap .ap-hubwrap { background: #fff; border: 1px solid var(--border-default, #e0e0e0); padding: 28px 28px 24px; }
.ap .ap-hub { width: 100%; height: auto; overflow: visible; }
.ap .ap-hub__tile { fill: #fff; stroke: rgba(17, 17, 17, 0.24); stroke-width: 1.2; transition: stroke 0.25s, fill 0.25s; }
.ap .ap-hub__tile--acc { stroke: var(--ap-orange); fill: rgba(239, 84, 34, 0.05); }
.ap .ap-hub__lbl { font: 500 19px 'Space Grotesk', sans-serif; fill: #111; }
.ap .ap-hub__lbl--c { text-anchor: middle; font-size: 19px; }
.ap .ap-hub__sub { font: 400 12.5px 'Space Mono', monospace; fill: #5c5c5c; letter-spacing: 0.04em; }
.ap .ap-hub__sub--c { text-anchor: middle; }
.ap .ap-hub__more { font: 400 11.5px 'Space Mono', monospace; fill: var(--orange-600, #d3431a); letter-spacing: 0.1em; text-transform: uppercase; }
.ap .ap-hub__tag { font: 400 10.5px 'Space Mono', monospace; fill: #5c5c5c; letter-spacing: 0.1em; text-transform: uppercase; }
.ap .ap-hub__line { stroke: rgba(17, 17, 17, 0.3); stroke-width: 1.5; stroke-dasharray: 5 7; animation: ap-flow 1.4s linear infinite; }
.ap .ap-hub__ico { stroke: var(--ap-orange); }
.ap .ap-hub__node { cursor: pointer; }
.ap .ap-hub__node:hover .ap-hub__tile, .ap .ap-hub__node:focus-visible .ap-hub__tile { stroke: var(--ap-orange); fill: rgba(239, 84, 34, 0.04); }
.ap .ap-hub__node:focus-visible { outline: none; }
.ap .ap-hub__pulse { fill: var(--ap-orange); offset-rotate: 0deg; animation: ap-orbit 3.6s linear infinite; animation-delay: calc(var(--i, 0) * -0.6s); }
@keyframes ap-orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes ap-flow { to { stroke-dashoffset: -24; } }
.ap .ap-hub-m { display: none; }
.ap .ap-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.ap .ap-trio__c { border-top: 2px solid #111; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ap .ap-trio__n { font: 400 12px/1 var(--font-mono, monospace); letter-spacing: 0.14em; color: var(--orange-700, #ac3512); }
.ap .ap-trio__c p { font-size: 15.5px; line-height: 1.55; color: var(--text-secondary, #5c5c5c); }
@media (max-width: 860px) {
  .ap .ap-hub { display: none; }
  .ap .ap-hub-m { display: grid; gap: 0; }
  .ap .ap-hub-m > li { position: relative; padding: 0 0 22px 26px; border-left: 2px dashed rgba(17, 17, 17, 0.3); }
  .ap .ap-hub-m > li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .ap .ap-hub-m > li::before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; background: var(--ap-orange); border-radius: 50%; }
  .ap .ap-hub-m__h { font: 500 17px/1.3 var(--font-body, sans-serif); }
  .ap .ap-hub-m__s { font: 400 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary, #5c5c5c); margin-top: 4px; }
  .ap .ap-hub-m__list { display: grid; gap: 8px; margin-top: 4px; }
  .ap .ap-hub-m__list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 12px 6px 6px; background: #fff; border: 1px solid #cfcfcf; border-radius: 2px; text-align: left; cursor: pointer; }
  .ap .ap-hub-m__list b { display: block; font-size: 15px; font-weight: 500; }
  .ap .ap-hub-m__list em { display: block; font-style: normal; font: 400 10.5px/1.3 var(--font-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary, #5c5c5c); margin-top: 2px; }
  .ap .ap-hub-m__img { width: 62px; height: 44px; flex: none; overflow: hidden; background: #000; }
  .ap .ap-hub-m__img img { width: 100%; height: 100%; object-fit: cover; }
  .ap .ap-hubwrap { padding: 20px; }
  .ap .ap-trio { grid-template-columns: 1fr; gap: 24px; }
}

/* ------------------------------------------------------------ 04 — AI a szalonban */
.ap .ap-aigrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 980px) { .ap .ap-aigrid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
/* az AI-képességek: lenyíló sorok */
.ap .ap-caps { border-top: 1px solid var(--ap-line-2); }
.ap .ap-caps__t { font: 400 11px/1.3 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-400, #f2703f); padding: 14px 0 12px; }
.ap .ap-acc { border-top: 1px solid var(--ap-line); }
.ap .ap-acc:last-child { border-bottom: 1px solid var(--ap-line); }
.ap .ap-acc summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 4px; align-items: start; padding: 16px 0 16px 4px; cursor: pointer; list-style: none; transition: background 0.25s; }
.ap .ap-acc summary::-webkit-details-marker { display: none; }
.ap .ap-acc summary:hover { background: rgba(255, 255, 255, 0.025); }
.ap .ap-acc__n { font: 300 22px/1 var(--font-display, 'Jost', sans-serif); color: var(--ap-orange); }
.ap .ap-acc__h b { display: block; font: 400 18px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 400; }
.ap .ap-acc__h em { display: block; font-style: normal; font-size: 14px; line-height: 1.45; color: var(--ap-mute); margin-top: 5px; }
.ap .ap-acc__i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ap-line-2); border-radius: 50%; color: #fff; transition: transform 0.4s var(--ap-ease), background 0.2s, color 0.2s; }
.ap .ap-acc[open] .ap-acc__i { transform: rotate(45deg); background: #fff; color: #000; }
.ap .ap-acc__body { padding: 0 0 20px 48px; animation: ap-acc-in 0.45s var(--ap-ease) both; }
.ap .ap-acc__body p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 62ch; border-left: 2px solid var(--ap-orange); padding-left: 14px; }
@keyframes ap-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* a beszélgetés és a 3D együtt: ellenőrzött parancs */
.ap .ap-flow { margin-top: 64px; padding: 34px 36px 30px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ap-line); }
.ap .ap-flow__nodes { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: fn; }
.ap .ap-flow__nodes li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; font: 400 19px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--ap-line-2); background: var(--ap-ink-2); margin-right: -1px; }
.ap .ap-flow__nodes li:nth-child(3) { border-color: var(--ap-orange); background: rgba(239, 84, 34, 0.08); }
.ap .ap-flow__nodes li span { font: 400 11px/1 var(--font-mono, monospace); letter-spacing: 0.14em; color: var(--orange-400, #f2703f); }
.ap .ap-flow__nodes li::after { content: ''; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; z-index: 2; background: var(--ap-ink); border-top: 1px solid var(--ap-line-2); border-right: 1px solid var(--ap-line-2); transform: rotate(45deg); }
.ap .ap-flow__nodes li:last-child::after { display: none; }
.ap.ap-js .ap-flow.is-in .ap-flow__nodes li { animation: ap-node 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.5s); }
@keyframes ap-node { 0%, 70%, 100% { box-shadow: none; } 12%, 30% { box-shadow: inset 0 0 0 1px var(--ap-orange), 0 0 22px -6px rgba(239, 84, 34, 0.7); } }
.ap .ap-flow__data { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: 400 11.5px/1.4 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ap-mute); }
.ap .ap-flow__data i { flex: none; width: 36px; height: 1px; background: repeating-linear-gradient(90deg, var(--ap-orange) 0 5px, transparent 5px 9px); }
.ap .ap-flow__s { margin-top: 14px; font-size: 18px; line-height: 1.45; color: #fff; max-width: 60ch; }
@media (max-width: 900px) {
  .ap .ap-flow { padding: 22px 18px; }
  .ap .ap-flow__nodes { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ap .ap-flow__nodes li { margin: 0; font-size: 16px; }
  .ap .ap-flow__nodes li::after { display: none; }
}
.ap .ap-proofs { margin-top: 56px; }
.ap .ap-proofs__t { font: 400 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-400, #f2703f); margin-bottom: 18px; }
.ap .ap-proofs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ap-line); border: 1px solid var(--ap-line); }
.ap .ap-proof { display: flex; flex-direction: column; gap: 9px; padding: 22px 20px 24px; background: var(--ap-ink-2); transition: background 0.25s; }
.ap .ap-proof:hover { background: var(--ap-ink-3); }
.ap .ap-proof strong { font: 400 19px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.06em; text-transform: uppercase; }
.ap .ap-proof span { font-size: 13.5px; line-height: 1.5; color: var(--ap-mute); }
.ap .ap-readiness { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--ap-orange); font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); max-width: 76ch; }
@media (max-width: 1100px) { .ap .ap-proofs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ap .ap-proofs__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 05 — nemzetközi jelenlét: térkép és „úton 2011 óta” */
.ap .ap-intl__map { position: relative; margin-bottom: 18px; }
.ap .ap-roadt { font: 400 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-400, #f2703f); margin: 10px 0 22px; }

/* az út: egy sáv, amelyen az autó a görgetéssel halad; az állomások sorra „kigyúlnak” */
.ap .ap-road { --n: 7; position: relative; padding-top: 96px; }
.ap .ap-road--steps { --n: 5; }
.ap .ap-road__lane { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(#171a1d, #0f1113); border-top: 1px solid var(--ap-line-2); border-bottom: 1px solid var(--ap-line-2); overflow: hidden; }
.ap .ap-road__dash { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 28px, transparent 28px 60px); animation: ap-road 2.6s linear infinite; }
.ap .ap-road__car { position: absolute; bottom: 7px; left: calc(var(--p, 0) * (100% - 150px)); width: 150px; z-index: 2; filter: drop-shadow(0 6px 5px rgba(0, 0, 0, 0.6)); }
.ap .ap-road__car img { display: block; width: 100%; height: auto; max-width: none; }
.ap .ap-road__stops { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 18px; }
.ap .ap-stop { position: relative; padding-top: 30px; }
.ap .ap-stop::before { content: ''; position: absolute; left: 0; top: -26px; width: 1px; height: 52px; background: var(--ap-line-2); transition: background 0.4s; }
.ap .ap-stop::after { content: ''; position: absolute; left: -6px; top: 24px; width: 13px; height: 13px; border-radius: 50%; background: var(--ap-ink); border: 2px solid var(--ap-orange); transition: background 0.4s, box-shadow 0.4s; }
.ap .ap-stop.is-passed::after { background: var(--ap-orange); box-shadow: 0 0 0 5px rgba(239, 84, 34, 0.22); }
.ap .ap-stop.is-passed::before { background: var(--ap-orange); }
.ap .ap-stop--idea::after { border-style: dashed; }
.ap .ap-stop button { display: flex; flex-direction: column; gap: 7px; width: 100%; padding: 14px 6px 4px 0; margin-top: 2px; text-align: left; cursor: pointer; background: none; border: 0; color: inherit; }
.ap .ap-stop__when { font: 400 12px/1 var(--font-mono, monospace); letter-spacing: 0.14em; color: var(--orange-400, #f2703f); }
.ap .ap-stop__t { font: 400 17px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.ap .ap-stop__p { font-size: 13px; line-height: 1.45; color: var(--ap-mute); }
.ap .ap-stop button:hover .ap-stop__t { color: var(--orange-400, #f2703f); }
.ap .ap-stop--step > div { display: flex; flex-direction: column; gap: 7px; padding: 14px 6px 4px 0; margin-top: 2px; }
.ap .ap-stop--step .ap-stop__t { font-size: 18px; color: #111; }
.ap .ap-stop--step .ap-stop__when { color: var(--orange-700, #ac3512); }
.ap .ap-stop--step .ap-stop__p { font-size: 14px; color: var(--text-secondary, #5c5c5c); }
.ap .ap-sec--gray .ap-stop::after { background: var(--gray-050, #f7f7f7); }
.ap .ap-sec--gray .ap-stop.is-passed::after { background: var(--ap-orange); }
.ap .ap-sec--gray .ap-stop::before { background: #cfcfcf; }
.ap .ap-sec--gray .ap-stop.is-passed::before { background: var(--ap-orange); }
@media (max-width: 1100px) {
  .ap .ap-road { padding-top: 0; }
  .ap .ap-road__lane { display: none; }
  .ap .ap-road__stops { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .ap .ap-stop { padding-top: 0; border-top: 2px solid var(--ap-orange); }
  .ap .ap-stop::before, .ap .ap-stop::after { display: none; }
}
@media (max-width: 600px) { .ap .ap-road__stops { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 06 — mit építhetünk */
.ap .ap-dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ap .ap-dir { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-default, #e0e0e0); overflow: hidden; transition: border-color 0.25s, transform 0.4s var(--ap-ease), box-shadow 0.4s var(--ap-ease); }
.ap .ap-dir:hover, .ap .ap-dir:focus-within { border-color: var(--ap-orange); transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(0, 0, 0, 0.35); }
.ap .ap-dir:focus-within { outline: 2px solid var(--ap-orange); outline-offset: 2px; }
.ap .ap-dir__media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #0c0e10; }
.ap .ap-dir__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ap-ease); }
.ap .ap-dir:hover .ap-dir__media img { transform: scale(1.06); }
.ap .ap-dir .ap-status { align-self: flex-start; color: #111; background: transparent; border-color: #cfcfcf; backdrop-filter: none; }
.ap .ap-dir__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.ap .ap-dir__title { font: 400 19px/1.22 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; }
.ap .ap-dir .ap-card__open { color: #111; }
.ap .ap-dir__body p { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary, #5c5c5c); }
.ap .ap-dir .ap-card__more { margin-top: auto; padding-top: 6px; color: var(--orange-700, #ac3512); }
@media (max-width: 1100px) { .ap .ap-dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ap .ap-dirs { grid-template-columns: 1fr; } }
.ap .ap-more { margin-top: 72px; padding-top: 40px; border-top: 1px solid #cfcfcf; }
.ap .ap-more__t { font: 400 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-700, #ac3512); margin-bottom: 20px; }
.ap .ap-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ap .ap-mini { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px 20px; text-align: left; cursor: pointer; background: #fff; border: 1px solid var(--border-default, #e0e0e0); color: #111; transition: border-color 0.25s, transform 0.4s var(--ap-ease), background 0.25s; }
.ap .ap-mini:hover { border-color: var(--ap-orange); transform: translateY(-3px); }
.ap .ap-mini__ic { color: var(--ap-orange); }
.ap .ap-mini__ic .api { width: 44px; height: 44px; }
.ap .ap-mini__ic .api-d { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ap .ap-mini:hover .ap-mini__ic .api-d { animation: ap-draw-in 0.9s var(--ap-ease) both; }
@keyframes ap-draw-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ap .ap-mini__b { display: flex; flex-direction: column; gap: 6px; }
.ap .ap-mini__b b { font: 400 17px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 400; }
.ap .ap-mini__b em { font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--text-secondary, #5c5c5c); }
.ap .ap-mini__plus { position: absolute; right: 14px; top: 14px; color: var(--orange-700, #ac3512); transition: transform 0.4s var(--ap-ease); }
.ap .ap-mini:hover .ap-mini__plus { transform: rotate(90deg); }
@media (max-width: 1100px) { .ap .ap-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ap .ap-more__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ 07 — bevezetés */
.ap .ap-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 72px; padding-top: 48px; border-top: 1px solid #cfcfcf; }
.ap .ap-pair > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ap .ap-measure p { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary, #5c5c5c); max-width: 56ch; }
.ap .ap-links { margin-top: 56px; padding-top: 40px; border-top: 1px solid #cfcfcf; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px 56px; }
.ap .ap-links__list { display: grid; gap: 0; border-top: 1px solid #cfcfcf; }
.ap .ap-links__list li { position: relative; padding: 12px 0 12px 22px; font-size: 14.5px; line-height: 1.45; color: #222; border-bottom: 1px solid #e3e3e3; }
.ap .ap-links__list li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 10px; height: 1px; background: var(--ap-orange); }
.ap .ap-links__note { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary, #5c5c5c); max-width: 90ch; }
@media (max-width: 900px) { .ap .ap-links { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ap .ap-pair { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; } }

/* ------------------------------------------------------------ 08 — kapcsolat */
.ap .ap-cta { overflow: hidden; isolation: isolate; padding-bottom: 120px; }
.ap .ap-cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ap .ap-cta__bg .ap-hero__glow { inset: -30% auto auto -10%; width: 70%; height: 140%; }
.ap .ap-cta__wm { right: -60px; top: auto; bottom: -160px; height: 560px; opacity: 0.06; }
.ap .ap-cta__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.ap .ap-cta__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.ap .ap-cta__steps { display: grid; gap: 0; width: 100%; margin-top: 18px; border-top: 1px solid var(--ap-line); }
.ap .ap-cta__steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--ap-line); }
.ap .ap-cta__steps li > span { font: 300 26px/1 var(--font-display, 'Jost', sans-serif); color: var(--ap-orange); }
.ap .ap-cta__steps strong { font: 400 17px/1.2 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; }
.ap .ap-cta__steps p { font-size: 14.5px; line-height: 1.5; color: var(--ap-mute); margin-top: 5px; }
.ap .ap-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 38px 36px 34px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--ap-line-2); position: relative; }
.ap .ap-contact::before { content: ''; position: absolute; left: -1px; top: -1px; width: 56px; height: 3px; background: var(--ap-orange); }
.ap .ap-contact__name { font: 300 32px/1.1 var(--font-display, 'Jost', sans-serif); letter-spacing: 0.05em; text-transform: uppercase; }
.ap .ap-contact__role { font: 400 12px/1.4 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ap-mute); margin-bottom: 8px; }
.ap .ap-contact .ap-btn--lg { align-self: stretch; }
.ap .ap-contact__line { font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ap .ap-copy { font: 400 10.5px/1 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ap-mute); background: none; border: 1px solid var(--ap-line-2); border-radius: 2px; padding: 6px 9px; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.ap .ap-copy:hover { color: #fff; border-color: #fff; }
.ap .ap-contact__line a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--ap-line-2); padding-bottom: 2px; }
.ap .ap-contact__line a:hover { color: var(--orange-400, #f2703f); border-color: var(--orange-400, #f2703f); text-decoration: none; }
.ap .ap-contact__phone { display: inline-flex; align-items: center; gap: 9px; padding: 0; background: none; border: 0; cursor: pointer; font-size: 15px; color: #fff; border-bottom: 1px solid var(--ap-line-2); padding-bottom: 2px; }
.ap .ap-contact__phone:hover { color: var(--orange-400, #f2703f); border-color: var(--orange-400, #f2703f); }
.ap .ap-contact__phone a { color: #fff; text-decoration: none; }
.ap .ap-contact .ap-btn--ghost { align-self: stretch; }
.ap .ap-contact__note { font-size: 12.5px; line-height: 1.55; color: var(--ap-dim); margin-top: 8px; }
@media (max-width: 1000px) { .ap .ap-cta__grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 760px) { .ap .ap-cta { padding-bottom: 72px; } .ap .ap-contact { padding: 28px 22px; } }

/* ------------------------------------------------------------ lábléc */
.ap .ap-ftr { background: #000; color: #fff; border-top: 1px solid var(--ap-line); }
.ap .ap-ftr__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.ap .ap-ftr__t { font: 400 11px/1.3 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ap-mute); }

/* ------------------------------------------------------------ belépő mozgás (csak ha a szkript fut) */
.ap.ap-js .ap-rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ap-ease), transform 0.9s var(--ap-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.ap.ap-js .ap-rv.is-in { opacity: 1; transform: none; }
/* a kártyák hover-átmenete ne lassuljon a belépő késleltetéstől */
.ap.ap-js .ap-card.ap-rv.is-in, .ap.ap-js .ap-dir.ap-rv.is-in, .ap.ap-js .ap-tile.ap-rv.is-in, .ap.ap-js .ap-mini.ap-rv.is-in { transition: opacity 0.9s var(--ap-ease), transform 0.4s var(--ap-ease), border-color 0.25s, box-shadow 0.4s var(--ap-ease); transition-delay: 0s; }
/* a helyzet-panelek flex-bővülése se várjon a belépő késleltetésre */
.ap.ap-js .ap-sit.ap-rv.is-in { transition: opacity 0.9s var(--ap-ease), transform 0.9s var(--ap-ease), flex-grow 0.7s var(--ap-ease); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .ap.ap-js .ap-rv { opacity: 1; transform: none; }
  .ap .ap-rise, .ap .ap-car__rig, .ap .ap-car__lamp, .ap .ap-car__beam { animation: none; }
  .ap .ap-ribbon__track, .ap .ap-hero__road, .ap .ap-stage__floor::after, .ap .ap-road__dash { animation: none; }
  .ap .ap-hub__line, .ap .ap-hub__pulse { animation: none; }
}
