/* ==========================================================================
   PHASE ONE Academy by Marsimo
   Egyoldalas weboldal - stiluslap
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Betutipusok (self-hosted, nincs Google Fonts CDN keres -> GDPR-tiszta)
   -------------------------------------------------------------------------- */

/* Archivo - variable (wght 100-900, wdth 62-125%). A Horizon helyettesitoje:
   900-as sulyon, 125%-ra szelesitve nagyon kozel all a logo karakterehez. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* League Spartan - variable (wght 100-900) */
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/spartan-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/spartan-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Design tokenek
   -------------------------------------------------------------------------- */

:root {
  --bg:        #050505;
  --bg-alt:    #0A0708;
  --surface:   #0F0E0F;
  --surface-2: #151314;
  --line:      #2A1618;
  --line-soft: #1C1516;

  --red:       #E10600;
  --red-hot:   #FF2A1F;
  --red-deep:  #7A0300;
  --red-dim:   #B00500;

  --text:      #F6F4F1;
  --muted:     #A29B9C;
  --muted-2:   #7A7274;

  --display: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --body: 'League Spartan', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1200px;
  --header-h: 76px;
  --section-pad: clamp(70px, 10vw, 130px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* --------------------------------------------------------------------------
   3. Alapok
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* A body-n levo overflow-x: hidden onmagaban nem eleg — iOS Safariban a
     lap ilyenkor is elhuzhato oldalra. A html-en is kell. */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-hot); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap-narrow { max-width: 820px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--red); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
}
.skip-link:focus { top: 0; color: #fff; }

/* Finom filmszemcse az egesz oldalon */
.grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Lebego piros reszecskek az egesz oldal hattereben.
   Fix reteg a tartalom alatt: csak transform es opacity animal, ezert a
   bongeszo nem szamol ujra sem layoutot, sem festest - vegig a GPU-n fut. */
.ambient {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  transition: opacity .7s var(--ease);
}
/* A heroban nem latszik (a JS kapcsolja) - ott az EQ adja a mozgast */
.ambient.is-hidden { opacity: 0; }
.ambient.is-hidden span { animation-play-state: paused; }
.ambient span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-hot) 0%, rgba(225, 6, 0, .55) 38%, transparent 72%);
  opacity: 0;
  will-change: transform, opacity;
  animation: floatUp 34s linear infinite;
}

/* Vizszintes hely, meret, idozites es sodrodas reszecskenkent.
   A negativ animation-delay miatt indulaskor mar "folyamatban" van a mozgas. */
