/* ============================================================
   ARÁNY STÚDIÓ — Prémium ügynökségi rendszer
   1. Tokenek & alapok        6. Folyamat (pin-scroll)
   2. Boot / kurzor / progress 7. Miért mi & vélemények
   3. Navigáció & mega menü    8. Csomagok / mátrix / GYIK
   4. Hero + showcase          9. Kapcsolat / finale / footer
   5. Munkák & szolgáltatások 10. Reszponzív
   ============================================================ */

/* ============================================================
   1. TOKENEK & SZÍNRENDSZER (TÉMAVÁLTÁS)
   ============================================================ */
:root {
  --bg:            #f5f7fb;
  --bg-white:      #ffffff;
  --bg-subtle:     #eef1f7;
  --bg-dark:       #06070d;
  --bg-dark-2:     #0c0f1a;

  --ink:           #0a0c16;
  --ink-muted:     #4b5568;
  --ink-dim:       #8b95a8;

  --line:          #e4e8f0;
  --line-strong:   #cfd6e4;
  --line-dark:     rgba(255,255,255,0.10);

  /* --- Alapértelmezett kék márkapaletta --- */
  --brand:         #2563eb;
  --brand-600:     #1d4ed8;
  --brand-400:     #60a5fa;
  --brand-300:     #93c5fd;
  --brand-soft:    #eef4ff;
  --brand-glow:    rgba(37, 99, 235, 0.28);
  --brand-glow-lg: rgba(37, 99, 235, 0.45);
  --brand-rgb:     37, 99, 235;

  --accent-light:  #38bdf8;
  --accent-light-rgb: 56, 189, 248;

  --gradient-signal: linear-gradient(100deg, var(--brand-600) 0%, var(--brand) 55%, #3b6ff0 100%);
  --gradient-finale: linear-gradient(150deg, #1d4ed8 0%, #4338ca 50%, #312e81 100%);
  --gradient-cta:    linear-gradient(135deg, #2563eb 0%, #1d4ed8 45%, #4f46e5 100%);

  /* Konfigurátor & Kapcsolat sötét tónusok (Kék téma) */
  --contact-bg:      #060913;
  --cform-bg:        linear-gradient(170deg, rgba(20, 30, 55, 0.6) 0%, rgba(12, 18, 36, 0.88) 50%, rgba(8, 12, 24, 0.98) 100%);
  --cform-field-bg:  rgba(10, 16, 30, 0.85);
  --cform-field-focus: rgba(15, 23, 42, 0.98);
  --cform-border-top: rgba(255, 255, 255, 0.28);

  --violet:        #6366f1;
  --cyan:          #22d3ee;
  --emerald:       #10b981;
  --emerald-400:   #34d399;

  --font:          "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:          "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --e:             cubic-bezier(0.16, 1, 0.3, 1);
  --e-inout:       cubic-bezier(0.76, 0, 0.24, 1);
  --e-back:        cubic-bezier(0.34, 1.56, 0.64, 1);

  --shell:         1280px;
  --nav-h:         72px;

  --r-xs:          8px;
  --r-sm:          12px;
  --r:             18px;
  --r-lg:          26px;
  --r-xl:          36px;
  --r-pill:        999px;

  --sh-sm:         0 2px 10px rgba(10, 12, 22, 0.05);
  --sh:            0 16px 40px -12px rgba(10, 12, 22, 0.12);
  --sh-lg:         0 34px 80px -24px rgba(10, 12, 22, 0.24);
  --sh-glow:       0 20px 60px -18px var(--brand-glow);
}

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

html {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-400) #f1f5f9;
}

/* Egyedi globális görgetősáv (Custom Global Scrollbar) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
  border: 2px solid #f1f5f9;
  transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}
body.is-booting { overflow: hidden; }
body.no-scroll  { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--ink);
}

::selection { background: var(--brand); color: #fff; }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 52px);
}

.section { padding: clamp(88px, 11vw, 160px) 0; position: relative; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff;
  padding: 0.8em 1.2em; z-index: 9999; border-radius: var(--r-xs);
}
.skip-link:focus { left: 1em; top: 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* --- Közös fejléc-blokk --- */
.head {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 64px); align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.head__intro { font-size: 1.05rem; color: var(--ink-muted); max-width: 46ch; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand); background: var(--brand-soft);
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(37,99,235,0.14); margin-bottom: 18px;
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag--dark { color: var(--brand-400); background: rgba(96,165,250,0.10); border-color: rgba(96,165,250,0.20); }

.h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  letter-spacing: -0.038em;
}
.h2--light { color: #fff; }

/* ============================================================
   2. BOOT / PRELOADER — letisztult, márkahű bevezető
   ============================================================ */
.boot {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-white); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  user-select: none; overflow: hidden;
  transition: opacity 0.45s var(--e), visibility 0.45s var(--e);
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.boot__inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  transition: transform 0.45s var(--e), opacity 0.35s var(--e);
}
.boot.is-done .boot__inner { transform: translateY(-8px); opacity: 0; }

.boot__logo-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -4px var(--brand-glow);
  animation: bootLogoIn 0.55s var(--e) both;
}
.boot__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@keyframes bootLogoIn {
  from { opacity: 0; transform: scale(0.7) rotate(-8deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
.boot__logo { width: 28px; height: 28px; }

.boot__wordmark {
  font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
  animation: bootFadeUp 0.5s var(--e) 0.12s both;
}
.boot__wordmark em { font-style: normal; color: var(--brand); }
@keyframes bootFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.boot__meter {
  width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
  animation: bootFadeUp 0.5s var(--e) 0.2s both;
}
.boot__bar {
  height: 100%; width: 0%; background: var(--brand);
  transition: width 0.9s var(--e-inout);
}


/* Egyedi kurzor */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9000; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot, .cursor__ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate3d(-50%, -50%, 0); will-change: transform;
}
.cursor__dot { width: 6px; height: 6px; background: var(--brand); }
.cursor__ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(37,99,235,0.45);
  display: grid; place-items: center;
  transition: width 0.32s var(--e), height 0.32s var(--e), background 0.32s var(--e), border-color 0.32s var(--e);
}
.cursor.is-hover .cursor__ring {
  width: 58px; height: 58px; background: rgba(37,99,235,0.10); border-color: var(--brand);
}
.cursor.is-label .cursor__ring {
  width: 86px; height: 86px; background: var(--brand); border-color: var(--brand);
}
.cursor__label {
  font-size: 0.66rem; font-weight: 800; color: #fff; opacity: 0;
  transition: opacity 0.2s; text-align: center; line-height: 1.1; padding: 0 8px;
}
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9500; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--violet), var(--cyan));
  box-shadow: 0 0 12px var(--brand-glow);
}

/* Filmszemcse */
.grain {
  position: fixed; inset: -150%; z-index: 8000; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-8%, 4%); }
  40%  { transform: translate(5%, -6%); }
  60%  { transform: translate(-4%, -8%); }
  80%  { transform: translate(7%, 5%); }
  100% { transform: translate(0, 0); }
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
/* ============================================================
   3. FEJLÉC
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 950;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--e), background 0.3s var(--e), box-shadow 0.3s var(--e);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px -20px rgba(10,12,22,0.5);
}
.header__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.06rem; letter-spacing: -0.03em; }
.brand__logo {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
  transition: transform 0.45s var(--e-back);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.brand__logo svg { width: 19px; height: 19px; }
.brand__txt em {
  font-style: normal; font-size: 0.68rem; font-weight: 700; margin-left: 6px;
  background: var(--brand-soft); color: var(--brand); padding: 3px 8px; border-radius: var(--r-pill);
  vertical-align: middle;
}

.nav { display: flex; align-items: center; gap: clamp(2px, 1vw, 10px); }
.nav__link {
  position: relative; padding: 10px 2px; font-size: 0.9rem; font-weight: 600;
  color: var(--ink-muted); display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.25s var(--e); white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.42s var(--e);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { color: var(--ink); }
.nav__link.is-current::after { background: var(--brand); transform: scaleX(1); }
.nav__chev { width: 13px; height: 13px; transition: transform 0.3s var(--e); opacity: 0.5; }
.nav__has-mega.is-open .nav__chev { transform: rotate(180deg); opacity: 1; }
.nav__has-mega { display: flex; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.tel-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 700; padding: 9px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line); transition: all 0.25s var(--e);
}
.tel-link svg { width: 14px; height: 14px; color: var(--brand); }
.tel-link:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); position: relative; flex: none; cursor: pointer;
  border: 1px solid rgba(0,0,0,0.08);
  transition: background 0.25s var(--e), transform 0.25s var(--e), box-shadow 0.25s var(--e);
}
.burger:hover { transform: scale(1.05); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.burger[aria-expanded="true"] { background: var(--brand); border-color: var(--brand); }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px;
  transition: all 0.35s var(--e-inout); pointer-events: none;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; width: 10px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; width: 18px; transform: rotate(-45deg); }

/* --- Mega menü --- */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -32px rgba(10,12,22,0.35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--e), transform 0.4s var(--e), visibility 0s linear 0.4s;
}
.mega.is-open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity 0.28s var(--e), transform 0.4s var(--e), visibility 0s;
}
.mega__inner {
  display: grid; grid-template-columns: 1.6fr 0.7fr; gap: 22px;
  padding-top: 24px; padding-bottom: 24px;
}
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mega__item {
  display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto;
  column-gap: 12px; padding: 12px 14px; border-radius: var(--r-sm);
  transition: background 0.25s var(--e), transform 0.35s var(--e);
}
.mega__item:hover { background: var(--brand-soft); transform: translateX(3px); }
.mega__ico {
  grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 11px;
  background: var(--bg-subtle); color: var(--brand); display: grid; place-items: center;
  transition: background 0.25s, color 0.25s;
}
.mega__item:hover .mega__ico { background: var(--brand); color: #fff; }
.mega__ico svg { width: 18px; height: 18px; }
.mega__item b { font-size: 0.92rem; font-weight: 700; }
.mega__item em { font-style: normal; font-size: 0.8rem; color: var(--ink-muted); line-height: 1.45; }
.mega__promo {
  background: linear-gradient(160deg, var(--bg-dark-2), var(--bg-dark));
  border-radius: var(--r); padding: 22px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  position: relative; overflow: hidden;
}
.mega__promo::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  top: -60px; right: -60px; opacity: 0.55;
}
.mega__promo-tag {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--emerald-400); position: relative; z-index: 2;
}
.mega__promo h4 { color: #fff; font-size: 1.15rem; position: relative; z-index: 2; }
.mega__promo p { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; margin-bottom: 8px; position: relative; z-index: 2; }
.mega__promo .btn { position: relative; z-index: 2; }

/* --- Gombok --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0.85em 1.7em; font-size: 0.92rem; font-weight: 700;
  border-radius: var(--r-pill); white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; position: relative; overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--e), box-shadow 0.35s var(--e), background 0.3s var(--e), color 0.3s var(--e), border-color 0.3s var(--e);
}
.btn > span { position: relative; z-index: 2; }
.btn__arrow { width: 16px; height: 16px; flex: none; position: relative; z-index: 2; transition: transform 0.35s var(--e); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px var(--brand-glow); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, var(--brand-600), var(--violet));
  opacity: 0; transition: opacity 0.35s var(--e);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--brand-glow); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost { background: rgba(255,255,255,0.6); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.4); }

.btn--sm { padding: 0.6em 1.25em; font-size: 0.85rem; }
.btn--lg { padding: 1.05em 2.1em; font-size: 1rem; }
.btn--full { width: 100%; }

/* --- Mobil menü --- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 980; background: var(--bg-dark); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(20px, 4vw, 32px) clamp(22px, 6vw, 42px) 36px;
  clip-path: circle(0% at calc(100% - 44px) 52px);
  transition: clip-path 0.7s var(--e-inout), visibility 0s linear 0.7s;
  visibility: hidden; overflow-y: auto;
}
.mobile-menu:not([hidden]) {
  clip-path: circle(150% at calc(100% - 44px) 52px);
  visibility: visible; transition: clip-path 0.7s var(--e-inout), visibility 0s;
}
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(16px, 3vh, 28px); flex: none;
}
.mobile-menu__head .brand { color: #fff; }
.mobile-menu__head .brand__txt em {
  background: rgba(37, 99, 235, 0.25); color: var(--brand-400);
}
.mobile-menu__close {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff; display: grid; place-items: center;
  cursor: pointer; flex: none;
  transition: all 0.25s var(--e);
}
.mobile-menu__close:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(90deg) scale(1.08);
}
.mobile-menu__close svg { width: 20px; height: 20px; }

.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.5rem, 6vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em;
  padding: 0.42em 0; border-bottom: 1px solid rgba(255,255,255,0.09); color: #fff;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.5s var(--e), transform 0.5s var(--e), color 0.25s;
}
.mobile-menu:not([hidden]) nav a { opacity: 1; transform: none; }
.mobile-menu nav a:nth-child(1) { transition-delay: 0.18s; }
.mobile-menu nav a:nth-child(2) { transition-delay: 0.24s; }
.mobile-menu nav a:nth-child(3) { transition-delay: 0.30s; }
.mobile-menu nav a:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu nav a:nth-child(5) { transition-delay: 0.42s; }
.mobile-menu nav a:nth-child(6) { transition-delay: 0.48s; }
.mobile-menu nav a i {
  font-family: var(--mono); font-style: normal; font-size: 0.68rem;
  color: var(--brand-400); letter-spacing: 0.1em;
}
.mobile-menu nav a svg { width: 20px; height: 20px; margin-left: auto; color: rgba(255,255,255,0.35); }
.mobile-menu nav a:hover { color: var(--brand-400); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; }
.mobile-menu__meta {
  display: flex; flex-direction: column; gap: 4px; text-align: center;
  font-family: var(--mono); font-size: 0.78rem; color: rgba(255,255,255,0.55);
}

/* ============================================================
   ANIMÁCIÓ ALAP & IRÁNYÍTOTT BEÚSZÁSOK (DIRECTIONAL REVEAL)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(5px);
  transition: opacity 1.95s cubic-bezier(0.16, 1, 0.28, 1),
              transform 1.95s cubic-bezier(0.16, 1, 0.28, 1),
              filter 1.75s cubic-bezier(0.16, 1, 0.28, 1) !important;
  transition-delay: var(--d, 0s) !important;
  will-change: opacity, transform, filter;
}
[data-reveal="left"] {
  transform: translate3d(-200px, 0, 0) scale(0.92) rotate(-3deg) !important;
}
[data-reveal="right"] {
  transform: translate3d(200px, 0, 0) scale(0.92) rotate(3deg) !important;
}
[data-reveal="top"] {
  transform: translate3d(0, -150px, 0) scale(0.90) !important;
}
[data-reveal="bottom"] {
  transform: translate3d(0, 150px, 0) scale(0.92) !important;
}
[data-reveal="scale"] {
  transform: scale(0.84) translateY(40px) !important;
}
[data-reveal="left-up"] {
  transform: translate3d(-170px, 90px, 0) scale(0.92) !important;
}
[data-reveal="right-up"] {
  transform: translate3d(170px, 90px, 0) scale(0.92) !important;
}
[data-reveal].in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
  filter: blur(0px);
}

.line { display: block; overflow: hidden; }
.word {
  display: inline-block; will-change: transform;
  transform: translateY(110%) rotate(4deg); opacity: 0;
  transition: transform 1.05s var(--e), opacity 0.7s var(--e);
  transition-delay: var(--wd, 0s);
}
.word.in { transform: none; opacity: 1; }

/* ============================================================
   4. HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7vw, 96px) 0 clamp(90px, 12vw, 150px);
  background:
    linear-gradient(180deg, #ffffff 0%, #fdfdfe 40%, var(--bg) 100%);
}
/* Lágy, festett fényfolt — nincs rács, nincs neon aurora */
.hero__wash {
  position: absolute; inset: -10% -5% auto -5%; height: 130%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 52% at 78% 18%, rgba(37, 99, 235, 0.13), transparent 62%),
    radial-gradient(38% 44% at 96% 62%, rgba(99, 102, 241, 0.10), transparent 66%),
    radial-gradient(34% 40% at 8% 88%, rgba(16, 185, 129, 0.07), transparent 64%);
  filter: blur(6px);
}

