/* ============================================================
   Faktor Szakmai Nap 2026 — regisztrációs landing
   Designnyelv: a Faktor oldalak (faktoraruhaz.hu, klímakarbantartás,
   kalkulátor) tokenjei; a hero a hírlevél-kreatívot idézi:
   „FAKTOR” + sárga „SZAKMAI NAP”, átlós kék sávok.
   ============================================================ */

:root {
  /* Felületek */
  --bg:        #ffffff;
  --bg-soft:   #f2f7f5;   /* faktoraruhaz.hu szekcióháttér */
  --bg-tint:   #f6f7fc;
  --line:      #e6e9e8;
  --line-2:    #dcdfde;

  /* Szöveg */
  --text:      #333333;   /* faktoraruhaz.hu body */
  --text-2:    #545966;
  --text-3:    #667570;   /* faktoraruhaz.hu .box-info */
  --ink:       #3e58a7;   /* faktoraruhaz.hu h1/h2 */
  --ink-2:     #1f2225;   /* faktoraruhaz.hu .box-title */
  --near:      #05191b;

  /* Márka */
  --brand:     #414e9c;   /* faktoraruhaz.hu .btn-primary */
  --brand-600: #364185;
  --brand-900: #232a5c;
  --night:     #1b215a;   /* a hero mélykékje */
  --brand-100: #e8eaf5;
  --brand-50:  #f3f5fb;
  --accent:    #feae00;
  --accent-100:#ffe7b3;
  --yellow:    #ffd740;   /* faktoraruhaz.hu lábléc sárga */

  /* Állapotok */
  --good:      #4e7e50;
  --good-bg:   #d9ebda;
  --danger:    #c62828;
  --danger-bg: #fdecec;

  /* Forma */
  --radius:    24px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --pill:      40px;
  --shadow:    16px 16px 24px rgba(0, 0, 0, .06);
  --shadow-sm: 8px 8px 18px rgba(0, 0, 0, .05);
  --shadow-lg: 20px 20px 44px rgba(0, 0, 0, .09);

  --maxw:      1240px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.18; margin: 0; font-weight: 700; color: var(--ink); letter-spacing: -.015em; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }
img { max-width: 100%; height: auto; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 860px); }
@media (max-width: 480px) { .wrap { width: calc(100% - 32px); } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 16px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ============================================================
   GOMBOK
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--pill);
  font: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease), background .16s, box-shadow .16s, color .16s, border-color .16s;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(65, 78, 156, .28); }
.btn--primary:hover { box-shadow: 0 14px 30px rgba(65,78,156,.34), inset 0 -3px 0 rgba(0,0,0,.15); }

.btn--accent {
  background: linear-gradient(180deg, #ffc021 0%, var(--accent) 100%);
  color: #3a2700; font-weight: 700;
  box-shadow: 0 10px 24px rgba(254, 174, 0, .34);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(254,174,0,.42), inset 0 -3px 0 rgba(0,0,0,.14); }
.btn--accent:active { transform: translateY(1px); }
.btn--accent:hover svg { transform: translateX(3px); }
.btn--accent svg { transition: transform .2s var(--ease); }

.btn--ghost {
  background: #fff; color: var(--brand);
  border: 1.5px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-50); }

.btn--outlineDark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.42); }
.btn--outlineDark:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--xl { min-height: 60px; padding: 0 32px; font-size: 17.5px; }

/* ============================================================
   FEJLÉC
   ============================================================ */

.brandbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brandbar__in { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brandbar__logo { display: block; line-height: 0; flex-shrink: 0; }
.brandbar__logo img { width: 168px; height: auto; }

.brandbar__nav { display: flex; align-items: center; gap: 4px; margin-left: 22px; margin-right: auto; }
.brandbar__nav a {
  font-size: 14.5px; font-weight: 600; color: var(--near); text-decoration: none;
  padding: 10px 15px; border-radius: var(--pill);
  transition: background .16s, color .16s;
}
.brandbar__nav a:hover { background: var(--brand-50); color: var(--brand); }

.brandbar__meta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.brandbar__date {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--brand);
  background: var(--brand-50); padding: 8px 14px; border-radius: var(--pill);
  white-space: nowrap;
}
.brandbar__date svg { width: 16px; height: 16px; }