.ambient span:nth-child(1)  { left:  3%; --drift:  26px; animation-duration: 38s; animation-delay:  -2s; }
.ambient span:nth-child(2)  { left:  8%; --drift: -34px; animation-duration: 51s; animation-delay: -20s; width: 4px; height: 4px; }
.ambient span:nth-child(3)  { left: 13%; --drift:  18px; animation-duration: 44s; animation-delay: -35s; width: 7px; height: 7px; }
.ambient span:nth-child(4)  { left: 17%; --drift: -22px; animation-duration: 33s; animation-delay: -11s; }
.ambient span:nth-child(5)  { left: 22%; --drift:  40px; animation-duration: 57s; animation-delay: -44s; width: 4px; height: 4px; }
.ambient span:nth-child(6)  { left: 26%; --drift: -16px; animation-duration: 41s; animation-delay: -28s; width: 6px; height: 6px; }
.ambient span:nth-child(7)  { left: 31%; --drift:  30px; animation-duration: 47s; animation-delay:  -6s; }
.ambient span:nth-child(8)  { left: 35%; --drift: -28px; animation-duration: 36s; animation-delay: -24s; width: 4px; height: 4px; }
.ambient span:nth-child(9)  { left: 40%; --drift:  22px; animation-duration: 53s; animation-delay: -39s; width: 7px; height: 7px; }
.ambient span:nth-child(10) { left: 44%; --drift: -38px; animation-duration: 40s; animation-delay: -15s; }
.ambient span:nth-child(11) { left: 48%; --drift:  14px; animation-duration: 49s; animation-delay: -31s; width: 4px; height: 4px; }
.ambient span:nth-child(12) { left: 53%; --drift: -24px; animation-duration: 35s; animation-delay:  -9s; width: 6px; height: 6px; }
.ambient span:nth-child(13) { left: 57%; --drift:  32px; animation-duration: 55s; animation-delay: -47s; }
.ambient span:nth-child(14) { left: 62%; --drift: -20px; animation-duration: 43s; animation-delay: -18s; width: 4px; height: 4px; }
.ambient span:nth-child(15) { left: 66%; --drift:  36px; animation-duration: 39s; animation-delay: -26s; width: 6px; height: 6px; }
.ambient span:nth-child(16) { left: 70%; --drift: -30px; animation-duration: 52s; animation-delay:  -4s; }
.ambient span:nth-child(17) { left: 75%; --drift:  20px; animation-duration: 34s; animation-delay: -21s; width: 4px; height: 4px; }
.ambient span:nth-child(18) { left: 79%; --drift: -18px; animation-duration: 56s; animation-delay: -42s; width: 7px; height: 7px; }
.ambient span:nth-child(19) { left: 84%; --drift:  28px; animation-duration: 42s; animation-delay: -13s; }
.ambient span:nth-child(20) { left: 88%; --drift: -36px; animation-duration: 48s; animation-delay: -33s; width: 4px; height: 4px; }
.ambient span:nth-child(21) { left: 92%; --drift:  16px; animation-duration: 37s; animation-delay:  -7s; width: 6px; height: 6px; }
.ambient span:nth-child(22) { left: 96%; --drift: -26px; animation-duration: 54s; animation-delay: -29s; }
.ambient span:nth-child(23) { left: 19%; --drift:  24px; animation-duration: 45s; animation-delay: -37s; width: 4px; height: 4px; }
.ambient span:nth-child(24) { left: 72%; --drift: -32px; animation-duration: 50s; animation-delay: -17s; width: 5px; height: 5px; }

/* Ket nagy, nagyon halvany neonfolt - ez adja a lassu "lelegzo" hatteret */
.ambient span:nth-child(25),
.ambient span:nth-child(26) {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(225, 6, 0, .16) 0%, transparent 68%);
  animation: floatBlob 46s ease-in-out infinite alternate;
}
.ambient span:nth-child(25) { left: 8%;  top: 18%; animation-delay: -12s; }
.ambient span:nth-child(26) { left: 74%; top: 58%; animation-delay: -30s; animation-duration: 61s; }

@keyframes floatUp {
  0%   { transform: translate3d(0, 100vh, 0) scale(.6); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: .7; }
  100% { transform: translate3d(var(--drift, 20px), -12vh, 0) scale(1.15); opacity: 0; }
}

@keyframes floatBlob {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .5; }
  to   { transform: translate3d(7vw, -9vh, 0) scale(1.35); opacity: .9; }
}

/* A ".section-alt" hattere kicsit atlatszo, hogy a reszecskek ott is atlassanak.
   Az eredmenyul kapott szin gyakorlatilag azonos a korabbi --bg-alt-tal. */

/* --------------------------------------------------------------------------
   4. Tipografia
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  color: var(--red);
  /* Vegso biztonsagi halo: ha egy szo semmikeppen nem fer ki (keskeny
     kijelzo, hosszu magyar osszetett szo), inkabb torjon, mint kilogjon.
     Elvalasztojel (hyphens: auto) szandekosan nincs — a nagy cimeknel
     csunyan tordelt ("EXT-RA"), es amugy sem lenne szabad idaig jutni. */
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  margin-bottom: .45em;
}
h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  line-height: 1.05;
  letter-spacing: -.005em;
}
h4 {
  font-size: .8rem;
  letter-spacing: .16em;
  font-stretch: 100%;
  color: var(--muted);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 700; }