/* Vékony vezérvonal a bal margón — szerkesztőségi jelzés */
.hero__inner::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}
.hero__copy { padding-left: clamp(18px, 2.4vw, 34px); }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.16fr 1fr;
  gap: clamp(32px, 4vw, 56px); align-items: center;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.79rem; font-weight: 700; color: var(--ink);
  background: rgba(255,255,255,0.9); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 24px;
  box-shadow: var(--sh-sm);
}
.hero-pill__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--emerald);
  animation: pulseDot 2.4s infinite;
}

.hero__title {
  font-size: clamp(2.15rem, 3.9vw, 3.3rem);
  letter-spacing: -0.045em; line-height: 1.06;
}
.hero__title .line { padding-bottom: 0.04em; }
.line--accent .word { color: var(--brand); }

.hero__lead {
  font-size: clamp(1rem, 1.2vw, 1.13rem); color: var(--ink-muted);
  margin-top: 22px; max-width: 50ch;
}
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__trust {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-size: 0.83rem; color: var(--ink-muted); font-weight: 600;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--emerald); flex: none; }

.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-dim);
}
.hero__scroll-line { width: 1px; height: 40px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--brand); animation: scrollLine 1.9s var(--e-inout) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* --- Showcase állomás --- */
.showcase {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 90px -34px rgba(10,12,22,0.32);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--e);
}
.showcase__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 14px; background: var(--bg-subtle);
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.showcase__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted);
}
.showcase__live {
  width: 6px; height: 6px; border-radius: 50%; background: #ef4444;
  animation: pulseDot 1.8s infinite;
}
/* Elavult → ARÁNY Design jelmagyarázat — a mock felületén kívül,
   hogy ne takarja a bemutatott tartalmat. */
.showcase__legend {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 700; color: var(--ink-muted);
}
.showcase__legend svg { width: 12px; height: 12px; color: var(--ink-dim); flex: none; }
.showcase__legend-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.showcase__legend-dot--old { background: #94a3b8; }
.showcase__legend-dot--new { background: var(--brand); }

.device-toggle {
  position: relative; display: flex; gap: 2px; padding: 3px;
  background: #dfe4ee; border-radius: var(--r-pill);
}
.device-toggle__pill {
  position: absolute; top: 3px; left: 3px; height: calc(100% - 6px); width: 0;
  background: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
  transition: transform 0.45s var(--e), width 0.45s var(--e);
}
.device-btn {
  position: relative; z-index: 2; padding: 5px 11px; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 700; color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 5px; transition: color 0.3s var(--e);
}
.device-btn svg { width: 12px; height: 12px; }
.device-btn.is-active { color: var(--ink); }

.showcase__viewport {
  position: relative; width: 100%; aspect-ratio: 16 / 11; background: #0f172a;
  overflow: hidden; transition: max-width 0.55s var(--e), aspect-ratio 0.55s var(--e), border-radius 0.55s var(--e), margin 0.55s var(--e);
}
.showcase__viewport.is-mobile {
  max-width: 300px; aspect-ratio: 9 / 16; margin: 22px auto; border-radius: 30px;
  border: 8px solid #1b2130; box-shadow: 0 20px 46px rgba(0,0,0,0.5);
}

.compare { position: relative; width: 100%; height: 100%; user-select: none; touch-action: pan-y; }
.mock { position: absolute; inset: 0; }
.mock--old { clip-path: inset(0 calc(100% - var(--pos, 52%)) 0 0); }
.mock--new { clip-path: inset(0 0 0 var(--pos, 52%)); }

.mock__bar {
  height: 32px; background: #f8fafc; display: flex; align-items: center; gap: 6px; padding: 0 13px;
  border-bottom: 1px solid var(--line);
}
.mock__bar span { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.mock__bar em { font-style: normal; font-size: 0.68rem; color: #64748b; margin-left: 9px; font-weight: 600; }
.mock__bar--old { background: #e2e8f0; }
.mock__bar--old span { background: #94a3b8; }
.mock__bar--old em { color: #475569; }

.old { background: #f1f5f9; height: calc(100% - 32px); font-family: Georgia, "Times New Roman", serif; overflow: hidden; color: #334155; }
.old__head { background: #1e3a8a; color: #fff; font-weight: 700; text-align: center; padding: 8px 6px; font-size: clamp(.62rem, 1.3vw, .85rem); }
.old__nav { background: #cbd5e1; font-size: clamp(.46rem, .95vw, .6rem); text-align: center; padding: 4px; color: #1e293b; border-bottom: 2px solid #1e3a8a; }
.old__body { display: grid; grid-template-columns: 2.2fr 1fr; gap: 8px; padding: 9px; }
.old__h { font-weight: 700; color: #1e3a8a; font-size: clamp(.6rem, 1.15vw, .85rem); margin-bottom: 4px; }
.old__col p { font-size: clamp(.45rem, .95vw, .63rem); color: #475569; line-height: 1.4; }
.old__link { color: #1d4ed8 !important; text-decoration: underline; margin-top: 4px; }
.old__side { font-size: clamp(.45rem, .95vw, .58rem); }
.old__box { background: #1e3a8a; color: #fff; padding: 2px 5px; font-weight: 700; margin-top: 5px; }
.old__side p { color: #475569; padding: 2px; }
.old__counter { font-family: var(--mono); background: #000; color: #22c55e; padding: 2px; text-align: center; letter-spacing: 0.05em; }

.new {
  background: #fff; height: calc(100% - 32px); overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
}
.new__nav {
  display: flex; align-items: center; gap: clamp(6px, 1.4vw, 14px);
  padding: 9px clamp(10px, 2vw, 17px); border-bottom: 1px solid var(--line);
  font-size: clamp(0.52rem, 1.05vw, 0.7rem);
}
.new__nav b { font-weight: 800; font-size: clamp(0.7rem, 1.2vw, 0.9rem); color: var(--ink); letter-spacing: -0.02em; }
.new__nav b i { font-style: normal; color: var(--brand); }
.new__nav span { color: var(--ink-muted); font-weight: 600; }
.new__nav span:first-of-type { margin-left: auto; }
.new__nav u {
  text-decoration: none; background: var(--brand); color: #fff; padding: 0.35em 0.85em;
  border-radius: var(--r-pill); font-weight: 700;
}
.new__hero { display: flex; align-items: center; gap: 4%; padding: clamp(10px, 2vw, 20px) clamp(10px, 2vw, 17px); }
.new__hero-txt { flex: 1.2; }
.new__eyebrow {
  font-size: clamp(0.44rem, 0.95vw, 0.58rem); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.45em; font-weight: 800;
}
.new__hero h4 { font-size: clamp(0.9rem, 2.25vw, 1.55rem); line-height: 1.12; color: var(--ink); }
.new__hero h4 em { font-style: normal; color: var(--brand); }
.new__sub { font-size: clamp(0.5rem, 1.05vw, 0.68rem); color: var(--ink-muted); margin-top: 0.6em; line-height: 1.45; }
.new__btns { display: flex; gap: clamp(6px, 1vw, 10px); margin-top: clamp(9px, 1.6vw, 14px); }
.new__btns u { text-decoration: none; background: var(--brand); color: #fff; padding: 0.45em 0.95em; border-radius: var(--r-pill); font-size: clamp(0.46rem, .95vw, 0.63rem); font-weight: 700; }
.new__btns b { font-weight: 700; padding: 0.45em 0.95em; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: clamp(0.46rem, .95vw, 0.63rem); background: var(--bg); }
.new__hero-img {
  flex: 1; aspect-ratio: 1.12; border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.22); border: 1px solid var(--line);
}
.new__hero-img img { width: 100%; height: 100%; object-fit: cover; }
.new__strip { display: flex; gap: 6px; padding: 0 clamp(10px, 2vw, 17px) clamp(10px, 1.8vw, 14px); flex-wrap: wrap; }
.new__strip b {
  font-weight: 700; font-size: clamp(0.44rem, .9vw, 0.58rem); border: 1px solid var(--line);
  padding: 0.32em 0.75em; border-radius: var(--r-pill); color: var(--ink-muted); background: var(--bg);
}

.hotspot {
  position: absolute; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; cursor: pointer; z-index: 8;
  box-shadow: 0 0 0 0 rgba(37,99,235,0.5); animation: hotspotPulse 2.2s infinite;
}
@keyframes hotspotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}
.hotspot--1 { bottom: 16%; left: 18%; }
.hotspot--2 { top: 9%; right: 22%; }
.hotspot__tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  background: var(--ink); color: #fff; padding: 7px 12px; border-radius: 8px;
  font-size: 0.68rem; font-weight: 600; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: all 0.28s var(--e); box-shadow: var(--sh);
}
.hotspot:hover .hotspot__tip { opacity: 1; transform: translate(-50%, 0); }

.compare__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 52%); width: 0; z-index: 5;
  pointer-events: none; transform: translateX(-50%);
}
.compare__divider::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: linear-gradient(180deg, transparent, var(--brand-400) 12%, var(--brand-400) 88%, transparent);
  transform: translateX(-50%); box-shadow: 0 0 18px rgba(96,165,250,0.7);
}
.compare__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--brand);
  display: grid; place-items: center; backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.28);
}
.compare__handle svg { width: 18px; height: 18px; }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  cursor: ew-resize; margin: 0; z-index: 10;
}
.showcase__foot {
  padding: 11px 17px; background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 0.75rem; color: var(--ink-muted); flex-wrap: wrap;
}
.showcase__foot b { color: var(--ink); }

/* ============================================================
   HERO ALATTI MÁRKASÁV — a brand kékben, nem feketében, hogy
   szervesen illeszkedjen a világos szekciók közé (gombok, linkek,
   tag-ek is ugyanezt a kéket használják az oldal többi részén).
   ============================================================ */
.signal {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--gradient-signal);
  padding: clamp(130px, 16vw, 210px) 0 clamp(90px, 11vw, 150px);
  margin-top: -clamp(60px, 8vw, 110px);
  clip-path: url(#signalCurve);
}
/* Halvány, statikus pontrács a mélységérzethez — nincs animáció */
.signal::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 55% 160% at 92% 50%, #000 0%, transparent 85%);
}
.signal__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(16px, 2.2vw, 22px); max-width: 780px; margin: 0 auto;
}
.signal__tag {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #fff; background: rgba(255,255,255,0.16);
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.28);
}
.signal__tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fde68a; }
.signal__line {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.35;
}
.signal__line em { font-style: normal; font-weight: 800; color: #fde68a; }
.signal__sub {
  font-size: clamp(0.94rem, 1.3vw, 1.04rem); color: rgba(255,255,255,0.78); font-weight: 500;
  max-width: 58ch; line-height: 1.6;
}
.signal__points {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 6px;
}
.signal__points li {
  font-size: 0.82rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 15px; border-radius: var(--r-pill);
}

/* ============================================================
   5. MUNKÁINK
   ============================================================ */
.work { background: var(--bg); position: relative; overflow: hidden; }
/* Halvány, márkaszínű foltok — a szélektől beljebb tartva, hogy ne
   törjön meg a szomszédos szekciók egyenes határvonalánál. */
.work::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 34% at 86% 18%, rgba(37, 99, 235, 0.09), transparent 72%),
    radial-gradient(36% 30% at 6% 70%, rgba(16, 185, 129, 0.07), transparent 70%);
  filter: blur(10px);
}
.work > .shell { position: relative; z-index: 1; }

.work__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 26px);
  perspective: 1600px;
}
.case {
  grid-column: span 2;
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter, box-shadow;
  transition:
    opacity 1.95s cubic-bezier(0.16, 1, 0.28, 1),
    transform 1.95s cubic-bezier(0.16, 1, 0.28, 1),
    filter 1.75s ease,
    box-shadow 0.6s var(--e),
    border-color 0.4s var(--e);
  transition-delay: var(--d, 0s);
}