@media (max-width: 900px) { .brandbar__nav { display: none; } }
@media (max-width: 560px) {
  .brandbar__in { padding: 10px 0; gap: 10px; }
  .brandbar__logo img { width: 124px; }
  .brandbar__date { display: none; }
  .brandbar .btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  /* clip: a hidden-del ellentétben nem görgethető, így fókuszáláskor sem csúszik el */
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(86,104,214,.35), transparent 62%),
    radial-gradient(700px 520px at 100% 100%, rgba(254,174,0,.12), transparent 60%),
    linear-gradient(160deg, #1e2563 0%, var(--night) 48%, #151a4a 100%);
  color: #fff;
  padding: clamp(28px, 3.4vw, 48px) 0 clamp(96px, 9vw, 120px);
}

/* finom pontrács a mélységért */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.3px);
  background-size: 24px 24px;
  opacity: .07;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
          mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* Átlós sávok — a hírlevél-kreatív kék csíkja */
.hero__band { position: absolute; inset: 0; }
.hero__band--a {
  background: linear-gradient(180deg, rgba(76,96,212,.55) 0%, rgba(65,78,156,.25) 100%);
  clip-path: polygon(52% 100%, 70% 100%, 94% 0, 76% 0);
}
.hero__band--b {
  background: linear-gradient(180deg, rgba(110,132,240,.38), rgba(86,104,214,.12));
  clip-path: polygon(71.5% 100%, 76% 100%, 100% 0, 95.5% 0);
}
.hero__band--c {
  background: var(--yellow);
  opacity: .9;
  clip-path: polygon(77.2% 100%, 77.9% 100%, 101.9% 0, 101.2% 0);
}

.hero__flake {
  position: absolute; top: -70px; right: -60px; width: 340px; height: 340px;
  color: #fff; opacity: .05;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__sun {
  position: absolute; left: -40px; bottom: -40px; width: 300px; height: 165px;
  color: var(--yellow); opacity: .11;
}

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4.4vw, 64px); align-items: center;
}
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__band--a { clip-path: polygon(40% 100%, 70% 100%, 110% 0, 80% 0); opacity: .7; }
  .hero__band--b, .hero__band--c { display: none; }
}

.hero__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: var(--pill);
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  font-size: 14px; font-weight: 600; color: #fff; letter-spacing: .01em;
}
.hero__chip i {
  position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow);
}
.hero__chip i::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--yellow); opacity: 0;
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.hero__title {
  margin-top: 22px;
  display: flex; flex-direction: column;
  font-size: clamp(42px, 6.6vw, 88px);
  font-weight: 800; line-height: .94; letter-spacing: -.02em;
  text-transform: uppercase; color: #fff;
}
.hero__title span { white-space: nowrap; }
.hero__title-b {
  color: var(--yellow);
  text-shadow: 0 6px 30px rgba(255, 215, 64, .18);
}