em { font-style: normal; color: var(--red-hot); }

.eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.4em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, transparent 60%);
}

.section-lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   5. Szekciok
   -------------------------------------------------------------------------- */

/* A szekcio belso margoja es a horgony-igazitas ugyanabbol az ertekbol jon.
   A `scroll-margin-top` szandekosan negativ: a bongeszo alapbol a szekcio
   KULSO elere ugrik, es a nagy belso margo miatt a cim messze lecsuszna a
   kepernyon. A belso margot levonva a szekcio cime kerul a fejlec ala. */
.section {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
  scroll-margin-top: calc(var(--header-h) + 18px - var(--section-pad));
}

.section-alt {
  /* Eleg atlatszo, hogy a hatterben lebego reszecskek itt is jol latszanak,
     de a szekciok kozti vilagosabb/sotetebb valtakozas megmarad. */
  background: rgba(26, 18, 20, .45);
  border-block: 1px solid var(--line-soft);
}

/* Halvany piros feny minden masodik szekcio tetejen */
.section-alt::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-deep), transparent);
}

/* --------------------------------------------------------------------------
   6. Gombok
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 30px -12px rgba(225, 6, 0, .9);
}
.btn-primary:hover {
  background: var(--red-hot);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(255, 42, 31, .95);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(225, 6, 0, .08);
  transform: translateY(-2px);
}

.btn-elite {
  background: linear-gradient(100deg, var(--red-deep), var(--red));
  color: #fff;
  box-shadow: 0 8px 30px -14px rgba(225, 6, 0, .9);
}
.btn-elite:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.15); }

.btn-sm { padding: 11px 20px; font-size: .82rem; }
.btn-block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   7. Fejlec
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

/* A fejlec bal szele a kepernyo szelehez tapad (a logo kitolva),
   jobb oldalon marad a normal belso margo. */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  padding-left: 20px;
  padding-right: clamp(18px, 3vw, 34px);
}

.brand img {
  height: 34px;
  width: auto;
  transition: opacity .2s;
}
.brand:hover img { opacity: .8; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .03em;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after,
.main-nav a.is-current::after { width: 100%; }
.main-nav a.is-current { color: var(--red-hot); }

/* A fejleces "Jelentkezem" gomb: tiszta feher felirat, kicsit nagyobb.
   A `.main-nav a` szelektor erosebb a puszta `.nav-cta`-nal, ezert kell
   ide is a `.main-nav` prefix. */
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta,
.main-nav a.nav-cta:hover,
.main-nav a.nav-cta:focus,
.main-nav a.nav-cta.is-current {
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  font-stretch: 110%;
  letter-spacing: .06em;
  padding: 13px 28px;
}

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 2px; width: 100%;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 50px) 0 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 130vw; height: 110vh;
  /* A radialis gradiensek maguktol lagyak - blur filter nelkul is jol nez ki,
     viszont egy ekkora blur reteg minden gorgeteskor ujrarajzolast keny. */
  background:
    radial-gradient(ellipse 45% 40% at 50% 42%, rgba(225, 6, 0, .30), transparent 70%),
    radial-gradient(ellipse 70% 50% at 80% 15%, rgba(122, 3, 0, .35), transparent 65%);
  pointer-events: none;
}

/* Lassan lukteto EQ savok a hero aljan.
   Fontos: transform: scaleY() animal, nem height - igy a bongeszo nem szamol
   ujra layoutot minden kepkockan, csak a GPU-n skalaz. */