/* 3D Irányított induló pozíciók a mintaprojektekhez */
.case[data-reveal="left"] {
  transform: perspective(1400px) translate3d(-260px, 0, -100px) rotateY(15deg) rotateZ(-3.5deg) scale(0.88) !important;
  filter: blur(5px);
}

.case[data-reveal="right"] {
  transform: perspective(1400px) translate3d(260px, 0, -100px) rotateY(-15deg) rotateZ(3.5deg) scale(0.88) !important;
  filter: blur(5px);
}

.case[data-reveal="top"] {
  transform: perspective(1400px) translate3d(0, -170px, -100px) rotateX(16deg) scale(0.88) !important;
  filter: blur(5px);
}

.case[data-reveal="bottom"] {
  transform: perspective(1400px) translate3d(0, 190px, -100px) rotateX(-16deg) scale(0.88) !important;
  filter: blur(5px);
}

/* Érkezési állapot (In View) */
.case.in {
  opacity: 1;
  transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1) !important;
  filter: blur(0px);
  box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.07);
}

.case--wide { grid-column: span 4; }

.case:hover {
  box-shadow: var(--sh-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Beúszási fénycsík (Sheen reflection sweep) */
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-22deg);
  pointer-events: none;
  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.case.in::before {
  transform: translateX(220%) skewX(-22deg);
  transition-delay: calc(var(--d, 0s) + 0.35s);
}

.case__media { position: relative; overflow: hidden; aspect-ratio: 16/9.4; background: var(--bg-subtle); }
.case__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s var(--e);
  transition-delay: var(--d, 0s);
}
.case.in .case__media img { transform: scale(1.02); }
.case.in:hover .case__media img { transform: scale(1.09); }
.case__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,7,13,0.55));
  opacity: 0; transition: opacity 0.5s var(--e);
}
.case:hover .case__media::after { opacity: 1; }
.case__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  color: var(--ink); padding: 6px 12px; border-radius: var(--r-pill);
  transform: translateY(6px); opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  transition-delay: calc(var(--d, 0s) + 0.25s);
}
.case.in .case__badge {
  transform: translateY(0); opacity: 1;
}

.case__body { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case__body h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.case__sector { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-dim); letter-spacing: 0.04em; }
.case__body p { color: var(--ink-muted); font-size: 0.93rem; line-height: 1.6; }
.case__metrics {
  display: flex; gap: clamp(16px, 2.4vw, 34px); margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.case__metrics b {
  display: block; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800;
  color: var(--brand); letter-spacing: -0.04em; line-height: 1.1;
}
.case__metrics span { font-size: 0.72rem; color: var(--ink-dim); font-weight: 600; }

/* ============================================================
   5. SZOLGÁLTATÁSOK — PIN-SCROLL STACKING ANIMÁCIÓ
   ============================================================ */
.services {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  height: 320vh;
}
.services__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(20px, 3vh, 40px) 0;
}
/* Egyedi, festett fényfoltok a háttérben — a szegélyektől beljebb tartva,
   nehogy a szekciót elválasztó egyenes vonalnál megtörjön a folt. */
.services__pin::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 48% at 80% 26%, rgba(37, 99, 235, 0.20), transparent 72%),
    radial-gradient(42% 44% at 12% 80%, rgba(139, 92, 246, 0.17), transparent 70%);
  filter: blur(8px);
}
.services__pin > .shell { position: relative; z-index: 1; }
.services .head {
  margin-bottom: clamp(24px, 3vh, 38px);
}
.svc-list {
  position: relative;
  min-height: 220px;
}

/* Prémium Stacking Kártya dizájn — határozottabb keret és mélyebb árnyék,
   hogy a kártya súlyosabb, komolyabb hatást keltsen a fehér felületen. */
.svc {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow:
    0 32px 64px -16px rgba(15, 23, 42, 0.16),
    0 10px 26px -8px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.03);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 48px;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(22px, 2.8vw, 32px) clamp(18px, 2.6vw, 34px);
  text-decoration: none;
  overflow: hidden;
  will-change: transform, filter;
  transform-origin: center top;
  transition:
    border-color 0.35s var(--e),
    box-shadow 0.35s var(--e),
    padding 0.35s var(--e);
}

.svc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--violet));
  opacity: 0;
  transition: opacity 0.35s var(--e);
}

.svc:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 28px 60px -15px rgba(37, 99, 235, 0.16),
    0 8px 24px -6px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(37, 99, 235, 0.15);
  padding-left: clamp(20px, 3vw, 38px);
  padding-right: clamp(20px, 3vw, 38px);
}

.svc:hover::after {
  opacity: 1;
}

/* Sorszámozás modern badge formában — alapból tömör, sötét kitöltés,
   nem halvány pasztell tónus, hogy a kártya súlyosabbnak hasson. */
.svc__no {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: all 0.35s var(--e);
  flex-shrink: 0;
}

.svc:hover .svc__no {
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35);
}

/* Cím és leírás */
.svc__main h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.25;
  transition: color 0.3s var(--e);
}

.svc:hover .svc__main h3 {
  color: var(--brand);
}

.svc__main p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-top: 6px;
  max-width: 62ch;
  line-height: 1.58;
}

/* Címkék */
.svc__tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.svc__tags span {
  font-family: var(--mono);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(203, 213, 225, 0.85);
  color: var(--ink-muted);
  background: rgba(248, 250, 252, 0.95);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: all 0.3s var(--e);
}

.svc:hover .svc__tags span {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.06);
  color: var(--brand);
}

/* Nyíl gomb */
.svc__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex: none;
  background: var(--bg-subtle);
  transition: all 0.35s var(--e);
}

.svc__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--e);
}

.svc:hover .svc__arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  transform: rotate(-45deg) scale(1.08);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}

@media (max-width: 860px) {
  .services { height: auto; padding: 60px 0; }
  .services__pin { position: relative; height: auto; padding: 0; }
  .svc-list { min-height: auto; display: flex; flex-direction: column; gap: 16px; }
  .svc {
    position: relative; top: auto; left: auto; right: auto; transform: none !important; filter: none !important;
    grid-template-columns: 48px minmax(0, 1fr) 42px; grid-template-rows: auto auto;
    gap: 12px 14px; padding: 20px 16px;
  }
  .svc__no { width: 44px; height: 44px; font-size: 0.95rem; }
  .svc__tags { grid-column: 1 / -1; justify-content: flex-start; margin-top: 4px; }
}

/* ============================================================
   6. FOLYAMAT — prémium vízszintes pin-scroll utazás
   ============================================================ */
.process {
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(var(--brand-rgb), 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 85% 75%, rgba(var(--accent-light-rgb), 0.12) 0%, transparent 60%),
    var(--bg-dark);
  position: relative;
  height: 440vh; /* Bőséges görgetési út a prémium, komótos lépésenkénti navigációhoz */
}

