/* =====================================================================
   ALAP – színek, betűk, mozgásgörbék, gombok, közös elemek.
   Minden szín és betű itt állítható (a végleges fontot Benével együtt választjuk).
   ===================================================================== */
:root {
  --bg: #0a0909;
  --bg2: #141214;
  --bg3: #1c1a1d;
  --vonal: #2a272b;
  --szoveg: #f3f2f3;
  --halvany: #a9a7ad;
  --piros: #d8262d;
  --piros-vilagos: #ff3d44;
  --szurke-klip: #6e6c74;

  --font-cim: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-szoveg: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 5vw, 56px);
  --max: 1240px;
  --fejlec: 60px;

  /* A videós rendszer mért görbéi (kutatas/MOTION.md 6. pont) */
  --be: cubic-bezier(0.1, 0.85, 0.3, 1);
  --ki: cubic-bezier(0.9, 0, 1, 1);
  --pasztaz: cubic-bezier(0.5, 0.05, 0.3, 0.85);
  --pattan: cubic-bezier(0.34, 1.3, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--szoveg);
  font: 400 16px/1.55 var(--font-szoveg);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--piros-vilagos); outline-offset: 3px; border-radius: 4px; }
.lathatatlan { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipográfia ---------- */
.cim-nagy, .cim-szakasz {
  font-family: var(--font-cim); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 0.95; margin: 0;
}
.cim-nagy { font-size: clamp(40px, 10.6vw, 104px); }
.cim-szakasz { font-size: clamp(32px, 8.4vw, 72px); }
.cim-nagy em, .cim-szakasz em { font-style: normal; color: var(--piros); }
.cimke {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 11px/1 var(--font-cim); letter-spacing: 0.18em; text-transform: uppercase; color: var(--halvany);
}
.cimke::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--piros); }
.bevezeto { color: #d6d4d9; font-size: clamp(16px, 4.2vw, 19px); max-width: 46ch; margin: 0; }
.szakasz { padding: clamp(64px, 12vw, 128px) var(--pad); position: relative; }
.szakasz-fej { display: grid; gap: 14px; margin-bottom: clamp(28px, 6vw, 48px); max-width: var(--max); margin-inline: auto; }
.belso { max-width: var(--max); margin-inline: auto; }

/* ---------- Gombok ---------- */
.gomb {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 10px;
  font: 700 16px/1 var(--font-cim); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--pattan), background-color .2s, box-shadow .25s;
}
.gomb:active { transform: scale(0.97); }
.gomb-fo { background: var(--piros); color: #fff; box-shadow: 0 10px 30px -10px rgba(216, 38, 45, .7); }
.gomb-fo:hover { background: var(--piros-vilagos); }
.gomb-masod { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.gomb-masod:hover { background: rgba(255, 255, 255, .14); }
.gomb-kicsi { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.lejatszas-ikon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }

/* ---------- Helyőrző jelölés (amit Benétől várunk) ---------- */
.hely { color: #f0b84a; }

/* ---------- Felbukkanás görgetésre ---------- */
[data-felbukkan] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--be), transform .8s var(--be); }
[data-felbukkan].lathato { opacity: 1; transform: none; }

/* ---------- Lenyíló (szolgáltatások részletesen + GYIK) ---------- */
.lenyilo { border-radius: 14px; background: var(--bg2); border: 1px solid var(--vonal); overflow: hidden; transition: border-color .3s, box-shadow .4s; }
.lenyilo + .lenyilo { margin-top: 10px; }
.lenyilo-fej { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 18px; text-align: left; }
.lenyilo-fej .jel { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); flex: none; transition: transform .35s var(--be); }
.lenyilo-fej .jel::before { content: "+"; font: 600 18px/1 var(--font-cim); }
.lenyilo.nyitva .lenyilo-fej .jel { transform: rotate(45deg); }
.lenyilo-test { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--be); }
.lenyilo.nyitva .lenyilo-test { grid-template-rows: 1fr; }
.lenyilo-test > div { overflow: hidden; }
.lenyilo-tartalom { padding: 0 18px 20px; color: #d6d4d9; }

/* ---------- Csökkentett mozgás + képkészítő mód ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-felbukkan] { opacity: 1; transform: none; }
}
.kepmod *, .kepmod *::before, .kepmod *::after { animation: none !important; transition: none !important; }
.kepmod [data-felbukkan] { opacity: 1; transform: none; }
.kepmod { scroll-behavior: auto; }

/* ---------- Mozgás megállítva (a fejléc gombjával) ---------- */
.mozgas-all *, .mozgas-all *::before, .mozgas-all *::after { animation-play-state: paused !important; }

/* Érintő / egér szóváltozat (Bene, 2026-10-05: asztalon „kattints”): <span class="erinto">koppints</span><span class="eger">kattints</span> */
.eger { display: none; }
@media (hover: hover) and (pointer: fine) { .eger { display: inline; } .erinto { display: none; } }