.eq {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding-inline: 2px;
  opacity: .22;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 75%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 75%);
}
.eq span {
  flex: 1;
  background: linear-gradient(180deg, var(--red-hot), var(--red-deep));
  height: 100%;
  transform-origin: bottom center;
  transform: scaleY(.12);
  will-change: transform;
  animation: eqPulse 2.4s var(--ease) infinite alternate;
  border-radius: 2px 2px 0 0;
}
/* A hero elhagyasakor a JS megallitja az animaciot */
.eq.is-paused span { animation-play-state: paused; }
.eq span:nth-child(3n)   { animation-duration: 3.1s; }
.eq span:nth-child(3n+1) { animation-duration: 2.6s; }
.eq span:nth-child(4n)   { animation-duration: 1.9s; }
.eq span:nth-child(2n)   { animation-delay: -.9s; }
.eq span:nth-child(5n)   { animation-delay: -1.5s; }
.eq span:nth-child(7n)   { animation-delay: -.4s; }

@keyframes eqPulse {
  from { transform: scaleY(.12); }
  to   { transform: scaleY(.85); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-inner .eyebrow {
  justify-content: center;
  color: var(--muted);
}
.hero-inner .eyebrow::after { display: none; }

.hero-logo {
  margin: 0 auto 1.4rem;
  max-width: 660px;
}
.hero-logo img {
  width: 100%;
  filter: drop-shadow(0 10px 50px rgba(0, 0, 0, .8));
}

.hero-claim {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 115%;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 3.6vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: .8em;
}
.hero-claim em { color: var(--red); }

.hero-lead {
  max-width: 58ch;
  margin: 0 auto 2.4rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.4rem;
}

/* Harom rovid allitas a hero aljan, mindegyik elott egy piros ponttal.
   A jelolo inline, igy nem tud elcsuszni a szovegtol. */
.hero-points {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 44px);
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(.78rem, 1.4vw, .9rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.hero-points li::before {
  content: '';
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(225, 6, 0, .9);
}

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 24px; height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 7px;
}
.scroll-hint span {
  width: 3px; height: 7px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* --------------------------------------------------------------------------
   9. Rolam
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.about-photo { position: relative; }
.about-photo::before {
  content: '';
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  z-index: 0;
}
.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% top;
  border-radius: var(--r-md);
  background: var(--surface);
}

.about-text h2 { margin-bottom: .6em; }
.about-text p { color: var(--muted); }

.about-points {
  list-style: none;
  margin: 2.2rem 0 0; padding: 1.8rem 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 12px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}
.about-points li::before {
  content: '';
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(225, 6, 0, .8);
}

/* --------------------------------------------------------------------------
   10. Kartyak (Miert / Workshopok)
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 2.6rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--red-deep);
  background: var(--surface-2);
}
.card h3 { color: var(--red); margin-bottom: .55em; }
.card p { color: var(--muted); font-size: .96rem; }

.card-hi {
  background: linear-gradient(165deg, rgba(225, 6, 0, .1), var(--surface) 55%);
  border-color: var(--red-deep);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(225, 6, 0, .1);
  border: 1px solid var(--line);
  color: var(--red-hot);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }

.card .btn { margin-top: 1.2em; }

/* Workshopok: egyetlen kozlemeny a harom kartya helyett */
.ws-notice {
  max-width: 760px;
  margin-top: 2.4rem;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(225, 6, 0, .12), transparent 65%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.ws-notice p { color: var(--muted); }
.ws-notice .btn { margin-top: .6rem; }

/* --------------------------------------------------------------------------
   11. Arak
   -------------------------------------------------------------------------- */

.price-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  margin-bottom: 2.8rem;
}
.price-switch button {
  font-family: var(--body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.price-switch button:hover { color: var(--text); }
.price-switch button.is-active {
  background: var(--red);
  color: #fff;
}
.price-switch .off {
  font-size: .74rem;
  opacity: .8;
  margin-left: 4px;
}

/* align-items: stretch (alapertelmezett), hogy a harom kartya egyforma magas
   legyen es a gombok egy vonalban alljanak */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--red-deep); }

.plan-featured {
  border-color: var(--red);
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(225, 6, 0, .16), transparent 70%),
    var(--surface);
  box-shadow: 0 24px 70px -40px rgba(225, 6, 0, .85);
}
.plan-elite {
  border-color: var(--line);
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(122, 3, 0, .3), transparent 70%),
    var(--surface);
}