.process__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  perspective: 1600px;
}

.process__head { padding: 0 0 clamp(24px, 3.2vw, 38px); }
.process__head-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.process__progress { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.process__progress-bar {
  flex: 1; height: 4px; background: rgba(255,255,255,0.12); border-radius: 4px; overflow: hidden;
}
.process__progress-bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent-light));
  box-shadow: 0 0 14px rgba(var(--accent-light-rgb), 0.7);
  transition: width 0.08s linear;
}
.process__progress em {
  font-style: normal; font-family: var(--mono); font-size: 0.8rem;
  color: rgba(255,255,255,0.45); letter-spacing: 0.08em;
}
.process__progress b { color: #fff; font-size: 1.05rem; }

.process__track {
  display: flex; gap: clamp(32px, 3.6vw, 60px); will-change: transform;
  padding-left: max(calc((100vw - var(--shell)) / 2), clamp(24px, 4.5vw, 60px));
  padding-right: max(calc((100vw - var(--shell)) / 2), 24vw);
}

.pstep {
  flex: none; width: clamp(480px, 42vw, 620px);
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--r-xl); padding: clamp(32px, 3.8vw, 48px); color: #fff;
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  opacity: 0.72;
  transform: scale(0.97) translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.4s ease, background 0.35s;
}

.pstep:hover, .pstep.is-focus {
  opacity: 1;
  transform: scale(1.02) translateY(-5px);
  background: linear-gradient(160deg, rgba(255,255,255,0.095) 0%, rgba(255,255,255,0.035) 100%);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.8), 0 0 32px -6px rgba(37,99,235,0.35);
}

.pstep::after {
  content: ""; position: absolute; top: -40%; right: -30%; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), 0.35), transparent 70%);
  opacity: 0; transition: opacity 0.45s ease; pointer-events: none;
}
.pstep:hover::after, .pstep.is-focus::after { opacity: 1; }

.pstep__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative; z-index: 2;
}
.pstep__no {
  font-family: var(--mono); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--brand-400); line-height: 1;
}
.pstep__badge {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: #94a3b8; background: rgba(255,255,255,0.07);
  padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,0.1);
}
.pstep__badge--highlight {
  color: #38bdf8; background: rgba(56,189,248,0.12); border-color: rgba(56,189,248,0.3);
}
.pstep__badge--live {
  color: var(--emerald-400); background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.3);
}

.pstep h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); color: #fff; position: relative; z-index: 2; line-height: 1.2; }
.pstep p { font-size: 1rem; color: #94a3b8; line-height: 1.65; position: relative; z-index: 2; }
.pstep__list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; position: relative; z-index: 2; }
.pstep__list li {
  font-size: 0.92rem; color: #e2e8f0; display: flex; gap: 10px; align-items: center;
}
.pstep__list li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-400); flex: none; box-shadow: 0 0 8px var(--brand-400);
}

.pstep__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  position: relative; z-index: 2; flex-wrap: wrap;
}
.pstep__meta {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em;
  color: var(--emerald-400); font-weight: 600;
}
.pstep__tag {
  font-family: var(--mono); font-size: 0.7rem; color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05); padding: 3px 9px; border-radius: var(--r-pill);
}

.pstep--cta {
  background: var(--gradient-cta); opacity: 1; transform: scale(0.96);
  border-color: rgba(255,255,255,0.25); justify-content: center; align-items: flex-start; gap: 18px;
  width: clamp(380px, 32vw, 480px);
}
.pstep--cta:hover, .pstep--cta.is-focus {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 28px 70px -16px rgba(37,99,235,0.6);
}
.pstep--cta p { color: rgba(255,255,255,0.92); font-size: 1.05rem; }
.pstep--cta .btn { margin-top: 10px; }
.pstep--cta .btn--primary { background: #fff; color: var(--brand); font-weight: 800; }
.pstep--cta .btn--primary::before { display: none; }
.pstep__badge--cta {
  color: #fff; background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3);
}

/* ============================================================
   7. MIÉRT MI
   ============================================================ */
.why {
  background:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(37,99,235,0.06) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(139,92,246,0.05) 0%, transparent 55%),
    var(--bg);
  position: relative;
}

/* Ugyanaz a kártyanyelv, mint a munkáknál és a csomagoknál:
   fehér felület, hajszálvékony keret, mono sorszám. */
.reasons {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.reason {
  grid-column: span 2; position: relative; overflow: hidden;
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 2.8vw, 38px);
  display: flex; flex-direction: column; gap: 11px;
  transition: transform 0.5s var(--e), box-shadow 0.5s var(--e), border-color 0.4s var(--e);
}
.reason:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line-strong); }
.reason--lead { grid-column: span 4; grid-row: span 2; }
.reason--wide { grid-column: span 4; }

.reason__no {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--ink-dim);
}
.reason__ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 4px;
  transition: background 0.4s var(--e), color 0.4s var(--e);
}
.reason:hover .reason__ico { background: var(--brand); color: #fff; }
.reason__ico svg { width: 21px; height: 21px; }
.reason h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.reason p { font-size: 0.93rem; color: var(--ink-muted); line-height: 1.6; max-width: 52ch; }

/* A mérőszámok ugyanabban a formában, mint az esettanulmány-kártyákon */
.reason__metrics {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px);
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line);
}
.reason__metrics b {
  display: block; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800;
  color: var(--brand); letter-spacing: -0.045em; line-height: 1.1;
}
.reason__metrics span {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-dim);
}

.reason__checks {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px;
}
.reason__checks li { font-size: 0.85rem; color: var(--ink-muted); display: flex; gap: 9px; }
.reason__checks li::before { content: "✔"; color: var(--emerald); flex: none; }

/* Az egyetlen színes hangsúly a szekcióban — vékony jelzőcsík, nem tömb */
.reason--mark { border-left: 2px solid var(--brand); }
.reason__sig {
  margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px;
}
.reason__sig::before { content: ""; width: 16px; height: 1px; background: currentColor; }

.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--brand-rgb), 0.07), transparent 65%);
  opacity: 0; transition: opacity 0.4s var(--e);
}
.spot:hover::before { opacity: 1; }

/* ============================================================
   7. GARANCIÁK (TESTI)
   ============================================================ */
.testi {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(var(--brand-rgb), 0.06), transparent 70%),
    radial-gradient(circle at 10% 90%, rgba(16,185,129,0.04) 0%, transparent 55%),
    var(--bg-white);
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}

.guarantee__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px); margin-top: 40px;
}
.gcard {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(10,12,22,0.05);
  transition: transform 0.4s var(--e), box-shadow 0.4s var(--e), border-color 0.35s var(--e);
}
.gcard:hover {
  transform: translateY(-5px);
  border-color: var(--brand-300);
  box-shadow: 0 16px 36px -12px var(--brand-glow);
}
.gcard__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--brand-rgb), 0.08), transparent 70%);
  transition: opacity 0.35s var(--e);
}
.gcard:hover .gcard__glow { opacity: 1; }

.gcard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.gcard__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; flex: none;
  transition: all 0.35s var(--e);
}
.gcard__icon svg { width: 22px; height: 22px; }
.gcard:hover .gcard__icon {
  background: var(--brand); color: #fff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 18px -4px var(--brand-glow);
}
.gcard__badge {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--bg-subtle); color: var(--ink-dim); font-weight: 700;
  border: 1px solid var(--line);
}
.gcard h3 { font-size: clamp(1.05rem, 1.3vw, 1.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; margin: 0; }
.gcard p { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; margin: 0; }
.gcard__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 0.8rem; color: var(--ink-dim); flex-wrap: wrap;
}
.gcard__foot b { color: var(--ink); }
.gcard__check { color: var(--emerald); font-weight: 700; font-size: 0.76rem; }

/* ============================================================
   8. CSOMAGOK
   ============================================================ */
.pricing {
  background:
    radial-gradient(ellipse 80% 50% at 50% 35%, rgba(37,99,235,0.08) 0%, transparent 70%),
    radial-gradient(circle at 10% 80%, rgba(139,92,246,0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(6,182,212,0.04) 0%, transparent 45%),
    var(--bg);
  position: relative; overflow: hidden;
}
.pricing__ambient-beam {
  position: absolute; top: -20%; left: 50%; width: 60%; height: 140%;
  transform: translateX(-50%) rotate(-12deg);
  background: linear-gradient(180deg, rgba(37,99,235,0.06) 0%, rgba(99,102,241,0.03) 50%, transparent 100%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
.pricing__curves {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.pricing__curves svg {
  width: 100%; height: 100%; object-fit: cover;
  animation: priceCurveFloat 20s ease-in-out infinite alternate;
}
@keyframes priceCurveFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-14px) scale(1.01); }
  100% { transform: translateY(10px) scale(0.99); }
}

.pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 26px); align-items: stretch;
  margin-top: 36px;
}
.ptier {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 2.8vw, 34px); display: flex; flex-direction: column; gap: 18px;
  position: relative; height: 100%;
  box-shadow: 0 4px 18px -6px rgba(10,12,22,0.05);
}
.ptier.in:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--sh);
  border-color: var(--line-strong);
  transition: transform 0.4s var(--e), box-shadow 0.4s var(--e), border-color 0.35s var(--e) !important;
}
.ptier__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: var(--r-lg);
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(37,99,235,0.06), transparent 70%);
  transition: opacity 0.4s var(--e);
}
.ptier:hover .ptier__glow { opacity: 1; }

