/* Ovvo, a pálya utáni rész: csomagválasztó élő árral, ajánlatkérő, lábléc.
   Ugyanaz a világ, mint a jelenetek: fekete alap, üveglapok vékony fényszéllel, egy narancs jelzőszín, lent meleg derengés. */

.vege { --glass: linear-gradient(180deg, rgba(245, 245, 247, .065), rgba(245, 245, 247, .018) 60%, rgba(245, 245, 247, .03));
  --edge: rgba(245, 245, 247, .13); --hair: rgba(245, 245, 247, .12); --hiba: #FF8F6B;
  position: relative; z-index: 30; color: var(--ink); overflow-x: clip;
  /* a hologram majdnem fekete utolsó képe lágyan olvad át az új rész alapjába */
  background: linear-gradient(180deg, rgba(5, 5, 7, 0), rgba(5, 5, 7, .86) min(26vh, 240px), var(--ground) min(46vh, 420px)); }
/* ha az új rész már az egész képet takarja, a rögzített világ rejtve van (és a main.mjs sem rajzol) */
html[data-mult] .sc-world, html[data-mult] .sc-world__copy { visibility: hidden; }
html[data-mult] .bar { background: rgba(5, 5, 7, .74); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); box-shadow: 0 1px 0 rgba(245, 245, 247, .06); }
html { scroll-padding-top: 84px; }
[tabindex="-1"]:focus { outline: none; }

.sr, .lap__radio, .kapcs__in { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.aj, .kero { position: relative; max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.aj { padding-top: clamp(9rem, 30vh, 16rem); padding-bottom: clamp(5rem, 12vh, 8rem); }
.aj__fej, .kero__fej { max-width: 40rem; margin-bottom: clamp(2.2rem, 5vh, 3.4rem); }
.aj__fej .body, .kero__fej .body { max-width: 32rem; }
.vege .h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: .98; letter-spacing: -.028em; font-weight: 800; font-stretch: 116%; }

/* lent, a csomagok alatt meleg derengés: mintha a hologram fénye maradt volna a padlón */
.aj::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -8rem; width: min(1500px, 150vw); height: 34rem; translate: -50% 0; pointer-events: none;
  background: radial-gradient(50% 46% at 50% 62%, rgba(255, 78, 26, .17), rgba(255, 78, 26, .05) 55%, rgba(255, 78, 26, 0) 100%); }

.aj__racs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 392px); gap: clamp(24px, 3.2vw, 52px); align-items: start; }

/* ---- a három csomaglap ---- */
.lapok { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 8px; }
.lap { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto; gap: 6px; min-height: 236px; padding: 22px 22px 20px; cursor: pointer;
  background: var(--glass); border: 1px solid var(--edge); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: transform 600ms var(--ease), border-color 300ms linear, box-shadow 600ms var(--ease), background 300ms linear; }