.plan-flag {
  position: absolute;
  top: -11px; left: 28px;
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0;
}
.plan-flag-elite { background: var(--text); color: #0b0b0b; }

.plan-head { margin-bottom: 18px; }
.plan-head h3 { margin-bottom: .35em; font-size: 1.5rem; }

/* Ha a harom kartya egymas mellett all, a fejlec-blokk fix magassagot kap,
   igy a nevek ES az arak is pontosan egy vonalban allnak mindharom kartyan
   (a leghosszabb valtozathoz meretezve: 2 soros cim + 2 soros alcim). */
@media (min-width: 1081px) {
  .plan-head { min-height: 116px; }
}

/* B2B modban a Signature-nel nincs ar, hanem egyedi ajanlat */
#pricing[data-mode="duo"] .plan-elite .plan-price .cur { display: none; }
#pricing[data-mode="duo"] .plan-elite .plan-price .amount {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--red-hot);
  letter-spacing: 0;
}
.plan-sub {
  margin: 0;
  font-size: .84rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 6px;
  flex-wrap: wrap;
}
.plan-price .amount {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 2.9rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  color: var(--text);
  letter-spacing: -.02em;
}
.plan-price .cur {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red);
}
.plan-price .per {
  font-size: .88rem;
  color: var(--muted-2);
}
.plan-price .per:empty { display: none; }

.plan-note {
  min-height: 1.2em;
  margin: 0 0 18px;
  font-size: .84rem;
  color: var(--muted-2);
}
.plan-note:empty { margin-bottom: 8px; }

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--red-hot);
  background: rgba(225, 6, 0, .1);
  border: 1px solid var(--red-deep);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  margin: 0 0 18px;
}

.plan-list {
  list-style: none;
  margin: 0 0 24px; padding: 0;
  flex: 1;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 2px; top: .52em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.plan-extend {
  font-size: .84rem;
  color: var(--muted-2);
  margin: 0 0 16px;
  padding-top: 2px;
}

.plan-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.plan-wide h3 { margin-bottom: .4em; }
.plan-wide p { color: var(--muted); max-width: 62ch; font-size: .96rem; }
.plan-wide-price {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.plan-wide-price .plan-price { margin-bottom: 0; }

/* Egyeni <-> paros valtas: a nem relevans elemek elrejtese */
.pricing[data-mode="duo"] .plan-elite .plan-extend-duo { color: var(--red-hot); }

/* --------------------------------------------------------------------------
   12. Kviz
   -------------------------------------------------------------------------- */

.quiz {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 34px clamp(20px, 4vw, 40px) 26px;
}

.quiz-progress {
  height: 3px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 30px;
}
.quiz-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red-deep), var(--red-hot));
  transition: width .45s var(--ease);
}

.quiz-q {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 115%;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.05;
  color: var(--red);
  margin: 0 0 1.4rem;
}

.quiz-options {
  display: grid;
  gap: 10px;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .18s var(--ease);
}
.quiz-opt:hover {
  border-color: var(--red);
  background: rgba(225, 6, 0, .07);
  transform: translateX(4px);
}
.quiz-opt .key {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: .74rem;
  font-weight: 700;
  color: var(--muted-2);
  transition: border-color .2s, color .2s, background .2s;
}
.quiz-opt:hover .key {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  min-height: 24px;
}
.quiz-back {
  background: none;
  border: 0;
  font-family: var(--body);
  font-size: .88rem;
  color: var(--muted-2);
  cursor: pointer;
  padding: 4px 0;
}
.quiz-back:hover { color: var(--red-hot); }
.quiz-count {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-left: auto;
}