.ptier--best {
  background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.12); color: #fff;
  padding-top: clamp(34px, 3.8vw, 44px);
  box-shadow: 0 20px 45px -15px var(--brand-glow-lg), 0 0 0 1px rgba(var(--brand-rgb), 0.4);
}
.ptier--best.in:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 26px 55px -15px var(--brand-glow-lg), 0 0 0 1.5px rgba(var(--accent-light-rgb), 0.6);
  transition: transform 0.4s var(--e), box-shadow 0.4s var(--e) !important;
}
.ptier--best::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--r-lg); z-index: -1;
  background: linear-gradient(140deg, var(--brand), var(--accent-light), var(--cyan));
  opacity: 0.6;
}
.ptier__best-glow {
  position: absolute; top: -50px; right: -50px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-rgb), 0.35), transparent 70%);
  pointer-events: none;
}
.ptier__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--brand), var(--violet)); color: #fff;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 16px; border-radius: var(--r-pill); box-shadow: 0 6px 18px -4px var(--brand-glow);
  white-space: nowrap; font-weight: 800; z-index: 2;
}
.ptier__name { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; display: block; margin-bottom: 5px; color: var(--ink); }
.ptier--best .ptier__name { color: #fff; }
.ptier__head p { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }
.ptier--best .ptier__head p { color: #97a3ba; }
.ptier__price { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ptier--best .ptier__price { border-color: rgba(255,255,255,0.12); }
.ptier__price em {
  display: block; font-style: normal; font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15;
}
.ptier--best .ptier__price em { color: #fff; }
.ptier__price span { font-size: 0.74rem; color: var(--ink-dim); font-family: var(--mono); letter-spacing: 0.01em; display: block; margin-top: 4px; line-height: 1.35; }
.ptier--best .ptier__price span { color: #94a3b8; }
.ptier__list { display: flex; flex-direction: column; gap: 9px; flex: 1; margin: 0 0 12px 0; padding: 0; list-style: none; }
.ptier__list li {
  font-size: 0.85rem; color: var(--ink-muted); display: flex; gap: 8px; align-items: flex-start;
  line-height: 1.45; word-break: break-word;
}
.ptier__list li::before { content: "✔"; color: var(--brand); font-size: 0.82rem; flex: none; font-weight: 800; line-height: 1.45; }
.ptier__list li strong { color: var(--ink); font-weight: 700; }
.ptier--best .ptier__list li { color: #cbd5e1; }
.ptier--best .ptier__list li strong { color: #fff; }
.ptier--best .ptier__list li::before { color: var(--emerald-400); }
.ptier .btn { margin-top: auto; width: 100%; }
.ptier--best .btn--primary {
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  border: none;
  position: relative;
  isolation: isolate;
}
.ptier--best .btn--primary > span {
  position: relative;
  z-index: 2;
}
.ptier--best .btn--primary::before {
  background: linear-gradient(120deg, var(--brand-400), var(--cyan));
  z-index: 1;
}
.ptier--best .btn--primary:hover {
  color: #060913;
}

.pricing__banner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 36px; padding: 18px 24px; border-radius: var(--r);
  background: var(--bg-white); border: 1px solid var(--line);
  box-shadow: 0 4px 16px -6px rgba(10,12,22,0.04);
}
.pricing__banner-item {
  display: flex; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--ink-muted);
}
.pricing__banner-item svg { width: 20px; height: 20px; color: var(--emerald); flex: none; }
.pricing__banner-item b { color: var(--ink); }

/* --- Felárak / bővítmények (moduláris extrák) --- */
.addons {
  position: relative; overflow: hidden;
  margin-top: 40px; padding: 34px 36px; border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(var(--brand-rgb), 0.055) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(99, 102, 241, 0.045) 0%, transparent 65%),
    var(--bg-white);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
}
.addons::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-400) 22%, var(--violet) 55%, var(--cyan) 80%, transparent 100%);
  opacity: 0.85;
}

/* Fejléc sáv */
.addons__top-bar {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 28px;
  padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.addons__header-left { min-width: 0; }
.addons__badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--brand-600);
  border: 1px solid rgba(var(--brand-rgb), 0.16);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.addons__badge svg { width: 13px; height: 13px; flex: none; }
.addons__title {
  font-size: clamp(1.28rem, 2.2vw, 1.62rem); font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink); margin: 14px 0 8px 0; line-height: 1.2;
}
.addons__title-accent {
  background: linear-gradient(100deg, var(--brand) 0%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.addons__intro {
  font-size: 0.89rem; color: var(--ink-muted); line-height: 1.62; margin: 0; max-width: 64ch;
}
.addons__guarantee-pill {
  display: flex; align-items: center; gap: 12px; flex: none;
  padding: 13px 18px 13px 14px; border-radius: var(--r);
  background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.22);
}
.addons__pill-icon {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--emerald); color: #fff; font-size: 0.85rem; font-weight: 800;
}
.addons__guarantee-pill b {
  display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.addons__guarantee-pill span {
  display: block; font-size: 0.72rem; color: var(--ink-muted); margin-top: 2px;
}

/* Extrák rácsa */
.addons__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 12px;
}
.addon-item {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--bg-white); border: 1px solid var(--line);
  transition: transform 0.35s var(--e), border-color 0.3s ease, box-shadow 0.35s var(--e);
}
.addon-item:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.32);
  box-shadow: 0 16px 34px -18px var(--brand-glow);
}
.addon-item__icon-box {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  transition: transform 0.35s var(--e-back);
}
.addon-item:hover .addon-item__icon-box { transform: scale(1.08) rotate(-4deg); }
.addon-item__icon-box svg { width: 19px; height: 19px; }
.addon-item__icon-box--blue    { background: rgba(37, 99, 235, 0.10);  color: #2563eb; }
.addon-item__icon-box--cyan    { background: rgba(34, 211, 238, 0.13); color: #0891b2; }
.addon-item__icon-box--amber   { background: rgba(245, 158, 11, 0.13); color: #d97706; }
.addon-item__icon-box--violet  { background: rgba(99, 102, 241, 0.11); color: #6366f1; }
.addon-item__icon-box--emerald { background: rgba(16, 185, 129, 0.12); color: #059669; }
.addon-item__icon-box--indigo  { background: rgba(79, 70, 229, 0.11);  color: #4f46e5; }
.addon-item__icon-box--rose    { background: rgba(244, 63, 94, 0.11);  color: #e11d48; }
.addon-item__icon-box--purple  { background: rgba(168, 85, 247, 0.11); color: #9333ea; }
.addon-item__info { flex: 1; min-width: 0; }
.addon-item__info h4 {
  font-size: 0.87rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.32;
  letter-spacing: -0.01em;
}
.addon-item__info p {
  font-size: 0.75rem; color: var(--ink-dim); margin: 3px 0 0 0; line-height: 1.4;
}
.addon-item__price { flex: none; text-align: right; }
.addon-item__amount {
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700;
  color: var(--brand-600); white-space: nowrap; letter-spacing: -0.01em;
}
.addon-item__amount--custom { color: var(--violet); }

/* Lábjegyzet */
.addons__foot {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 22px; padding: 15px 18px; border-radius: var(--r-sm);
  background: var(--bg-subtle); border: 1px solid var(--line);
}
.addons__foot-icon { flex: none; color: var(--brand); line-height: 0; margin-top: 1px; }
.addons__foot-icon svg { width: 18px; height: 18px; }
.addons__note {
  margin: 0; font-size: 0.79rem; color: var(--ink-muted); line-height: 1.58;
}
.addons__note strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   9. ÖSSZEHASONLÍTÁS (EXECUTIVE MATRIX)
   ============================================================ */
.matrix {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(var(--brand-rgb), 0.04) 0%, transparent 75%),
    var(--bg-white);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.matrix__card {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 14px 34px -8px rgba(15, 23, 42, 0.07);
  position: relative;
}

/* Mobil vízszintes görgetési tipp */
.matrix__scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--brand-soft);
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.matrix__scroll-hint svg {
  width: 14px;
  height: 14px;
  flex: none;
  animation: scrollHintPulse 1.8s ease-in-out infinite alternate;
}
@keyframes scrollHintPulse {
  0% { transform: translateX(-3px); opacity: 0.6; }
  100% { transform: translateX(3px); opacity: 1; }
}

@media (max-width: 860px) {
  .matrix__scroll-hint {
    display: flex;
  }
}

.matrix__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) #f1f5f9;
}

/* Egyedi vízszintes görgetősáv (Custom Horizontal Scrollbar a táblázathoz) */
.matrix__wrap::-webkit-scrollbar {
  height: 8px;
}
.matrix__wrap::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
  margin: 0 16px;
}
.matrix__wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--brand), var(--accent-light));
  border-radius: 999px;
  border: 2px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
  transition: background 0.2s ease;
}
.matrix__wrap::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--brand-700), var(--brand));
}

.matrix__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 820px;
}

.matrix__table th,
.matrix__table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 0.9rem;
  vertical-align: middle;
}
.matrix__table th {
  background: #f8fafc;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  border-bottom: 2px solid rgba(15, 23, 42, 0.09);
}
.matrix__th-feature { width: 32%; }
.matrix__th-other,
.matrix__th-agency { width: 22%; }
.matrix__th-arany { width: 24%; }

.matrix__arany-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.matrix__arany-pill {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}
.matrix__arany-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.matrix__cell-feature strong {
  display: block;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.matrix__cell-feature small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.matrix__val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.matrix__val--muted {
  color: #64748b;
  font-weight: 500;
}
.matrix__val--prime {
  color: #0f172a;
  font-weight: 700;
}
.matrix__check-ico {
  width: 17px;
  height: 17px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  padding: 2px;
  flex: none;
}

.matrix__table .is-hl {
  background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.035) 0%, rgba(var(--accent-light-rgb), 0.02) 100%);
  border-left: 1px solid rgba(var(--brand-rgb), 0.12);
  border-right: 1px solid rgba(var(--brand-rgb), 0.12);
}
.matrix__table th.is-hl {
  background: linear-gradient(180deg, rgba(var(--brand-rgb), 0.08) 0%, rgba(var(--brand-rgb), 0.04) 100%);
  border-top: 2px solid var(--brand);
  border-bottom: 2px solid rgba(var(--brand-rgb), 0.15);
}

.matrix__table tbody tr {
  transition: background 0.2s ease;
}
.matrix__table tbody tr:hover {
  background: rgba(241, 245, 249, 0.65);
}
.matrix__table tbody tr:hover .is-hl {
  background: rgba(var(--brand-rgb), 0.065);
}

/* Összegző kártyák a táblázat alatt */
.matrix__summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}
.matrix-sum {
  background: #ffffff;
  padding: clamp(24px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.matrix-sum:last-child {
  border-right: none;
}
.matrix-sum__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.matrix-sum__label--prime {
  color: var(--brand);
}
.matrix-sum h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}
.matrix-sum p {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.matrix-sum--highlight {
  background: linear-gradient(180deg, var(--brand-soft) 0%, #ffffff 100%);
  position: relative;
}
.matrix-sum--highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-light));
}
.matrix-sum--highlight h4 {
  color: var(--brand-600);
}

/* ============================================================
   10. GYIK
   ============================================================ */
.faq {
  background:
    radial-gradient(circle at 10% 25%, rgba(var(--accent-light-rgb), 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 75%, rgba(var(--brand-rgb), 0.06) 0%, transparent 50%),
    var(--bg);
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}

.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__intro { font-size: 1rem; color: var(--ink-muted); margin-top: 12px; }

.faq__search { margin-top: 22px; position: relative; }
.faq__search input {
  width: 100%; padding: 13px 16px 13px 42px; border: 1.5px solid var(--line);
  border-radius: var(--r-pill); font-size: 0.9rem; background: var(--bg-white);
  transition: all 0.3s var(--e);
}
.faq__search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.faq__search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-dim); }

.faq__empty { margin-top: 14px; font-size: 0.85rem; color: var(--ink-dim); }

.faq__call-box {
  margin-top: 24px; padding: 14px 18px; border-radius: var(--r);
  background: var(--bg-white); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.faq__call-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.faq__call-icon svg { width: 18px; height: 18px; }
.faq__call-box span { display: block; font-size: 0.76rem; color: var(--ink-dim); margin-bottom: 2px; }
.faq__call-tel { font-size: 1.05rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.faq__call-tel:hover { color: var(--brand); }

.faq__list { display: flex; flex-direction: column; gap: 10px; }
.qa {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color 0.3s var(--e), box-shadow 0.35s var(--e);
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s var(--e), box-shadow 0.35s var(--e);
}
.qa:hover { border-color: var(--line-strong); }
.qa[open] {
  border-color: var(--brand);
  box-shadow: 0 14px 34px -18px var(--brand-glow);
  grid-template-rows: auto 1fr;
}
.qa summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1em;
  padding: 1.15em 1.4em; cursor: pointer; font-weight: 700; font-size: 1.02rem;
  grid-row: 1;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); position: relative;
  transition: background 0.3s var(--e), transform 0.4s var(--e);
}
.qa[open] summary i { background: var(--brand); transform: rotate(180deg); }
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; background: var(--brand); top: 50%; left: 50%;
  transform: translate(-50%, -50%); transition: all 0.3s var(--e);
}
.qa summary i::before { width: 10px; height: 2px; }
.qa summary i::after { width: 2px; height: 10px; }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa[open] summary i::after { transform: translate(-50%, -50%) scaleY(0); }

.qa__body {
  grid-row: 2;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  transition: padding 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s var(--e);
  opacity: 0;
}
.qa[open] .qa__body {
  padding: 0 1.4em 1.35em;
  opacity: 1;
}
.qa__body p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}
.qa.is-hidden { display: none; }

/* ============================================================
   9. KAPCSOLAT
   ============================================================ */