.hero__when {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  margin-top: 22px;
  font-size: clamp(19px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.01em; color: #fff;
}
.hero__when i { width: 3px; height: 1.15em; border-radius: 2px; background: var(--yellow); }

.hero__lead {
  margin-top: 10px; max-width: 46ch;
  font-size: clamp(16.5px, 1.55vw, 20px); color: rgba(255,255,255,.8);
}

.hero__talks {
  display: flex; gap: 14px 18px; align-items: flex-start;
  margin-top: 24px;
}
.hero__talks-label {
  flex: none; padding: 7px 16px 7px 0; border-right: 3px solid var(--yellow);
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.hero__talks ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__talks li {
  padding: 6px 14px; border-radius: var(--pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.92); white-space: nowrap;
}
@media (max-width: 560px) {
  .hero__talks { flex-direction: column; gap: 10px; }
  .hero__talks-label { border-right: 0; border-left: 3px solid var(--yellow); padding: 2px 0 2px 12px; }
}

/* Visszaszámlálás */
.count { margin-top: 26px; }
.count__label {
  display: block; margin-bottom: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.count__boxes { display: flex; gap: 10px; }
.count__boxes div {
  min-width: 74px; padding: 10px 10px 8px; text-align: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}
.count__boxes b {
  display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.1;
  color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.count__boxes span { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.62); }
.count__boxes div:first-child { background: rgba(255,215,64,.14); border-color: rgba(255,215,64,.45); }
.count__boxes div:first-child b { color: var(--yellow); }
@media (max-width: 420px) {
  .count__boxes { gap: 7px; }
  .count__boxes div { min-width: 0; flex: 1; padding: 9px 4px 7px; }
}

.hero__jump { display: none; margin-top: 26px; }
@media (max-width: 1000px) { .hero__jump { display: inline-flex; } }

/* ============================================================
   REGISZTRÁCIÓS KÁRTYA
   ============================================================ */

.reg {
  position: relative; color: var(--text);
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 34px 80px rgba(5, 9, 40, .48), 0 2px 0 rgba(255,255,255,.4) inset;
  overflow: hidden; overflow: clip;
  scroll-margin-top: 90px;
}
.reg::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, #6b78c9 45%, var(--accent) 100%);
}
.reg__body, .reg__ok, .reg__closed { padding: clamp(22px, 2.6vw, 32px); }
@media (max-width: 1000px) { .reg { max-width: 560px; width: 100%; justify-self: center; } }

/* rövid kiemelés, amikor egy gombról ideugrik a látogató */
.reg.is-flash { animation: flash 1.1s var(--ease); }
@keyframes flash {
  0%   { box-shadow: 0 34px 80px rgba(5,9,40,.48), 0 0 0 0 rgba(255,215,64,.0); }
  30%  { box-shadow: 0 34px 80px rgba(5,9,40,.48), 0 0 0 8px rgba(255,215,64,.55); }
  100% { box-shadow: 0 34px 80px rgba(5,9,40,.48), 0 0 0 0 rgba(255,215,64,0); }
}

.reg__head { margin-bottom: 18px; }
.reg__badge {
  display: inline-block; padding: 5px 12px; border-radius: var(--pill);
  background: var(--accent-100); color: #6b4a00;
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.reg__head h2 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 29px); color: var(--ink-2); }
.reg__head p { margin-top: 4px; font-size: 15px; color: var(--text-2); }

.reg__form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; gap: 14px; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 13.8px; font-weight: 600; color: var(--ink-2); }
.field__label i { font-style: normal; font-weight: 500; color: var(--text-3); }