/* Eredmeny */
.quiz-result { text-align: center; }
.quiz-result .res-label {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: .8em;
}
.quiz-result h3 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  margin-bottom: .4em;
}
.quiz-result .res-text {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 1.6rem;
}
.quiz-result .res-price {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.quiz-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Metodika idovonal
   -------------------------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0 0 0 clamp(46px, 6vw, 74px);
  position: relative;
  counter-reset: tl;
}
.timeline::before {
  content: '';
  position: absolute;
  left: clamp(21px, 3vw, 35px);
  top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--red), var(--line-soft) 55%, transparent);
}

.timeline li {
  position: relative;
  padding-bottom: 34px;
}
.timeline li:last-child { padding-bottom: 0; }

.tl-num {
  position: absolute;
  left: calc(-1 * clamp(46px, 6vw, 74px));
  top: -2px;
  width: clamp(42px, 6vw, 70px);
  font-family: var(--display);
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  font-weight: 900;
  font-stretch: 100%;
  color: var(--muted-2);
  text-align: left;
  padding-left: 2px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(46px, 6vw, 74px) + clamp(17px, 3vw, 31px));
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red-deep);
}
.timeline li.tl-hi::before {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 5px rgba(225, 6, 0, .18);
}

.timeline h3 { margin-bottom: .5em; }
.timeline p { color: var(--muted); max-width: 68ch; font-size: .98rem; }
.timeline li.tl-hi h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }

/* --------------------------------------------------------------------------
   14. Signature extrak (video, portfolio, tovabbi elemek)
   -------------------------------------------------------------------------- */

/* A teljes 06-os blokk kozepre rendezve */
#extrak { text-align: center; }
/* a felirat mellett mindket oldalon vonal, hogy szimmetrikus legyen */
#extrak .eyebrow { justify-content: center; }
#extrak .eyebrow::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(270deg, var(--line) 0%, transparent 60%);
}
#extrak .section-lead { margin-inline: auto; }

.showcase { margin-top: 3.4rem; }
.showcase-head {
  max-width: 720px;
  margin: 0 auto 22px;
}
.showcase-head h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .4em; }
.showcase-head p { color: var(--muted); margin: 0; }

/* --- Videolejatszo (kattintasra tolti be a YouTube-ot) --- */
.video {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
}
.video-btn {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video-btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s;
}
.video-btn:hover img { transform: scale(1.04); opacity: .82; }

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 12px 40px rgba(225, 6, 0, .55);
  transition: transform .3s var(--ease), background .3s;
}
/* a lejatszas-haromszog */
.video-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}
.video-btn:hover .video-play {
  background: var(--red-hot);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-label {
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 100%;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 2px 12px #000;
}
.video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
/* --- Portfolio: folyamatosan usztatott kepsor ---
   A sav ket egyforma kepcsoportot tartalmaz, es pontosan egy csoportnyit
   csusztat el vegtelenitve - igy a mozgas sehol nem "ugrik". Csak transformot
   animal, tehat a GPU-n fut. */
.marquee {
  --mq-gap: 14px;
  position: relative;
  overflow: hidden;
  /* a ket szelen lagyan elhalvanyodik, hogy ne vagja el elesen a kepeket */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--mq-gap);
  width: max-content;
  animation: marquee 44s linear infinite;
  will-change: transform;
}
/* A kepek tisztan dekoraciok: az eger nem all rajtuk meg, nem jelolhetok ki
   es nem is huzhatok el - a sav egyszeruen csak forog tovabb. */