.contact {
  background: var(--contact-bg);
  color: #fff;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 8vw, 110px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact__curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  pointer-events: none;
  line-height: 0;
  z-index: 3;
}
.contact__curve svg {
  width: 100%;
  height: 100%;
  display: block;
}
.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(var(--brand-rgb), 0.24) 0%, transparent 65%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(var(--brand-rgb), 0.18) 0%, transparent 65%),
    radial-gradient(circle 480px at 50% 50%, rgba(var(--accent-light-rgb), 0.09) 0%, transparent 60%);
}
.contact__bg::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(var(--brand-rgb), 0.14) 0%, transparent 70%);
  filter: blur(50px);
  transform: rotate(-15deg);
  pointer-events: none;
}
.contact .shell { position: relative; z-index: 2; }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.contact__lead { color: #9aa6bd; margin-top: 16px; font-size: 1.05rem; line-height: 1.65; }
.contact__info { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.contact__info li { display: flex; gap: 18px; font-size: 0.95rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; }
.contact__info li:first-child { border-top: 0; padding-top: 0; }
.contact__info span {
  width: 96px; flex: none; color: var(--brand-400); font-family: var(--mono);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
}
.contact__info a { color: #ffffff; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact__info a:hover { border-color: var(--brand-400); color: var(--brand-300); }
.contact__info em { font-style: normal; color: #cbd5e1; }

.contact__guarantee-box {
  margin-top: 34px; display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: var(--r);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.14), rgba(var(--brand-rgb), 0.06));
  border: 1px solid rgba(var(--accent-light-rgb), 0.25);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
}
.contact__guarantee-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent-light)); color: #fff;
  display: grid; place-items: center; flex: none;
  box-shadow: 0 0 20px rgba(var(--accent-light-rgb), 0.5);
}
.contact__guarantee-badge svg { width: 22px; height: 22px; }
.contact__guarantee-box b { display: block; font-size: 0.94rem; color: #fff; margin-bottom: 2px; }
.contact__guarantee-box p { font-size: 0.82rem; color: #94a3b8; margin: 0; }

.contact__formwrap { position: relative; width: 100%; max-width: 100%; min-width: 0; }
.cform {
  background: var(--cform-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid var(--cform-border-top);
  border-radius: 24px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 70px -15px var(--brand-glow);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cform::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-light-rgb), 0.9), transparent);
}

.cform__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cform__header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(var(--accent-light-rgb), 0.10);
  border: 1px solid rgba(var(--accent-light-rgb), 0.25);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.cform__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 4px #10b981;
  animation: pulseDot 2s infinite;
}
.cform__header-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}
.cform__header-time svg {
  width: 14px;
  height: 14px;
  color: #64748b;
}

.cform__steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.cform__stepdot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  transition: color 0.35s var(--e);
}
.cform__stepdot i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 800;
  transition: all 0.35s var(--e);
  flex: none;
}
.cform__stepdot.is-active {
  color: #ffffff;
}
.cform__stepdot.is-active i {
  background: linear-gradient(135deg, var(--brand), var(--accent-light));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 16px rgba(var(--accent-light-rgb), 0.6);
}
.cform__stepdot.is-done {
  color: #cbd5e1;
}
.cform__stepdot.is-done i {
  background: #10b981;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}
.cform__stepline {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.cform__stepline b {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent-light));
  transition: width 0.45s var(--e);
}

.cstep { display: none; }
.cstep.is-active { display: block; animation: stepIn 0.55s var(--e) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.cstep__nav { display: flex; gap: 12px; margin-top: 14px; }
.cstep__nav .btn--ghost {
  flex: none;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 24px;
  border-radius: 12px;
}
.cstep__nav .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.cstep__nav .btn--primary {
  flex: 1;
}

.cform .btn--primary,
.cstep .cstep__next,
.cstep .cstep__submit {
  position: relative;
  overflow: hidden;
  background: var(--gradient-cta);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  border-radius: 14px;
  box-shadow:
    0 12px 32px -6px var(--brand-glow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.32s var(--e);
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  box-sizing: border-box;
  max-width: 100%;
}
.cform .btn--primary::before,
.cstep .cstep__next::before,
.cstep .cstep__submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s var(--e);
  pointer-events: none;
}
.cform .btn--primary:hover::before,
.cstep .cstep__next:hover::before,
.cstep .cstep__submit:hover::before {
  left: 150%;
}
.cform .btn--primary:hover,
.cstep .cstep__next:hover,
.cstep .cstep__submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -6px var(--brand-glow-lg),
    0 0 24px rgba(var(--accent-light-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.cform .btn--primary:hover .btn__arrow,
.cstep .cstep__next:hover .btn__arrow,
.cstep .cstep__submit:hover .btn__arrow {
  transform: translateX(4px);
}

.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 580px) {
  .cform__row { grid-template-columns: 1fr; }
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.field label i { font-style: normal; font-weight: 500; color: #94a3b8; }

.field input,
.field textarea,
.select-wrap select {
  width: 100%;
  padding: 1.05em 1.25em;
  border-radius: 14px;
  background: var(--cform-field-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s var(--e), box-shadow 0.25s var(--e), background 0.25s var(--e);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #64748b;
  font-weight: 400;
}
.field input:hover,
.field textarea:hover,
.select-wrap select:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: var(--cform-field-focus);
}
.field input:focus,
.field textarea:focus,
.select-wrap select:focus {
  border-color: var(--accent-light);
  background: var(--cform-field-focus);
  box-shadow:
    0 0 0 3px rgba(var(--accent-light-rgb), 0.22),
    0 0 24px -4px var(--brand-glow),
    inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
.field textarea {
  resize: vertical;
  min-height: 98px;
  line-height: 1.6;
}

.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none;
  padding-right: 2.8em;
  cursor: pointer;
}
.select-wrap select option {
  background: #0f0d0b;
  color: #ffffff;
  padding: 12px;
}
.select-wrap .select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: #94a3b8;
  transition: transform 0.25s var(--e), color 0.25s var(--e);
}
.select-wrap select:focus + .select-arrow {
  color: var(--accent-light);
  transform: translateY(-50%) rotate(180deg);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  animation: shake 0.4s;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.field__err {
  display: block;
  min-height: 1.15em;
  color: #f87171;
  font-size: 0.76rem;
  margin-top: 6px;
  font-weight: 600;
}

.pickers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 580px) {
  .pickers {
    grid-template-columns: 1fr;
  }
}
.picker {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s var(--e);
  text-align: center;
}
.picker:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-2px);
}
.picker.is-on {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.4), rgba(var(--accent-light-rgb), 0.25));
  border-color: var(--accent-light);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(var(--accent-light-rgb), 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s var(--e);
  position: relative;
  text-align: left;
}
.module:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  transform: translateY(-2px);
}
.module.is-on {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.38), rgba(var(--accent-light-rgb), 0.25));
  border-color: var(--brand-400);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px var(--brand-glow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.module__name {
  flex: 1;
  line-height: 1.3;
}
.module__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex: none;
  transition: all 0.25s var(--e);
}
.module.is-on .module__check {
  background: var(--accent-light);
  color: #041026;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(var(--accent-light-rgb), 0.8);
}

.cform__summary-chip {
  margin: 16px 0 20px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.14), rgba(var(--accent-light-rgb), 0.06));
  border: 1px solid rgba(var(--accent-light-rgb), 0.3);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}
.cform__summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.cform__summary-label {
  font-family: var(--mono);
  font-size: 0.70rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.cform__summary-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}
.cform__summary-chip b {
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.45;
  display: block;
}

.cform__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.cform__stat-card {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cform__stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cform__stat-lbl {
  font-size: 0.70rem;
  color: #94a3b8;
  margin-top: 3px;
  font-weight: 600;
}

.checkbox { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin-top: 8px; }
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box {
  flex: none; width: 20px; height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px; margin-top: 2px;
  display: grid; place-items: center; color: #fff;
  background: rgba(15, 23, 42, 0.8);
  transition: all 0.25s var(--e);
}
.checkbox__box svg { width: 13px; height: 13px; opacity: 0; transition: opacity 0.2s; }
.checkbox input:checked + .checkbox__box {
  background: var(--brand);
  border-color: var(--brand-400);
  box-shadow: 0 0 10px var(--brand-glow-lg);
}
.checkbox input:checked + .checkbox__box svg { opacity: 1; }
.checkbox__txt { font-size: 0.84rem; color: #94a3b8; line-height: 1.55; }
.cform__note { text-align: center; font-size: 0.80rem; color: #64748b; margin-top: 16px; }

/* Honeypot mező: valódi látogatóknak láthatatlan és el nem érhető, de a DOM-ban jelen van a botok számára */
.cform__honeypot {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.cform__submit-err {
  margin: 4px 0 0 0; padding: 12px 14px; border-radius: var(--r-sm);
  background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.32);
  color: #fca5a5; font-size: 0.82rem; line-height: 1.5; text-align: center;
}
.cform__submit-err[hidden] { display: none; }

.cstep__submit[disabled] { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
.cstep__submit.is-loading span, .cstep__submit.is-loading .btn__arrow { visibility: hidden; }
.cstep__submit.is-loading { position: relative; }
.cstep__submit.is-loading::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px;
  margin: -10px 0 0 -10px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

.cform__ok[hidden] { display: none; }
.cform__ok {
  background: linear-gradient(170deg, rgba(23, 37, 84, 0.45) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(10, 15, 30, 0.95) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  color: #ffffff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  animation: okIn 0.7s var(--e) both;
}
@keyframes okIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.cform__ok-ico {
  width: 62px; height: 62px; border-radius: 50%; background: var(--emerald); color: #fff;
  display: grid; place-items: center; margin-bottom: 18px;
  animation: okPop 0.6s var(--e-back) 0.15s both;
}
@keyframes okPop { from { transform: scale(0); } to { transform: scale(1); } }
.cform__ok-ico svg { width: 30px; height: 30px; }
.cform__ok h3 { font-size: 1.6rem; margin-bottom: 10px; color: #ffffff; }
.cform__ok p { color: #94a3b8; max-width: 40ch; line-height: 1.65; }
.cform__ok a { color: var(--accent-light); font-weight: 700; text-decoration: underline; }


/* ============================================================
   FINALE
   ============================================================ */
.finale {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 11vw, 140px);
  text-align: center;
  background: linear-gradient(180deg, #1d4ed8 0%, #3730a3 50%, #1e1b4b 100%);
  color: #fff;
  overflow: hidden;
}
.finale__aura {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-light-rgb), 0.28), transparent 70%);
  pointer-events: none; animation: pulseGlow 6s ease-in-out infinite alternate;
}
.finale__waves {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.finale__waves svg {
  width: 100%; height: 100%; object-fit: cover;
  animation: finaleWaveFloat 16s ease-in-out infinite alternate;
}
@keyframes finaleWaveFloat {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-16px) scale(1.03); }
  100% { transform: translateY(12px) scale(0.98); }
}

.stardust {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, #ffffff 30%, rgba(255,255,255,0) 80%);
  pointer-events: none;
}
.stardust--1 { width: 5px; height: 5px; top: 22%; left: 14%; animation: stardustFloat 6s infinite ease-in-out; }
.stardust--2 { width: 7px; height: 7px; top: 68%; left: 24%; animation: stardustFloat 8s infinite ease-in-out 1.2s; }
.stardust--3 { width: 6px; height: 6px; top: 28%; right: 16%; animation: stardustFloat 7s infinite ease-in-out 2.4s; }
.stardust--4 { width: 4px; height: 4px; top: 72%; right: 26%; animation: stardustFloat 5s infinite ease-in-out 0.7s; }
.stardust--5 { width: 8px; height: 8px; top: 16%; left: 58%; animation: stardustFloat 9s infinite ease-in-out 3s; }

@keyframes stardustFloat {
  0%, 100% { transform: translateY(0) scale(0.7); opacity: 0.25; }
  50%      { transform: translateY(-26px) scale(1.25); opacity: 0.9; box-shadow: 0 0 10px 2px rgba(255,255,255,0.7); }
}
.finale .shell { position: relative; z-index: 2; }
.finale__eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.75; margin-bottom: 18px;
}
.finale__title {
  font-size: clamp(2.4rem, 6vw, 5rem); color: #fff; letter-spacing: -0.045em; line-height: 1.02;
}
.finale__text { margin: 22px auto 0; font-size: 1.1rem; max-width: 46ch; opacity: 0.9; }
.finale__action { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.finale__micro { margin-top: 20px; font-size: 0.85rem; opacity: 0.8; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-white); color: var(--ink-muted); padding: clamp(56px, 7vw, 88px) 0 26px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 56px); }
.footer__brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.65; max-width: 36ch; }
.footer__status-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer__status, .footer__time-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--ink);
  background: var(--bg-subtle); padding: 7px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.footer__status-dot, .footer__time-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); animation: pulseDot 2.4s infinite; }