.lap:hover { border-color: rgba(245, 245, 247, .26); }
.lap--on { transform: translateY(-8px); border-color: rgba(245, 245, 247, .44);
  background: linear-gradient(180deg, rgba(245, 245, 247, .11), rgba(245, 245, 247, .03) 55%, rgba(255, 78, 26, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 34px 60px -34px rgba(255, 78, 26, .6), 0 18px 40px -20px rgba(0, 0, 0, .8); }
.lap:has(.lap__radio:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.lap__fej { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lap__nev { font-weight: 780; font-stretch: 114%; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.1; }
.lap__jel { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid rgba(245, 245, 247, .4); transition: border-color 300ms linear, background 300ms linear, box-shadow 300ms linear; }
.lap--on .lap__jel { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 42%, transparent 46%); box-shadow: 0 0 14px rgba(255, 78, 26, .55); }
.lap__rovid { color: var(--ink-soft); font-size: .93rem; line-height: 1.4; text-wrap: pretty; padding-bottom: 14px; }
.lap__ar, .lap__havi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.lap__ar b, .lap__havi b { font-weight: 720; font-size: 1.2rem; letter-spacing: -.01em; }
.lap__ar span, .lap__havi span { color: var(--ink-soft); font-size: .86rem; }
/* fénycsík: kiválasztáskor egyszer végigfut a lapon */
.lap__sopor { position: absolute; inset: -2px; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .15) 46%, rgba(255, 190, 160, .12) 51%, transparent 64%); transform: translateX(-110%); }
.lap--sopor .lap__sopor { animation: sopor 1100ms var(--ease) both; }
@keyframes sopor { 0% { opacity: 1; transform: translateX(-110%); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(110%); } }

/* ---- mi van a csomagban ---- */
.lista { margin-top: clamp(2.6rem, 6vh, 3.6rem); }
.lista__cim { margin: 0; font-weight: 720; font-stretch: 110%; font-size: 1.3rem; letter-spacing: -.01em; }
.lista__le { margin: .4rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.lista__sorok { list-style: none; margin: 1.2rem 0 0; padding: 0; border-top: 1px solid var(--hair); }
.sor { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; padding: 15px 0; border-bottom: 1px solid var(--hair); }
.sor__nev { margin: 0; font-weight: 650; font-size: 1.02rem; }
.sor__le { margin: 2px 0 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.45; max-width: 36rem; }
.sor__hol { margin: 4px 0 0; color: var(--ink-dim); font-size: .84rem; line-height: 1.4; }
.sor__hol:empty { display: none; }
.sor--kulon .sor__nev { color: rgba(245, 245, 247, .82); }
.sor__allapot { display: flex; justify-content: flex-end; min-width: 116px; }
.pipa { display: none; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink); min-height: 44px; }
.pipa svg { width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(255, 78, 26, .16); box-shadow: inset 0 0 0 1px rgba(255, 78, 26, .55); }
.pipa path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.sor--benne .pipa { display: inline-flex; }
.sor--be .pipa { animation: pipa-be 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.sor--be .pipa path { animation: pipa-rajz 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
@keyframes pipa-be { from { opacity: 0; transform: translateY(6px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes pipa-rajz { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

/* kapcsoló a külön kérhető extrákhoz; az egész felirat koppintható, legalább 44 px magas */
.kapcs { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 8px; cursor: pointer; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.sor--kulon .kapcs { display: inline-flex; }
.kapcs__sin { order: 2; position: relative; width: 46px; height: 28px; flex: none; border-radius: 99px; background: rgba(245, 245, 247, .1); box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .22); transition: background 250ms linear, box-shadow 250ms linear; }
.kapcs__sin::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: translate 350ms var(--ease); }
.kapcs__in:checked ~ .kapcs__sin { background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 0 18px rgba(255, 78, 26, .35); }
.kapcs__in:checked ~ .kapcs__sin::after { translate: 18px 0; background: #fff; }
.kapcs__in:checked ~ .kapcs__szoveg { color: var(--ink); }
.kapcs__in:focus-visible ~ .kapcs__sin { outline: 2px solid var(--ink); outline-offset: 3px; }
.kapcs:hover .kapcs__sin { box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .45); }

/* ---- árpanel: üveglap, mellette ragad ---- */
.ar { position: sticky; top: 92px; }
.ar__belso { position: relative; overflow: hidden; padding: 26px 26px 22px; border-radius: 26px; background: var(--glass); border: 1px solid rgba(245, 245, 247, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -40px rgba(255, 78, 26, .4); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.ar__belso::before { content: ""; position: absolute; inset: auto -20% -50% -20%; height: 70%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 78, 26, .2), rgba(255, 78, 26, 0)); }
.ar__cs { margin: 0 0 18px; color: var(--ink-soft); font-size: .95rem; }
.ar__cs b { color: var(--ink); font-weight: 700; }
.ar__lbl { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.ar__nagy { margin: 6px 0 16px; display: flex; align-items: baseline; gap: .2em; font-weight: 800; font-stretch: 112%; font-size: clamp(3rem, 4.6vw, 4.4rem); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.ar__havi { margin: 6px 0 0; display: flex; align-items: baseline; gap: .25em; font-weight: 760; font-stretch: 110%; font-size: clamp(1.9rem, 2.6vw, 2.4rem); letter-spacing: -.025em; line-height: 1; white-space: nowrap; }
.ar__ft { font-size: .42em; font-weight: 650; letter-spacing: 0; color: var(--ink-soft); }
.ar__havi .ar__ft { font-size: .5em; }
.ar__extra { margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 78, 26, .1); box-shadow: inset 0 0 0 1px rgba(255, 78, 26, .3); font-size: .9rem; line-height: 1.4; }
.ar__fedez { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); color: var(--ink-soft); font-size: .92rem; line-height: 1.45; }
.ar__gomb { display: block; margin-top: 18px; text-align: center; min-height: 52px; }
.ar__apro { margin: 12px 0 0; color: var(--ink-dim); font-size: .82rem; line-height: 1.4; text-align: center; }

/* kilométeróra: hengerek, a széleken sötétedő dobbal */
.odo { display: inline-flex; align-items: flex-start; font-variant-numeric: lining-nums proportional-nums; }
.odo__d { display: inline-block; height: 1.12em; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); }
.odo__reel { display: flex; flex-direction: column; will-change: transform; }
.odo__reel span { display: block; height: 1.12em; line-height: 1.12em; text-align: center; }
.odo__sp { width: .2em; }

/* ---- telefonos ársáv ---- */
.alsav { display: none; }

/* ---- ajánlatkérő ---- */
.kero { padding-top: clamp(4rem, 10vh, 7rem); padding-bottom: clamp(5rem, 12vh, 8rem); }
.kero::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: linear-gradient(90deg, rgba(245, 245, 247, 0), rgba(245, 245, 247, .16), rgba(245, 245, 247, 0)); }
.kero__racs { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.osszeg { position: sticky; top: 92px; padding: 24px; border-radius: 24px; background: var(--glass); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.osszeg__cim { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.osszeg__sorok { margin: 0; }
.osszeg__sorok > div { padding: 11px 0; border-top: 1px solid var(--hair); }
.osszeg__sorok dt { color: var(--ink-dim); font-size: .84rem; }
.osszeg__sorok dd { margin: 3px 0 0; font-weight: 600; line-height: 1.4; }
.osszeg__ar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.osszeg__ar dd { margin: 0; font-size: 1.3rem; font-weight: 760; letter-spacing: -.015em; white-space: nowrap; }
.osszeg__apro { margin: 14px 0 0; color: var(--ink-dim); font-size: .84rem; line-height: 1.45; }
.osszeg__apro .link { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }

.urlap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.urlap[hidden], .kesz[hidden] { display: none; }
.mezo { display: grid; gap: 7px; align-content: start; }
.mezo:nth-child(5), .mezo:nth-child(6) { grid-column: 1 / -1; }
.mezo label { font-size: .95rem; font-weight: 620; }
.mezo label span { margin-left: 6px; font-weight: 500; font-size: .84rem; color: var(--ink-dim); }
.mezo input, .mezo textarea { width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(245, 245, 247, .045);
  border: 1px solid rgba(245, 245, 247, .18); border-radius: 14px; outline: none; transition: border-color 200ms linear, box-shadow 200ms linear, background 200ms linear; }
.mezo textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.mezo input:hover, .mezo textarea:hover { border-color: rgba(245, 245, 247, .3); }
.mezo input:focus-visible, .mezo textarea:focus-visible, .mezo input:focus, .mezo textarea:focus { border-color: rgba(245, 245, 247, .7); background: rgba(245, 245, 247, .07); box-shadow: 0 0 0 4px rgba(255, 78, 26, .2); }
.mezo--hiba input { border-color: var(--hiba); box-shadow: 0 0 0 3px rgba(255, 143, 107, .14); }
.mezo__hiba { margin: 0; color: var(--hiba); font-size: .88rem; line-height: 1.4; }
.mezo__hiba:empty { display: none; }
.mezo__hiba::before { content: "!"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; background: var(--hiba); color: #1a0a05; font-size: .72rem; font-weight: 800; vertical-align: 1px; }
.mezo__sugo { margin: 0; color: var(--ink-dim); font-size: .84rem; }
.urlap__ossz { grid-column: 1 / -1; margin: 0; color: var(--hiba); font-weight: 600; font-size: .95rem; }
.urlap__ossz:empty { display: none; }
.urlap__lab { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.urlap__gomb { border: 0; font: inherit; font-weight: 680; font-size: 1.05rem; cursor: pointer; min-height: 54px; padding: 15px 28px; }
.urlap__megjegyzes { flex: 1 1 22rem; margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; max-width: 34rem; }

.kesz { padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--glass); border: 1px solid rgba(245, 245, 247, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(255, 78, 26, .35); }
.kesz__cim { margin: 0; font-weight: 780; font-stretch: 112%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.05; }
.kesz__le { margin: .9rem 0 0; color: var(--ink-soft); max-width: 36rem; }
.kesz__le .link { color: var(--ink); }
.kesz__gombok { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.kesz__gombok .btn { border: 0; font: inherit; font-weight: 650; cursor: pointer; min-height: 50px; }
.gomb2 { display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px; border-radius: 99px; border: 1px solid rgba(245, 245, 247, .3); background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color 200ms linear, background 200ms linear; }
.gomb2:hover { border-color: rgba(245, 245, 247, .6); background: rgba(245, 245, 247, .05); }
.kesz__masolva { margin: 12px 0 0; color: var(--ink); font-size: .92rem; }
.kesz__masolva:empty { display: none; }
.kesz__szoveg { margin: 1.2rem 0 0; padding: 16px 18px; max-height: 340px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 400 .88rem/1.55 "Mona Sans", system-ui, sans-serif; color: var(--ink-soft); background: rgba(0, 0, 0, .35); border: 1px solid var(--hair); border-radius: 14px; }

/* ---- lábléc ---- */
.lab { position: relative; max-width: 1320px; margin: 0 auto; padding: 40px var(--gutter) calc(48px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; border-top: 1px solid var(--hair); }
.lab__jel { height: 18px; width: auto; fill: var(--ink); }
.lab__cim { font-weight: 600; text-decoration: none; padding: 10px 0; }
.lab__cim:hover { text-decoration: underline; text-underline-offset: 5px; }
.lab__apro { margin: 0 0 0 auto; color: var(--ink-dim); font-size: .86rem; }

/* ---- keskeny képernyő ---- */
@media (max-width: 899px) {
  .aj__racs, .kero__racs { grid-template-columns: minmax(0, 1fr); }
  .ar, .osszeg { position: relative; top: auto; }
  .lapok { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lap { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; column-gap: 14px; row-gap: 2px; padding: 16px 18px; border-radius: 18px; }
  .lap--on { transform: translateY(-3px); }
  .lap__fej { grid-column: 1; justify-content: flex-start; gap: 10px; }
  .lap__jel { order: -1; }
  .lap__fej { grid-row: 1; } .lap__rovid { grid-column: 1; grid-row: 2; padding: 0; font-size: .86rem; }
  .lap__ar, .lap__havi { grid-column: 2; justify-content: flex-end; text-align: right; }
  .lap__ar { grid-row: 1; } .lap__havi { grid-row: 2; }
  .lap__ar span, .lap__havi span { display: none; }
  .lap__ar b, .lap__havi b { font-size: 1.04rem; }
  .lap__havi b::after { content: " / hó"; }
  .lap__nev { font-size: 1.3rem; }
  .sor { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sor__allapot { justify-content: flex-start; min-width: 0; }
  .kapcs { padding-left: 0; flex-direction: row-reverse; justify-content: flex-end; }
  .lista { margin-top: 2.2rem; }
  .ar { margin-top: 6px; }
  .osszeg { margin-bottom: 8px; }
  .urlap { grid-template-columns: minmax(0, 1fr); }
  .mezo { grid-column: 1 / -1; }
  .lab__apro { margin-left: 0; flex-basis: 100%; }
  /* a kis ársáv lebeg; a Netlify-jelvény (202×64 px, jobbra lent) miatt 76 px-re a széltől. Jelvény nélkül ez 12 px lehet. */
  .alsav { --lent: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(var(--lent) + env(safe-area-inset-bottom));
    padding: 7px 7px 7px 18px; border-radius: 99px; background: rgba(14, 14, 18, .82); border: 1px solid rgba(245, 245, 247, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 40px -12px rgba(0, 0, 0, .9);
    -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%);
    opacity: 0; transform: translateY(24px); pointer-events: none; visibility: hidden; transition: opacity 300ms linear, transform 500ms var(--ease), visibility 0s linear 500ms; }
  .alsav--on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 300ms linear, transform 500ms var(--ease), visibility 0s; }
  .alsav__ar { margin: 0; font-size: .9rem; line-height: 1.25; min-width: 0; }
  .alsav__ar b { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  .alsav__gomb { padding: 12px 20px; min-height: 46px; flex: none; font-size: .98rem; }
}
@media (max-width: 420px) { .ar__belso { padding: 22px 20px 20px; } .ar__nagy { font-size: 2.9rem; } }

@media (prefers-reduced-motion: reduce) {
  .lap, .lap__jel, .kapcs__sin, .kapcs__sin::after, .alsav, .mezo input, .mezo textarea { transition: none !important; }
  .lap--on { transform: none; }
  .lap__sopor, .sor--be .pipa, .sor--be .pipa path { animation: none !important; }
}

/* JavaScript nélkül: a három csomag szövegesen (index.html, <noscript>) */
.nojs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 40rem; }
.nojs li { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--edge); border-radius: 18px; background: var(--glass); color: var(--ink); line-height: 1.45; }
.nojs b { font-weight: 780; font-size: 1.3rem; letter-spacing: -.02em; }
.nojs span { color: var(--ink-soft); font-size: .93rem; }
.nojs__apro { margin-top: 18px; color: var(--ink-soft); }