.marquee img {
  width: 190px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* -50% a sav feleig visz, a fel resnyi korrekcio teszi pontossa az ismetlest */
@keyframes marquee {
  to { transform: translateX(calc(-50% - var(--mq-gap) / 2)); }
}

.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  margin-top: 3.4rem;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.perk {
  background: var(--bg-alt);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: background .3s;
}
.perk:hover { background: var(--surface-2); }
.perk h3 { font-size: 1.05rem; margin-bottom: .5em; }
.perk p { color: var(--muted); font-size: .92rem; flex: 1; }
.perk em { font-size: .86rem; }

.tag {
  align-self: flex-start;
  margin-top: 16px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}
.tag-elite {
  color: var(--red-hot);
  border-color: var(--red-deep);
  background: rgba(225, 6, 0, .08);
}

/* --------------------------------------------------------------------------
   15. Utalvany / reszletfizetes
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.split-card {
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(225, 6, 0, .14), transparent 65%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.split-card h3 { font-size: 1.6rem; margin-bottom: .5em; }
.split-card p { color: var(--muted); }

.tick {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
}
.tick li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .95rem;
  color: var(--muted);
}
.tick li::before {
  content: '';
  position: absolute;
  left: 2px; top: .5em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   16. Urlap
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 38px);
}

/* Spamcsapda: latszolag eltuntetve. NEM left:-9999px-szel, mert az a lapot
   vizszintesen gorgethetove teszi — helyette a helyen marad, de kivagva. */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field label span[aria-hidden] { color: var(--red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); opacity: .7; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--surface-2);
}
.field input.is-error,
.field select.is-error,
.field textarea.is-error { border-color: var(--red-hot); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E10600' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}
.field select option { background: var(--surface); color: var(--text); }

.field-check { margin: 22px 0 24px; }
.check {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: .92rem !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  cursor: pointer;
  line-height: 1.5;
}
.check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--red);
  cursor: pointer;
}

.form-msg {
  margin: 18px 0 0;
  padding: 0;
  font-size: .95rem;
  text-align: center;
}
.form-msg:empty { display: none; }
.form-msg.ok {
  color: var(--text);
  background: rgba(225, 6, 0, .1);
  border: 1px solid var(--red-deep);
  border-radius: var(--r-sm);
  padding: 14px 18px;
}
.form-msg.err {
  color: var(--red-hot);
  background: rgba(255, 42, 31, .07);
  border: 1px solid var(--red-deep);
  border-radius: var(--r-sm);
  padding: 14px 18px;
}

.contact-side h3 {
  font-size: 1.05rem;
  margin-bottom: 1em;
}
.contact-side h3 + * { margin-bottom: 2.4rem; }

.contact-list {
  list-style: none;
  margin: 0; padding: 0;
}
.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-list li:first-child { padding-top: 0; }
.cl-label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-list a, .contact-list span:not(.cl-label) {
  font-size: 1.02rem;
  color: var(--text);
}
.contact-list a:hover { color: var(--red-hot); }

.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease);
}
.socials a:hover {
  color: var(--red-hot);
  border-color: var(--red-deep);
  background: rgba(225, 6, 0, .08);
  transform: translateY(-2px);
}
.socials svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   17. Lablec
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img {
  width: 100%;
  max-width: 300px;
  opacity: .85;
}

.footer-nav h4 { margin-bottom: 1.2em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  color: var(--muted);
  font-size: .93rem;
}
.footer-nav a:hover { color: var(--red-hot); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom p {
  margin: 0;
  font-size: .82rem;
  color: var(--muted-2);
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--red-hot); }

/* --------------------------------------------------------------------------
   17/b. Dokumentum oldalak (ASZF, adatkezelesi tajekoztato)
   -------------------------------------------------------------------------- */

.doc {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
  padding: calc(var(--header-h) + 60px) 24px 90px;
}
.doc h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: .4em;
}
.doc .doc-meta {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.doc h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  margin: 2.8rem 0 .8em;
}
.doc h3 {
  font-size: 1.02rem;
  color: var(--text);
  margin: 1.8rem 0 .6em;
}
.doc p, .doc li { color: var(--muted); font-size: 1rem; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1.2em; }
.doc li { margin-bottom: 8px; }

.doc dl {
  margin: 0 0 1.4em;
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr;
  gap: 8px 20px;
}
.doc dt {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 3px;
}
.doc dd { margin: 0; color: var(--text); }