.footer__time-dot { background: var(--brand); }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.footer__nav h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; font-weight: 600; }
.footer__nav a { display: block; font-size: 0.9rem; padding: 0.35em 0; transition: color 0.25s, transform 0.35s var(--e); }
.footer__nav a:hover { color: var(--brand); transform: translateX(4px); }

.footer__wordmark {
  font-size: clamp(3rem, 14vw, 10rem); font-weight: 800; letter-spacing: -0.06em;
  line-height: 0.85; text-align: center; color: transparent;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, rgba(238,241,247,0) 92%);
  -webkit-background-clip: text; background-clip: text;
  user-select: none; margin: 0 0 clamp(8px, 2vw, 20px);
}

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1em;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.83rem; color: var(--ink-dim);
}
.footer__bottom nav { display: flex; gap: 1.4em; }
.footer__bottom a:hover { color: var(--ink); }

/* ============================================================
   SÜTI (COOKIE) TÁJÉKOZTATÓ
   ============================================================ */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 940;
  width: min(360px, calc(100vw - 40px));
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(140%);
  transition: transform 0.5s var(--e), opacity 0.4s ease, visibility 0.5s;
}
/* Az alapállapot (opacity/visibility/pointer-events) mindig rejtett és
   inaktív marad, függetlenül attól, hogy a JS mikor veszi le/teszi
   vissza a "hidden" attribútumot — csak az .is-shown class kapcsolja be. */
.cookie-bar.is-shown { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.cookie-bar p { font-size: 0.86rem; line-height: 1.55; color: var(--ink-muted); }
.cookie-bar p a { color: var(--brand); font-weight: 700; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; }
.cookie-bar__actions .btn { flex: 1; }

/* ============================================================
   BACK TO TOP PROGRESS GOMB
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 84px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--bg-white); border: 0; cursor: pointer;
  display: grid; place-items: center; z-index: 850;
  box-shadow: 0 6px 20px rgba(10,12,22,0.15);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all 0.35s var(--e);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(37,99,235,0.25); }
.back-to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-to-top__circle-bg { fill: none; stroke: var(--line); stroke-width: 2.8; }
.back-to-top__circle { fill: none; stroke: var(--brand); stroke-width: 2.8; stroke-linecap: round; transition: stroke-dasharray 0.1s linear; }
.back-to-top__arrow { width: 18px; height: 18px; color: var(--ink); position: relative; z-index: 2; }

/* ============================================================
   AI ASSZISZTENS WIDGET (100% Statikus / Kliens-oldali)
   ============================================================ */
.ai-widget {
  display: none !important; /* Egyelőre elrejtve, kód megőrizve */
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  z-index: 920;
}

.ai-fab-wrap {
  position: relative; display: flex; flex-direction: column; align-items: flex-end;
}

/* Kisebb, visszafogott indítógomb — nincs folyamatos pulzálás,
   csak hoverre reagál, hogy ne vonja el a figyelmet az oldalról. */
.ai-fab {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px -6px rgba(10, 12, 22, 0.45);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  position: relative; transition: transform 0.3s var(--e), box-shadow 0.3s var(--e), background 0.3s var(--e);
}
.ai-fab:hover, .ai-fab.is-open {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(10, 12, 22, 0.55);
  background: var(--brand);
}
.ai-fab__icon svg { width: 21px; height: 21px; transition: transform 0.4s var(--e); }
.ai-fab.is-open .ai-fab__icon svg { transform: rotate(90deg); }

.ai-fab__status {
  position: absolute; bottom: 1px; right: 1px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--emerald);
  border: 2px solid var(--bg-dark);
}

/* Chat ablak — kisebb, letisztultabb, kevesebb neon-fény */
.ai-chat {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  width: min(340px, calc(100vw - 32px)); height: min(490px, calc(100dvh - 120px));
  background: var(--bg-dark-2); backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(10px) scale(0.97); opacity: 0; visibility: hidden; pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.32s var(--e), opacity 0.24s ease, visibility 0.32s;
}
.ai-chat:not([hidden]) {
  transform: none; opacity: 1; visibility: visible; pointer-events: auto;
}

.ai-chat__head {
  padding: 13px 14px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-chat__agent { display: flex; align-items: center; gap: 10px; }
.ai-chat__avatar {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand);
  display: grid; place-items: center; color: #fff; position: relative;
}
.ai-chat__avatar svg { width: 16px; height: 16px; }
.ai-chat__live {
  position: absolute; bottom: -2px; right: -2px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--emerald); border: 2px solid var(--bg-dark-2);
}
.ai-chat__info h4 { font-size: 0.86rem; font-weight: 700; color: #fff; margin: 0; }
.ai-chat__info p {
  font-size: 0.7rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; margin: 0;
}
.ai-chat__dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--emerald); display: inline-block;
}
.ai-chat__actions { display: flex; gap: 4px; }
.ai-btn-icon {
  width: 28px; height: 28px; border-radius: 8px; background: transparent;
  border: 1px solid transparent; color: rgba(255, 255, 255, 0.55);
  display: grid; place-items: center; cursor: pointer; transition: all 0.2s;
}
.ai-btn-icon:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ai-btn-icon svg { width: 15px; height: 15px; }

/* Chat body / üzenetek */
.ai-chat__body {
  flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px;
  overscroll-behavior: contain; scroll-behavior: smooth;
}
.ai-chat__body::-webkit-scrollbar { width: 4px; }
.ai-chat__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

.ai-msg {
  display: flex; flex-direction: column; max-width: 88%; font-size: 0.82rem; line-height: 1.5;
  animation: aiMsgIn 0.28s var(--e);
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.ai-msg--bot { align-self: flex-start; }
.ai-msg--user { align-self: flex-end; }

.ai-msg__content {
  padding: 9px 12px; border-radius: 14px; word-break: break-word;
}
.ai-msg--bot .ai-msg__content {
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dde3ee; border-bottom-left-radius: 4px;
}
.ai-msg--bot .ai-msg__content p + p { margin-top: 7px; }
.ai-msg--bot .ai-msg__content strong { color: var(--brand-400); }
.ai-msg--bot .ai-msg__content ul { margin: 6px 0 0 16px; padding: 0; list-style: disc; }
.ai-msg--bot .ai-msg__content li { margin-bottom: 4px; color: #cbd5e1; }
.ai-msg--bot .ai-msg__action-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  background: var(--brand); color: #fff; font-size: 0.76rem; font-weight: 700;
  padding: 6px 12px; border-radius: var(--r-pill); text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.ai-msg--bot .ai-msg__action-btn:hover { background: var(--brand-600); transform: translateY(-1px); }

.ai-msg--user .ai-msg__content {
  background: var(--brand);
  color: #fff; border-bottom-right-radius: 4px;
}

.ai-msg__time {
  font-family: var(--mono); font-size: 0.62rem; color: rgba(255,255,255,0.3);
  margin-top: 3px; padding: 0 4px;
}
.ai-msg--user .ai-msg__time { align-self: flex-end; }

/* Gyors gombok / chips */
.ai-chips {
  display: flex; gap: 6px; padding: 0 14px 10px; overflow-x: auto; flex-wrap: nowrap;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chip {
  flex: none; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-pill); color: #94a3b8; font-size: 0.72rem; font-weight: 500;
  padding: 6px 11px; cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.ai-chip:hover {
  background: rgba(37, 99, 235, 0.14); border-color: rgba(96, 165, 248, 0.35); color: var(--brand-400);
}

/* Gépelés animáció */
.ai-typing {
  display: flex; align-items: center; gap: 5px; padding: 0 14px 8px;
  color: rgba(255,255,255,0.4); font-size: 0.7rem;
}
.ai-typing:not([hidden]) { display: flex; }
.ai-typing__dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-400);
  animation: aiTypingBounce 1.2s infinite ease-in-out;
}
.ai-typing__dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing__dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiTypingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}
.ai-typing em { font-style: normal; margin-left: 6px; font-family: var(--mono); }

/* Lábléc & beviteli mező */
.ai-chat__foot {
  padding: 10px 12px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; gap: 8px;
}
.ai-chat__foot input {
  flex: 1; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px; color: #fff; font-size: 0.82rem; padding: 9px 12px;
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.ai-chat__foot input:focus {
  border-color: var(--brand); background: rgba(255, 255, 255, 0.08);
}
.ai-chat__foot input::placeholder { color: rgba(255,255,255,0.32); }
.ai-chat__foot button {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand); border: 0; color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none;
  transition: transform 0.2s, background 0.2s;
}
.ai-chat__foot button:hover { background: var(--brand-600); transform: scale(1.04); }
.ai-chat__foot button svg { width: 15px; height: 15px; }

.ai-chat__legal {
  padding: 5px 14px 10px; text-align: center; font-size: 0.62rem;
  color: rgba(255,255,255,0.28); font-family: var(--mono);
}