.field input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--bg-tint); border: 1.5px solid #e1e4ef; border-radius: 14px;
  color: var(--ink-2); font: inherit; font-size: 16px; /* 16px: iOS nem nagyít rá */
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.field input::placeholder { color: #9aa1ad; }
.field input:hover { border-color: #cfd4e6; }
.field input:focus {
  outline: none; background: #fff;
  border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100);
}
.field.is-bad input { border-color: var(--danger); background: #fffafa; }
.field.is-bad input:focus { box-shadow: 0 0 0 4px #fbdcdc; }
.field.is-ok input { border-color: #9cc59e; }

.field__err { display: none; font-size: 13px; font-weight: 500; color: var(--danger); }
.field.is-bad .field__err { display: block; }

.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* Kísérő kollégák — léptető. Csak a fő jelentkező adatai kellenek, a többiek „+N fő”. */
.kiser {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 10px 10px 10px 16px; border-radius: 14px;
  background: var(--bg-tint); border: 1.5px solid #e1e4ef;
}
.kiser__text { min-width: 0; line-height: 1.3; }
@media (max-width: 480px) {
  .kiser { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
  .stepper { justify-content: space-between; }
  .stepper__val { flex: 1; }
}
.kiser__hint { display: block; margin-top: 1px; font-size: 12.6px; line-height: 1.35; color: var(--text-3); }

.stepper { flex: none; display: flex; align-items: center; gap: 4px; }
.stepper__btn {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  background: #fff; border: 1.5px solid #cfd4e6; border-radius: 12px;
  color: var(--brand); cursor: pointer;
  transition: border-color .16s, background .16s, transform .12s var(--ease);
}
.stepper__btn svg { width: 18px; height: 18px; }
.stepper__btn:hover { border-color: var(--brand); background: var(--brand-50); }
.stepper__btn:active { transform: scale(.94); }
.stepper__btn[aria-disabled="true"] { opacity: .38; cursor: default; background: #fff; border-color: #cfd4e6; transform: none; }
.stepper__val {
  min-width: 66px; text-align: center;
  font-size: 16px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums;
}
.stepper__val.is-on { color: var(--brand); }
.stepper__val.is-bump { animation: pipa .22s var(--ease); }

.reg__submit { margin-top: 6px; }
.reg__submit[disabled] { cursor: progress; opacity: .85; transform: none; }
.reg__submit.is-loading svg { display: none; }
.reg__submit.is-loading::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(58,39,0,.25); border-top-color: #3a2700;
  animation: spin .7s linear infinite;
}

/* Adatkezelési hozzájárulás — saját pipa, a natív input a képernyőolvasónak megmarad */
.check { margin-top: 2px; }
.check__row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px;
  background: var(--bg-tint); border: 1.5px solid #cfd4e6;
  transition: background .16s, border-color .16s, box-shadow .16s, transform .16s var(--ease);
}
.check__row:hover .check__box { border-color: var(--brand); }
.check__row input:checked + .check__box {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
  border-color: var(--brand);
  animation: pipa .22s var(--ease);
}
@keyframes pipa { 50% { transform: scale(1.12); } }
.check__row input:focus-visible + .check__box { outline: 2px solid var(--brand); outline-offset: 3px; }
.check__text { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.check__text a { color: var(--brand); font-weight: 600; }
.check__err { display: none; margin: 6px 0 0 36px; font-size: 13px; font-weight: 500; color: var(--danger); }
.check.is-bad .check__box { border-color: var(--danger); background: #fffafa; box-shadow: 0 0 0 4px #fbdcdc; }
.check.is-bad .check__err { display: block; }

.reg__legal { font-size: 12.6px; line-height: 1.5; color: var(--text-3); text-align: center; }
.reg__legal a { color: var(--brand); }

.form__err {
  display: none; padding: 13px 16px; border-radius: var(--radius-xs);
  background: var(--danger-bg); color: #a02020; font-size: 14.2px; font-weight: 500; line-height: 1.5;
}
.form__err.is-on { display: block; }
.form__err a { color: #a02020; font-weight: 700; }

/* ---------- Sikeres regisztráció ---------- */

.reg__ok, .reg__closed { text-align: center; outline: none; }
.reg__ok.is-in { animation: okIn .5s var(--ease); }
@keyframes okIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.ok__badge {
  width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%;
  background: var(--good-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e7e50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/30px no-repeat;
  box-shadow: 0 0 0 8px rgba(217,235,218,.45);
}
.reg__ok h2, .reg__closed h2 { font-size: clamp(25px, 2.6vw, 30px); color: var(--ink-2); }
.ok__lead, .reg__closed p { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.ok__lead b { color: var(--ink-2); overflow-wrap: anywhere; }

/* Belépőjegy */
.ticket {
  position: relative; margin-top: 20px; text-align: left;
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(255,215,64,.22), transparent 70%),
    linear-gradient(140deg, var(--brand) 0%, var(--night) 100%);
  color: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 16px 34px rgba(27,33,90,.3);
}
.ticket__top { padding: 18px 20px 14px; }
.ticket__kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow);
}
.ticket__title {
  display: block; margin-top: 3px; font-size: 22px; font-weight: 800; text-transform: uppercase;
  letter-spacing: -.01em; line-height: 1.1;
}
.ticket__title span { color: var(--yellow); }
.ticket__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0;
  padding: 14px 20px 16px; border-top: 1px dashed rgba(255,255,255,.3);
}
.ticket__grid dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ticket__grid dd { margin: 2px 0 0; font-size: 14.4px; font-weight: 600; line-height: 1.35; word-break: break-word; }
.ticket__wide { grid-column: 1 / -1; }
.ticket__wide dd { font-size: 16px; }
.ticket__plus {
  display: inline-block; margin-left: 4px; padding: 1px 10px; border-radius: var(--pill);
  background: var(--yellow); color: #3a2700; font-size: 13px; font-weight: 800; vertical-align: 1px;
  white-space: nowrap;
}
/* lyukasztás a perforációnál */
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 72px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
}
.ticket::before { left: -10px; }
.ticket::after  { right: -10px; }
.ticket__stub {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 20px 14px; border-top: 1px dashed rgba(255,255,255,.3);
  background: rgba(0,0,0,.12);
}
.ticket__code {
  width: 100%; height: 30px; opacity: .85;
  background: repeating-linear-gradient(90deg,
    #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px,
    #fff 8px 11px, transparent 11px 12px, #fff 12px 13px, transparent 13px 16px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ok__cal-label { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.ok__cal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.ok__cal .btn { flex: 1 1 170px; }


/* ============================================================
   A LEGFONTOSABBAK — a hero aljára úszó sáv
   ============================================================ */

.facts { position: relative; z-index: 3; margin-top: clamp(-64px, -5vw, -48px); }
.facts__in {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  padding: 10px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(20, 26, 74, .16); border: 1px solid var(--line);
}
.facts__in li {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  transition: background .18s;
}
.facts__in li:hover { background: var(--brand-50); }
.facts__icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--brand-100); color: var(--brand);
}
.facts__icon svg { width: 22px; height: 22px; }
.facts__in li:nth-child(3) .facts__icon { background: var(--accent-100); color: #8a5f00; }
.facts__in b { display: block; font-size: 15.5px; color: var(--ink-2); line-height: 1.25; }
.facts__in li > span > span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); line-height: 1.3; }
@media (max-width: 1060px) { .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  {
  .facts__in { grid-template-columns: 1fr; gap: 2px; }
  .facts__in li { padding: 11px 12px; }
}

/* ============================================================
   SZEKCIÓK
   ============================================================ */

.sec { position: relative; padding: clamp(52px, 6vw, 88px) 0; }
.sec--tight { padding-top: 0; }
.sec--soft { background: var(--bg-soft); }

.sec__head { max-width: 66ch; margin-bottom: clamp(26px, 3vw, 40px); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__kicker {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.sec__title { font-size: clamp(28px, 3.4vw, 42px); color: var(--ink-2); }
.sec__lead { margin-top: 14px; font-size: clamp(16px, 1.35vw, 18px); color: var(--text-2); }

/* ---------- Program ---------- */

.talks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .talks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .talks { grid-template-columns: 1fr; } }

.talk {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.talk:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.talk::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.talk:hover::after { transform: scaleX(1); }

.talk__top { display: flex; align-items: flex-start; justify-content: space-between; }
.talk__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--brand-100); color: var(--brand);
  transition: background .22s, color .22s;
}
.talk:hover .talk__icon { background: var(--brand); color: #fff; }
.talk__icon svg { width: 26px; height: 26px; }
.talk__num {
  font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px #c6cbe6;
}
.talk__tag {
  align-self: flex-start; margin-top: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #8a5f00; background: var(--accent-100); padding: 4px 11px; border-radius: var(--pill);
}
.talk h3 { margin-top: 10px; font-size: 20px; color: var(--ink-2); }
.talk p { margin-top: 9px; font-size: 15px; color: var(--text-2); }

/* Ebédszünet — a programsorban, de másképp néz ki, mint egy előadás */
.talk--break {
  background: linear-gradient(160deg, #fff8e1 0%, #fff 70%);
  border: 1.5px dashed #f3cf73;
}
.talk--break:hover { border-color: var(--accent); }
.talk--break .talk__icon,
.talk--break:hover .talk__icon { background: var(--yellow); color: #3a2700; }
.talk--break .talk__tag { background: #fff; color: #8a5f00; border: 1px solid #f3cf73; }
.talk__pause {
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #8a5f00; padding-top: 4px;
}

/* Időbeosztás — kiemelt sáv a program alatt */
.agenda {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 18px 22px;
  margin-top: 24px; padding: 22px 24px;
  background: linear-gradient(120deg, var(--night) 0%, var(--brand) 100%);
  color: #fff; border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(27,33,90,.22);
}
.agenda::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(110,132,240,.35), rgba(86,104,214,.08));
  clip-path: polygon(70% 100%, 82% 100%, 96% 0, 84% 0);
}
.agenda__icon {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--yellow); color: #3a2700;
  box-shadow: 0 10px 24px rgba(255,215,64,.28);
}
.agenda__icon svg { width: 26px; height: 26px; }
.agenda__text { flex: 1; min-width: 0; }
.agenda__text b { display: block; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; color: #fff; }
.agenda__text > span { display: block; margin-top: 3px; font-size: 15px; color: rgba(255,255,255,.78); }
.agenda .btn { flex: none; }
.nowrap { white-space: nowrap; }
@media (max-width: 700px) {
  .agenda { flex-wrap: wrap; padding: 20px; }
  .agenda__text { flex-basis: calc(100% - 76px); }
  .agenda .btn { width: 100%; }
}

/* ---------- Mi vár rád (sötét) ---------- */

.sec--dark {
  background: linear-gradient(160deg, var(--night) 0%, #232a6e 100%);
  color: rgba(255,255,255,.82); overflow: hidden; overflow: clip; isolation: isolate;
}
.sec--dark__band {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(76,96,212,.35), rgba(65,78,156,.1));
  clip-path: polygon(0 100%, 14% 100%, 34% 0, 20% 0);
}
.sec--dark .sec__kicker { color: var(--yellow); }
.sec--dark .sec__title { color: #fff; }
.sec--dark .sec__lead { color: rgba(255,255,255,.74); }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .perks { grid-template-columns: 1fr; } }

.perk {
  padding: 26px 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  transition: background .2s, transform .2s var(--ease), border-color .2s;
}
.perk:hover { background: rgba(255,255,255,.1); border-color: rgba(255,215,64,.4); transform: translateY(-4px); }
.perk__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px;
  background: var(--yellow); color: #3a2700; margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(255,215,64,.22);
}
.perk__icon svg { width: 25px; height: 25px; }
.perk h3 { font-size: 18.5px; color: #fff; }
.perk p { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.72); }

/* ---------- Helyszín ---------- */

.venue { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; }
@media (max-width: 920px) { .venue { grid-template-columns: 1fr; } }

.venue__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.2vw, 40px); box-shadow: var(--shadow-sm);
}
.venue__title { font-size: clamp(28px, 3.3vw, 40px); color: var(--ink-2); }
.venue__sub {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  font-size: 16.5px; font-weight: 600; color: var(--brand);
}
.venue__sub svg { width: 22px; height: 22px; flex: none; }

.venue__alert {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 22px; padding: 15px 17px; border-radius: var(--radius-sm);
  background: var(--accent-100); color: #6b4a00; font-size: 15px; line-height: 1.5;
}
.venue__alert svg { width: 21px; height: 21px; flex: none; margin-top: 1px; color: #8a5f00; }
.venue__alert b { color: #4a3200; }

.venue__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 480px) { .venue__btns .btn { flex: 1 1 100%; } }

.cal { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.cal__leaf {
  flex: none; width: 108px; overflow: hidden; text-align: center;
  background: #fff; border-radius: 18px; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.cal__month {
  display: block; padding: 6px 0; background: var(--brand); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.cal__day { display: block; font-size: 48px; font-weight: 800; line-height: 1.05; color: var(--ink-2); padding-top: 6px; letter-spacing: -.03em; }
.cal__dow { display: block; padding-bottom: 9px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.cal__time { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; color: var(--ink-2); line-height: 1.1; letter-spacing: -.02em; }
.cal__note { margin-top: 6px; font-size: 14.6px; color: var(--text-2); }

/* „Írd be a naptáradba!” — a kreatív sárga ecsetvonásával */
.swoosh-title {
  position: relative; display: inline-block; margin-top: 28px; padding-bottom: 10px;
  font-size: clamp(22px, 2.3vw, 27px); font-weight: 800; font-style: italic; color: var(--night);
  letter-spacing: -.01em;
}
.swoosh-title span { position: relative; z-index: 1; }
.swoosh-title svg, .final__swoosh svg {
  position: absolute; left: -2%; bottom: -6px; width: 104%; height: 22px; color: var(--yellow);
}
.swoosh-title svg { color: var(--accent); }

/* ---------- GYIK ---------- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px clamp(18px, 2.4vw, 26px);
  font-weight: 600; font-size: 16.6px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23414e9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__body { padding: 0 clamp(18px, 2.4vw, 26px) 20px; color: var(--text-2); font-size: 15.4px; }
.faq__body a { color: var(--brand); font-weight: 600; white-space: nowrap; }

/* ---------- Záró CTA ---------- */

.final {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate; text-align: center;
  background: linear-gradient(150deg, var(--brand) 0%, var(--night) 100%);
  color: #fff; border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 5.5vw, 72px) clamp(22px, 4vw, 56px);
  box-shadow: 0 30px 60px rgba(27,33,90,.28);
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(110,132,240,.3), rgba(86,104,214,.05));
  clip-path: polygon(62% 100%, 78% 100%, 98% 0, 82% 0);
}
.final__glow {
  position: absolute; z-index: -1; top: -160px; left: 50%; width: 560px; height: 360px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,215,64,.25), transparent);
}
.final__date {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px;
  padding: 7px 16px; border-radius: var(--pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: 14px; font-weight: 600;
}
.final__date i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.final__title {
  margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: clamp(32px, 4.8vw, 58px); font-weight: 800; color: #fff; line-height: 1.08; letter-spacing: -.02em;
}
.final__swoosh { position: relative; font-style: italic; padding-bottom: 12px; }
.final__swoosh svg { bottom: -4px; height: 26px; }
.final__lead { margin: 18px auto 0; max-width: 48ch; font-size: clamp(16px, 1.4vw, 18px); color: rgba(255,255,255,.8); }
.final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
@media (max-width: 520px) { .final__cta .btn { width: 100%; } }

/* ============================================================
   LÁBLÉC — a faktoraruhaz.hu indigó + sárga lezárása
   ============================================================ */

.footer { background: var(--brand); color: rgba(255,255,255,.78); padding: clamp(36px, 3.6vw, 52px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 34px; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo img { width: 190px; filter: brightness(0) invert(1); opacity: .95; }
.footer p { margin-top: 16px; font-size: 14.6px; line-height: 1.65; max-width: 44ch; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer li, .footer a { font-size: 14.8px; color: rgba(255,255,255,.78); text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__strong { color: #fff; }
.footer__legal {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 13.2px; color: rgba(255,255,255,.6); max-width: none !important;
}

.copybar { background: var(--yellow); color: #1f2225; padding: 16px 0; }
.copybar__in {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 500;
}
.copybar a { color: #1f2225; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   MOBIL RAGADÓS CTA
   ============================================================ */

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -8px 26px rgba(0,0,0,.08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky.is-on { transform: none; }
.sticky__info { line-height: 1.25; min-width: 0; }
.sticky__info b { display: block; font-size: 14.5px; color: var(--ink-2); }
.sticky__info span { display: block; font-size: 12.5px; color: var(--text-3); }
.sticky .btn { margin-left: auto; min-height: 48px; padding: 0 24px; font-size: 15.5px; }
@media (max-width: 1000px) {
  .sticky { display: flex; }
  /* a ragadós sáv ne takarja el a sárga lezárást */
  .copybar { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   BELÉPŐ ANIMÁCIÓ, KONFETTI
   ============================================================ */

.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
.talks .rise:nth-child(2), .perks .rise:nth-child(2) { transition-delay: .07s; }
.talks .rise:nth-child(3), .perks .rise:nth-child(3) { transition-delay: .14s; }
.talks .rise:nth-child(4), .perks .rise:nth-child(4) { transition-delay: .21s; }
.talks .rise:nth-child(5) { transition-delay: .28s; }
.talks .rise:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; } }

.confetti { position: fixed; inset: 0; z-index: 150; pointer-events: none; width: 100%; height: 100%; }

/* ============================================================
   SÜTI-SÁV (analytics.js rakja ki, ha be van kötve mérés)
   ============================================================ */

.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130;
  max-width: 760px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  animation: okIn .4s var(--ease);
}
.cookiebar__in { display: flex; align-items: center; gap: 14px 20px; padding: 16px 18px; }
.cookiebar__text { font-size: 13.6px; line-height: 1.5; color: var(--text-2); }
.cookiebar__text a { color: var(--brand); }
.cookiebar__btns { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) {
  .cookiebar { left: 10px; right: 10px; bottom: 10px; }
  .cookiebar__in { flex-direction: column; align-items: stretch; }
  .cookiebar__btns .btn { flex: 1; }
}