/* Kitoltendo helyorzo — hogy ne lehessen elnezni */
.todo {
  color: var(--red-hot);
  background: rgba(225, 6, 0, .1);
  border: 1px dashed var(--red-deep);
  border-radius: 4px;
  padding: 1px 7px;
  font-size: .92em;
  white-space: nowrap;
}

.doc-warn {
  background: rgba(225, 6, 0, .08);
  border: 1px solid var(--red-deep);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 20px 24px;
  margin-bottom: 2.6rem;
}
.doc-warn strong {
  display: block;
  color: var(--red-hot);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.doc-warn p { font-size: .93rem; margin: 0; }

.doc-back {
  display: inline-block;
  margin-top: 3.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
  width: 100%;
  font-size: .9rem;
}

/* --------------------------------------------------------------------------
   18. Belepo animaciok
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   19. Reszponziv
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* Ket oszlopban a harmadik kartya arvan maradna es tul magasra nyulna,
     ezert inkabb egy kozepre zart oszlop */
  .pricing {
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
  }
}

@media (max-width: 940px) {
  .video-play { width: 60px; height: 60px; }
  .video-play::after { border-width: 11px 0 11px 18px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .about-photo::before { inset: -10px -10px 10px 10px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* 1020 px alatt a het menupont mar kiszoritana a logot, ezert hamburger menu */
@media (max-width: 1020px) {
  :root { --header-h: 64px; }

  .burger { display: flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 30px;
    background: rgba(5, 5, 5, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav li { border-bottom: 1px solid var(--line-soft); }
  .main-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 600;
  }
  .main-nav a::after { display: none; }
  .nav-cta { margin-top: 22px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 60px); }
  .scroll-hint { display: none; }

  .plan-wide { flex-direction: column; align-items: flex-start; }
  .plan-wide-price { width: 100%; justify-content: space-between; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .section { padding: 64px 0; }

  /* Kisebb cimek, hogy a hosszu szavak (ALAPFELSZERELÉS.) egy sorba kiferjenek */
  h2 { font-size: clamp(1.4rem, 6.5vw, 2.4rem); }
  h3 { font-size: clamp(1.05rem, 4.6vw, 1.3rem); }
  .showcase-head h3 { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .plan-head h3 { font-size: 1.3rem; }
  /* "AJÁNDÉKUTALVÁNY" a keskenyebb kartyaban 1.6rem-mel mar nem fer ki */
  .split-card h3 { font-size: clamp(1.05rem, 5.1vw, 1.6rem); }

  .marquee img { width: 140px; }
  .video-label { font-size: .7rem; bottom: 12px; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  /* Mobilon egymas ala, balra zarva - igy olvashato marad a hosszabb szoveg */
  .hero-points {
    display: grid;
    justify-items: start;
    gap: 14px;
    text-align: left;
  }
  .hero-points li { padding-top: 11px; }

  /* Halkabb EQ, hogy ne zavarjon bele a szovegbe */
  .eq { height: 130px; opacity: .14; }

  /* Mobilon feleannyi reszecske - kimeli az akkumulatort */
  .ambient span:nth-child(2n) { display: none; }
  .ambient span:nth-child(25),
  .ambient span:nth-child(26) { display: block; width: 220px; height: 220px; }

  .price-switch { width: 100%; }
  .price-switch button { flex: 1; padding: 11px 10px; font-size: .84rem; }

  .plan { padding: 30px 22px; }
  .split-card { padding: 28px 22px; }
  .form { padding: 24px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .quiz-opt { font-size: .95rem; padding: 14px 16px; }
}

/* --------------------------------------------------------------------------
   20. Mozgascsokkentes es nyomtatas
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .eq { display: none; }
  .ambient { display: none; }
  /* mozgas helyett kezzel huzhato kepsor */
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .eq, .grain, .ambient, .scroll-hint, .quiz, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3 { color: #000; }
}