@media (max-width: 640px) {
  .ai-widget {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
  .ai-fab { width: 46px; height: 46px; }
  /* Fix pozíciójú, biztonsági terület-tudatos "bottom sheet" —
     a korábbi abszolút pozíció keskeny/alacsony képernyőn levágta a chat sarkát. */
  .ai-chat {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    width: auto; max-width: none;
    height: min(66dvh, 520px);
    max-height: calc(100dvh - max(24px, env(safe-area-inset-bottom)) - 76px);
    border-radius: 18px;
    transform-origin: bottom center;
  }
}

@media (max-width: 380px) {
  .ai-chips { padding-left: 12px; padding-right: 12px; }
}

/* ============================================================
   10. RESZPONZÍV
   ============================================================ */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 11px; font-size: 0.84rem; }
  .tel-link span { display: none; }
  .tel-link { padding: 9px; }
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__inner::before { display: none; }
  .hero__copy { padding-left: 0; }
  .head { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .case, .case--wide { grid-column: span 1; }
  .guarantee__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__banner { grid-template-columns: 1fr; }
  .addons__top-bar { flex-direction: column; gap: 20px; }
  .addons__guarantee-pill { width: 100%; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .reason { grid-column: span 1; grid-row: auto; }
  .reason--lead, .reason--wide { grid-column: span 2; }
  .pricing__grid { grid-template-columns: 1fr; }
  .ptier--best { transform: none; }
  .ptier--best:hover { transform: translateY(-5px); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 46px minmax(0, 1fr) 52px; }
  .svc__tags { display: none; }
  .process { height: 380vh; }
  .pstep { width: clamp(420px, 60vw, 540px); }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .mega { display: none; }
}

@media (max-width: 720px) {
  :root { --nav-h: 62px; }
  .brand { font-size: 0.98rem; }
  .brand__txt em {
    display: inline-block;
    font-size: 0.62rem;
    padding: 2px 6px;
    margin-left: 4px;
    vertical-align: middle;
  }
  .header__actions .btn--sm { display: none; }
  .work__grid { grid-template-columns: 1fr; }
  .guarantee__grid { grid-template-columns: 1fr; }
  .matrix__summary-grid { grid-template-columns: 1fr; }
  .addons { padding: 24px 18px; border-radius: var(--r); }
  .addons__grid { grid-template-columns: 1fr; }
  .addon-item { padding: 13px 14px; gap: 11px; }
  .back-to-top { bottom: 74px; right: 16px; width: 40px; height: 40px; }
  .reasons { grid-template-columns: 1fr; }
  .reason, .reason--lead, .reason--wide { grid-column: span 1; }
  .reason__checks { grid-template-columns: 1fr; }
  .showcase__foot span:last-child { display: none; }
  .showcase__legend { display: none; }

  /* Folyamat - mobil vízszintes görgetés bőséges hellyel és alsó térközzel */
  .process { height: 350vh; }
  .process__pin {
    height: 100vh;
    height: 100svh;
    justify-content: center;
    padding-top: max(60px, env(safe-area-inset-top));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    box-sizing: border-box;
  }
  .process__head { padding: 0 0 10px; }
  .process__head .h2 { font-size: clamp(1.35rem, 5.2vw, 1.75rem); margin-bottom: 0; }
  .process__progress { min-width: 150px; gap: 10px; }
  .process__track {
    gap: 16px;
    padding-left: 18px;
    padding-right: 36px;
  }
  .pstep {
    width: min(300px, 78vw);
    padding: 20px 18px;
    gap: 10px;
    border-radius: 18px;
  }
  .pstep h3 { font-size: 1.18rem; line-height: 1.25; margin: 0; }
  .pstep p { font-size: 0.84rem; line-height: 1.45; margin: 0; }
  .pstep__list { gap: 6px; margin-top: 2px; }
  .pstep__list li { font-size: 0.78rem; line-height: 1.35; }
  .pstep__foot { margin-top: 4px; padding-top: 8px; }
  .pstep--cta { width: min(290px, 76vw); padding: 22px 18px; }
  .pstep--cta .btn { padding: 0.85em 1.4em; font-size: 0.88rem; }

  .svc { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .svc__arrow { display: none; }
  .finale__action { flex-direction: column; }
  .finale__action .btn { width: 100%; }

  /* Űrlap és Kapcsolat teljes reszponzivitás mobilon */
  .contact {
    padding: clamp(40px, 7vw, 60px) 0 clamp(36px, 6vw, 56px);
  }
  .contact__curve {
    height: clamp(28px, 5vw, 44px);
  }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__formwrap { width: 100%; max-width: 100%; min-width: 0; }
  .cform {
    padding: clamp(18px, 4.5vw, 24px) clamp(14px, 3.8vw, 20px);
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .cform__header {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 12px;
  }
  .cform__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 22px;
    width: 100%;
    box-sizing: border-box;
  }
  .cform__stepdot {
    gap: 5px;
    font-size: 0.72rem;
    min-width: 0;
    flex: none;
  }
  .cform__stepdot i {
    width: 24px;
    height: 24px;
    font-size: 0.70rem;
  }
  .cform__stepline {
    flex: 1;
    min-width: 12px;
  }
  .cform__row { grid-template-columns: 1fr; gap: 12px; }
  .cstep__nav {
    flex-direction: column-reverse;
    gap: 10px;
    width: 100%;
  }
  .cstep__nav .btn {
    width: 100%;
    padding: 0.95em 1.2em;
    font-size: 0.92rem;
    white-space: normal;
  }
  .cform .btn--primary,
  .cstep .cstep__next,
  .cstep .cstep__submit {
    padding: 0.95em 1.2em;
    font-size: 0.92rem;
    white-space: normal;
    text-align: center;
    width: 100%;
  }
  .pickers {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .picker {
    padding: 12px 14px;
    font-size: 0.85rem;
    width: 100%;
  }
  .modules {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .module {
    padding: 11px 14px;
    font-size: 0.82rem;
    width: 100%;
    min-width: 0;
  }
  .cform__stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 18px;
    width: 100%;
  }
  .cform__stat-card {
    padding: 10px 4px;
    min-width: 0;
  }
  .cform__stat-val {
    font-size: clamp(0.95rem, 3.8vw, 1.2rem);
  }
  .cform__stat-lbl {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    line-height: 1.25;
  }
  .cform__summary-chip {
    padding: 12px 14px;
    margin: 14px 0 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .cform__summary-chip b {
    font-size: 0.82rem;
    word-break: break-word;
  }
  .field input,
  .field textarea,
  .select-wrap select {
    font-size: 16px;
    padding: 0.9em 1.1em;
  }
}

@media (max-width: 480px) {
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .cform__stepdot span { display: none; }
  .cform__stepdot.is-active span { display: inline; font-size: 0.70rem; }
}

/* ============================================================
   JOGI OLDALAK STÍLUSAI (Adatvédelem, ÁSZF, Impresszum, Süti)
   ============================================================ */
.legal-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 90px) 0 clamp(32px, 4vw, 50px);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.legal-hero__inner {
  max-width: 1140px;
  margin: 0 auto;
}
.legal-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-dim);
  margin-bottom: 16px;
}
.legal-breadcrumbs a {
  color: var(--brand);
  font-weight: 600;
  transition: color 0.2s;
}
.legal-breadcrumbs a:hover {
  color: var(--brand-600);
  text-decoration: underline;
}
.legal-breadcrumbs svg {
  width: 13px;
  height: 13px;
  color: var(--ink-dim);
  flex: none;
}
.legal-hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.15;
  margin: 10px 0 16px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.legal-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legal-hero__meta strong {
  color: var(--ink);
}

.legal-main {
  flex: 1;
  padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 84px);
}
.legal-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

/* Asztali oldalsáv (Desktop Sidebar TOC) */
.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.legal-toc {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--sh-sm);
}
.legal-toc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-toc__title svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}
.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc a {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  transition: all 0.2s var(--e);
  display: block;
}
.legal-toc a:hover {
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateX(3px);
}

/* Mobil / Tablet leugró tartalomjegyzék (Mobile Accordion TOC) */
.legal-mobile-toc {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 24px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.legal-mobile-toc summary {
  padding: 14px 18px;
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
  background: var(--bg-subtle);
  transition: background 0.2s;
}
.legal-mobile-toc summary::-webkit-details-marker {
  display: none;
}
.legal-mobile-toc summary .toc-sum-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-mobile-toc summary svg.toc-icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
}
.legal-mobile-toc summary svg.toc-chevron {
  width: 16px;
  height: 16px;
  color: var(--ink-dim);
  transition: transform 0.25s var(--e);
}
.legal-mobile-toc[open] summary svg.toc-chevron {
  transform: rotate(180deg);
}
.legal-mobile-toc__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 340px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-white);
}
.legal-mobile-toc__body a {
  font-size: 0.84rem;
  color: var(--ink-muted);
  padding: 8px 12px;
  border-radius: var(--r-xs);
  background: var(--bg-subtle);
  line-height: 1.35;
  transition: all 0.2s;
}
.legal-mobile-toc__body a:active, .legal-mobile-toc__body a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

/* Fő tartalom kártya */
.legal-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--sh-sm);
  min-width: 0;
  max-width: 100%;
}

.legal-sec {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal-sec:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.legal-sec h2, .legal-sec h3 {
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}
.legal-sec h2::before, .legal-sec h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--brand);
  border-radius: 2px;
  flex: none;
  margin-top: 2px;
}
.legal-sec h4 {
  font-size: 1.02rem;
  color: var(--ink);
  margin: 18px 0 8px;
}
.legal-sec p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.legal-sec p strong, .legal-sec li strong {
  color: var(--ink);
}

/* Listák explicit formázása */
.legal-sec ul {
  list-style: disc !important;
  padding-left: 24px;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-sec ol {
  list-style: decimal !important;
  padding-left: 24px;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-sec li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
  overflow-wrap: break-word;
  word-break: break-word;
}
.legal-sec a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  overflow-wrap: break-word;
  word-break: break-word;
}
.legal-sec a:hover {
  color: var(--brand-700);
}

/* Kiemelt dobozok */
.legal-highlight {
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-xs);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 0.90rem;
  line-height: 1.65;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}
.legal-highlight strong {
  color: var(--brand-700);
}

/* Táblázatok reszponzív burkolója */
.legal-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--bg-white);
  box-shadow: inset -6px 0 6px -6px rgba(10, 12, 22, 0.12);
}
.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}
.legal-table th {
  background: var(--bg-subtle);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  vertical-align: top;
  line-height: 1.5;
}
.legal-table tr:last-child td {
  border-bottom: none;
}
.legal-table td strong {
  color: var(--ink);
}

/* Cégadat & Információs kártyák (Impresszum / Kapcsolat) */
.legal-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.legal-company-box {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.legal-company-box span {
  font-family: var(--mono);
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 700;
}
.legal-company-box b {
  font-size: 0.95rem;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}
.legal-company-box p {
  font-size: 0.82rem;
  color: var(--ink-dim);
  margin: 0;
}

/* ============================================================
   JOGI OLDALAK RESZPONZÍV TÖRÉSPONTOK
   ============================================================ */
@media (max-width: 960px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .legal-sidebar {
    display: none;
  }
  .legal-mobile-toc {
    display: block;
  }
}

@media (max-width: 720px) {
  .legal-hero {
    padding: 32px 0 24px;
  }
  .legal-breadcrumbs {
    font-size: 0.72rem;
    gap: 6px;
    margin-bottom: 12px;
  }
  .legal-hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    margin: 8px 0 12px;
  }
  .legal-hero__meta {
    font-size: 0.78rem;
    gap: 6px 14px;
  }
  .legal-main {
    padding: 16px 0 44px;
  }
  .legal-card {
    padding: 20px 16px;
    border-radius: var(--r-sm);
  }
  .legal-sec {
    padding-bottom: 22px;
    margin-bottom: 22px;
    scroll-margin-top: calc(var(--nav-h) + 16px);
  }
  .legal-sec h2, .legal-sec h3 {
    font-size: 1.15rem;
    gap: 8px;
  }
  .legal-sec h2::before, .legal-sec h3::before {
    height: 16px;
    width: 3.5px;
  }
  .legal-sec h4 {
    font-size: 0.96rem;
    margin: 14px 0 6px;
  }
  .legal-sec p {
    font-size: 0.88rem;
    line-height: 1.62;
    margin-bottom: 12px;
  }
  .legal-sec ul, .legal-sec ol {
    padding-left: 20px;
    gap: 6px;
    margin: 10px 0 14px;
  }
  .legal-sec li {
    font-size: 0.86rem;
    line-height: 1.58;
  }
  .legal-highlight {
    padding: 12px 14px;
    font-size: 0.84rem;
    margin: 14px 0;
  }
  .legal-table {
    font-size: 0.80rem;
  }
  .legal-table th, .legal-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .legal-company-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .legal-company-box {
    padding: 14px;
  }
}

/* ============================================================
   CSÖKKENTETT MOZGÁS
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], .word { opacity: 1 !important; transform: none !important; }
  .cursor, .grain { display: none !important; }
  .process { height: auto !important; }
  .process__pin { position: static; height: auto; padding: 90px 0; }
  .process__track { flex-wrap: wrap; transform: none !important; padding: 0 clamp(20px, 4vw, 52px); }
  .pstep { width: 100%; }
}
