/* ==========================================================================
   Kapcsolva – designrendszer v0.4
   Referencia: join.elevenlabs.io – meleg törtfehér alap, meleg szürke
   dobozok, fekete pill gombok, 16 px lekerekítés, visszafogott
   betűméretek, hajszálvékony vízszintes elválasztók.
   Nincs függőleges elválasztó, nincs mozgó elem.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg:       #FDFCFC;   /* oldal háttér */
  --surface:  #F5F3F1;   /* doboz háttér */
  --surface-2:#EFEDEA;   /* doboz hover */
  --ink:      #0A0A0A;   /* szöveg */
  --muted:    #7D7D7D;   /* másodlagos szöveg */
  --hair:     rgba(0,0,0,.07);
  --hair-2:   rgba(0,0,0,.12);
  --accent:      #B5451D;   /* kattintható szöveg – meleg réz */
  --accent-dark: #8F3415;
  --accent-soft: #FBEDE6;
  --accent-lite: #F3AE7C;   /* sötét háttéren */

  --grad:       linear-gradient(100deg, #1A120E 0%, #A83C17 48%, #C06A1B 100%);
  --grad-light: linear-gradient(100deg, #FFFFFF 0%, #96E8D2 46%, #F2C89B 100%);
  --danger:   #B42318;

  --display: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 25px;
  --pill: 30px;

  --wrap:   1320px;
  --wrap-m: 1060px;
  --wrap-t: 720px;
  --gut:    clamp(1.25rem, 3.5vw, 2.5rem);
  --sec:    clamp(3.5rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.023em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0 0 .55em;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 3.2vw, 2.5rem); line-height: 1.2; }   /* 32 → 40px */
h2 { font-size: clamp(1.65rem, 2.6vw, 2rem); }                     /* 26 → 32px */
h3 { font-size: 1.25rem; letter-spacing: -0.018em; }               /* 20px */
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: .85rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; color: #fff; }

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

/* --- gradiens címsorok ------------------------------------------------------ */

.grad, .head h2, .phead h1, .hero h1 .grad { color: var(--ink); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad, .head h2, .phead h1 {
    background-image: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
  .grad--light {
    background-image: var(--grad-light);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}

/* --- elrendezés ------------------------------------------------------------ */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--mid { max-width: var(--wrap-m); }
.wrap--text { max-width: var(--wrap-t); }

/* szakaszok: azonos háttér, hajszálvékony vízszintes elválasztóval */
.sec { padding-block: var(--sec); border-top: 1px solid var(--hair); }
.sec--sm { padding-block: clamp(2rem, 4vw, 3rem); }
.sec--flush { border-top: 0; }
.sec--surface { background: var(--surface); border-top: 0; }

.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.5; }
.mt { margin-top: clamp(2rem, 3.5vw, 3rem); }
.mt-s { margin-top: 1.1rem; }
.lead { font-size: 1rem; color: var(--muted); line-height: 1.4; }

.rule { border: 0; border-top: 1px solid var(--hair); margin: 0; }

/* --- gombok és linkek ------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-size: 1rem; font-weight: 400; line-height: 1;
  letter-spacing: -0.015em;
  padding: 15px 22px; min-height: 46px;
  border: 1px solid transparent; border-radius: var(--pill);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2C2C2C; color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--hair-2); }
.btn--secondary:hover { background: var(--surface); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--hair-2); }
.btn--light:hover { background: var(--surface); }
.btn--sm { min-height: 38px; padding: 10px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

.btns { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.btns--center { justify-content: center; }

.link {
  color: var(--accent); text-decoration: none; font-size: 1rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .3rem;
}
.link--light { color: var(--accent-lite); }
.link--light:hover { color: #fff; }
.link::after {
  content: ""; width: 14px; height: 14px; background: currentColor; transition: transform .18s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.link:hover { text-decoration: underline; }
.link:hover::after { transform: translateX(2px); }
.link--sm { font-size: .9rem; }
.link--ink { color: var(--ink); }
.link--ink:hover { color: var(--ink); }

/* --- fejléc ------------------------------------------------------------------ */

.top {
  position: sticky; top: 0; z-index: 120;
  background: rgba(253,252,252,.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hair);
}
.top__inner { display: flex; align-items: center; gap: 1.25rem; height: 60px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand svg { height: 19px; width: auto; }
.brand__dark, .brand__light { display: block; }

.menu { margin-inline: auto; }
.menu > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menu > ul > li { margin: 0; display: flex; }

.menu__item {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--body); font-size: .9rem; font-weight: 400; line-height: 1;
  color: var(--ink); text-decoration: none; letter-spacing: -0.015em;
  padding: .6rem .75rem; margin: 0; border: 0; background: none;
  border-radius: var(--r-sm); cursor: pointer; white-space: nowrap;
}
.menu__item:hover { color: var(--muted); }
.menu__item[aria-current="page"] { font-weight: 600; }
.menu__item svg { width: 9px; height: 9px; flex-shrink: 0; transition: transform .2s ease; opacity: .55; }
.menu__item[aria-expanded="true"] svg { transform: rotate(180deg); }

.top__actions { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.top__login { font-size: .9rem; color: var(--ink); text-decoration: none; }
.top__login:hover { color: var(--muted); }

.panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--hair);
  overflow: hidden; max-height: 0; transition: max-height .28s ease;
}
.panel[data-open="true"] { max-height: 32rem; }
.panel__inner { padding-block: 2rem 2.4rem; }
.panel__label { font-size: .8rem; color: var(--muted); margin: 0 0 1.1rem; }
.panel ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2.5rem; }
.panel li { margin: 0 0 .8rem; break-inside: avoid; }
.panel a { font-size: .95rem; color: var(--ink); text-decoration: none; }
.panel a:hover { color: var(--muted); }
.panel__foot { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink);
}

@media (max-width: 1000px) {
  .burger { display: inline-flex; }
  .top__actions .btn, .top__login { display: none; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--hair);
    padding: .5rem var(--gut) 1.75rem; margin: 0;
    max-height: calc(100vh - 60px); overflow-y: auto; display: none;
  }
  .menu[data-open="true"] { display: block; }
  .menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > ul > li { display: block; border-bottom: 1px solid var(--hair); }
  .menu__item { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 1rem .2rem; border-radius: 0; }
  .panel { position: static; border: 0; background: none; max-height: 0; }
  .panel[data-open="true"] { max-height: 40rem; }
  .panel__inner { padding: .2rem 0 1rem .8rem; }
  .panel .wrap { padding-inline: 0; }
  .panel ul { columns: 1; }
  .panel__label { display: none; }
  .menu__mobile { display: grid; gap: .6rem; margin-top: 1.3rem; }
}
@media (min-width: 1001px) { .menu__mobile { display: none; } }

/* --- homályosító réteg a legördülő menü mögött --------------------------------- */

.scrim {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(253,252,252,.2);
  -webkit-backdrop-filter: blur(7px) saturate(.94);
  backdrop-filter: blur(7px) saturate(.94);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }

/* ahol nincs backdrop-filter, ott enyhe fátyol marad */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .scrim { background: rgba(253,252,252,.55); }
}

@media (prefers-reduced-motion: reduce) { .scrim { transition: none; } }

/* --- nyitó szakasz ------------------------------------------------------------ */

.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__eyebrow { font-size: .875rem; color: var(--muted); margin: 0 0 1.2rem; }
.hero h1 { margin-bottom: 1rem; }
.hero__sub { font-size: 1rem; color: var(--muted); max-width: 46ch; line-height: 1.45; }
.hero .btns { margin-top: 1.8rem; }
.hero__note { margin-top: 1.5rem; font-size: .875rem; color: var(--muted); }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg); }
.hero__badge {
  position: absolute; right: 1rem; bottom: 1rem;
  background: rgba(253,252,252,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--pill); padding: .7rem 1.1rem; font-size: .875rem;
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink);
}
.hero__badge:hover { background: #fff; color: var(--ink); }
.hero__badge::after {
  content: ""; width: 14px; height: 14px; background: currentColor; transition: transform .18s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero__badge:hover::after { transform: translateX(2px); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media img { aspect-ratio: 4 / 3; }
}

/* --- kiemelt sor (nincs függőleges elválasztó) -------------------------------- */

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.proof div { display: grid; gap: .4rem; }
.proof .ico { margin-bottom: .4rem; }
.proof strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.proof p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 800px) { .proof { grid-template-columns: 1fr; gap: 1.6rem; } }

.ico { width: 22px; height: 22px; color: var(--ink); }
.ico svg { width: 22px; height: 22px; }

/* --- szakaszfej ---------------------------------------------------------------- */

.head { max-width: 40rem; margin-bottom: clamp(2rem, 3.5vw, 2.8rem); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { margin-bottom: .5rem; }
.head p { color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* --- dobozok -------------------------------------------------------------------- */

.tiles { display: grid; gap: 1rem; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 950px) { .tiles--3, .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tiles--2, .tiles--3, .tiles--4 { grid-template-columns: 1fr; } }

.tile {
  background: var(--surface); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: background-color .2s ease;
}
.tile--white { background: #fff; border: 1px solid var(--hair); }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tile__body h3 { margin: 0; }
.tile__body p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.tile__kind { font-size: .82rem; color: var(--muted); margin: 0 0 .1rem; }
.tile .link { margin-top: auto; padding-top: .9rem; }
a.tile:hover { background: var(--surface-2); color: inherit; }
a.tile--white:hover { background: #fff; border-color: var(--hair-2); }

.tile--plain { padding: clamp(1.5rem, 2.5vw, 2rem); gap: .55rem; }
.tile--plain h3 { margin: 0; }

/* --- fotó + szöveg --------------------------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split--top { align-items: start; }
.split--media-first > .media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.media img { width: 100%; border-radius: var(--r); object-fit: cover; }
.media--wide img { aspect-ratio: 21 / 9; border-radius: var(--r-sm); }
.media--photo img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.media--tall img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.media--square img { aspect-ratio: 1; border-radius: var(--r-lg); }
.media figcaption { margin-top: .7rem; font-size: .82rem; color: var(--muted); }

/* --- listák ------------------------------------------------------------------------ */

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; font-size: .95rem; }
.list li { margin: 0; padding: .85rem 0; border-bottom: 1px solid var(--hair); }
.list li:first-child { border-top: 1px solid var(--hair); }
.list--2 { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
@media (max-width: 720px) { .list--2 { grid-template-columns: 1fr; } }

.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--muted); font-size: .94rem; }
.plain li { margin: 0; padding-left: 1rem; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--hair-2); }

/* --- számozott folyamat -------------------------------------------------------------- */

.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: fl; }
.flow li {
  margin: 0; padding: 1.5rem 0; border-top: 1px solid var(--hair);
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; align-items: start;
}
.flow li:last-child { border-bottom: 1px solid var(--hair); }
.flow li::before {
  counter-increment: fl; content: counter(fl, decimal-leading-zero);
  font-family: var(--display); font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .2rem;
}
.flow h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.flow p { margin: 0; color: var(--muted); font-size: .94rem; max-width: 62ch; line-height: 1.5; }
@media (max-width: 620px) { .flow li { grid-template-columns: 2.4rem 1fr; gap: 1rem; } }

/* --- lépések (fülek) ------------------------------------------------------------------ */

.steps { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__list li { margin: 0; }
.steps__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1rem 0; font-family: var(--display); font-size: 1.15rem; font-weight: 400;
  letter-spacing: -0.018em; color: var(--muted); border-top: 1px solid var(--hair);
  transition: color .2s ease;
}
.steps__list li:last-child .steps__btn { border-bottom: 1px solid var(--hair); }
.steps__btn:hover { color: var(--ink); }
.steps__btn[aria-selected="true"] { color: var(--ink); }
.steps__panel { display: none; }
.steps__panel[data-active="true"] { display: block; }
.steps__panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.steps__panel p { margin-top: 1.2rem; color: var(--muted); max-width: 56ch; font-size: .95rem; line-height: 1.5; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* --- esettanulmány ----------------------------------------------------------------------- */

.case { background: var(--surface); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case__body { padding: 1.5rem; display: grid; gap: 1rem; }
.case__kind { font-size: .82rem; color: var(--muted); margin: 0; }
.case h3 { margin: .1rem 0 0; font-size: 1.15rem; }
.case dl { margin: 0; display: grid; gap: .8rem; font-size: .94rem; }
.case dt { font-size: .8rem; color: var(--muted); margin-bottom: .15rem; }
.case dd { margin: 0; line-height: 1.5; }

/* --- fiók mockup -------------------------------------------------------------------------- */

.mock { background: var(--surface); border-radius: var(--r); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: .6rem; padding: .8rem 1.2rem; border-bottom: 1px solid var(--hair); font-size: .8rem; color: var(--muted); }
.mock__dots { display: flex; gap: .3rem; }
.mock__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--hair-2); display: block; }
.mock__body { padding: .3rem 1.2rem 1.2rem; }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--hair); }
.mock__row:last-child { border-bottom: 0; }
.mock__row strong { display: block; font-size: .94rem; font-weight: 500; }
.mock__row small { color: var(--muted); font-size: .82rem; }
.mock__state { font-size: .82rem; color: var(--muted); white-space: nowrap; }

/* --- árazás -------------------------------------------------------------------------------- */

.price { background: var(--surface); border-radius: var(--r); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .9rem; }
.price--white { background: #fff; border: 1px solid var(--hair); }
.price__kind { font-size: .82rem; color: var(--muted); margin: 0; }
.price__amount { font-family: var(--display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; margin: 0; }
.price__amount small { display: block; font-family: var(--body); font-size: .86rem; color: var(--muted); letter-spacing: -0.015em; margin-top: .4rem; line-height: 1.45; }
.tbd { display: inline-block; min-width: 4rem; border-bottom: 1px dashed var(--hair-2); color: var(--muted); }

/* --- táblázat -------------------------------------------------------------------------------- */

.tablewrap { overflow-x: auto; border-radius: var(--r); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
table.data th, table.data td { text-align: left; padding: .9rem 1.2rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data th { font-weight: 500; font-size: .84rem; color: var(--muted); }

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

.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.018em; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .2rem; top: 50%; width: 12px; height: 12px;
  transform: translateY(-50%); background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
}
.faq details[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.faq details > *:not(summary) { padding-bottom: 1.3rem; color: var(--muted); font-size: .95rem; line-height: 1.55; max-width: 70ch; }

/* --- idézet ------------------------------------------------------------------------------------ */

.quote { background: var(--surface); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.2rem); }
.quote blockquote {
  margin: 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.5;
  letter-spacing: -0.018em; text-wrap: balance;
}
.quote figcaption { margin-top: 1.2rem; font-size: .875rem; color: var(--muted); }
.quote--big blockquote { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.35; }

/* --- morzsa -------------------------------------------------------------------------------------- */

.crumbs { padding-top: 1.3rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li { margin: 0; display: flex; gap: .45rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--hair-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* --- belső oldalfej -------------------------------------------------------------------------------- */

.phead { padding-block: clamp(2.2rem, 4vw, 3.5rem) clamp(1.6rem, 3vw, 2.4rem); }
.phead__kind { font-size: .875rem; color: var(--muted); margin: 0 0 1rem; }
.phead h1 { max-width: 20ch; }
.phead p { color: var(--muted); font-size: 1rem; max-width: 60ch; line-height: 1.45; }
.phead .btns { margin-top: 1.6rem; }
.phead--center { text-align: center; }
.phead--center h1, .phead--center p { margin-inline: auto; }
.phead--center .btns { justify-content: center; }

/* --- űrlapok ---------------------------------------------------------------------------------------- */

.fields { display: grid; gap: 1.1rem; }
.fields--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .fields--2 { grid-template-columns: 1fr; } }

.field { display: grid; gap: .4rem; }
.field label, .legend { font-size: .9rem; font-weight: 500; }
.field .hint { font-size: .84rem; color: var(--muted); }

input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=file], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--hair-2); border-radius: var(--r-sm); padding: .8rem 1rem; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline-offset: 2px; }
::placeholder { color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; }
.legend { display: block; margin-bottom: .8rem; }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.opt {
  display: flex; align-items: center; gap: .7rem; cursor: pointer;
  border: 1px solid var(--hair-2); border-radius: var(--r-sm);
  padding: .85rem 1rem; background: #fff; font-size: .95rem; min-height: 52px;
}
.opt:hover { border-color: var(--ink); }
.opt input { width: 16px; height: 16px; accent-color: var(--ink); flex-shrink: 0; margin: 0; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .2rem; width: 16px; height: 16px; accent-color: var(--ink); flex-shrink: 0; }

.wizard { background: var(--surface); border-radius: var(--r); padding: clamp(1.4rem, 3vw, 2.4rem); }
.wsteps { display: flex; gap: .4rem; list-style: none; margin: 0 0 1.8rem; padding: 0; }
.wsteps li { flex: 1; margin: 0; font-size: .78rem; color: var(--muted); padding-top: .6rem; border-top: 2px solid var(--hair-2); }
.wsteps li[data-state=active] { color: var(--ink); border-top-color: var(--ink); }
.wsteps li[data-state=done] { color: var(--ink); border-top-color: var(--muted); }
.wstep { display: none; }
.wstep[data-active=true] { display: block; }
.wstep h2 { font-size: 1.5rem; }
.wactions { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--hair); }
.wsum { display: grid; gap: .5rem; background: #fff; border-radius: var(--r-sm); padding: 1.1rem; font-size: .9rem; }
.wsum div { display: flex; gap: .7rem; }
.wsum dt { font-weight: 500; min-width: 8rem; }
.wsum dd { margin: 0; color: var(--muted); }
@media (max-width: 620px) {
  .wsteps li { font-size: 0; padding-top: .45rem; }
  .wactions { flex-direction: column-reverse; }
  .wactions .btn { width: 100%; }
}

.note { background: var(--surface); border-radius: var(--r); padding: 1.1rem 1.3rem; font-size: .9rem; color: var(--muted); }
.info { background: var(--surface); border-radius: var(--r); padding: 1.1rem 1.3rem; font-size: .93rem; }
.todo { border-bottom: 1px dashed var(--hair-2); color: var(--muted); }

.auth { max-width: 420px; margin-inline: auto; }

/* --- szövegoldal ------------------------------------------------------------------------------------- */

.prose { max-width: 68ch; font-size: .98rem; line-height: 1.6; }
.prose h2 { margin-top: 2.6rem; font-size: 1.4rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.1rem; }
.prose li { margin-bottom: .4em; }

/* --- lábléc -------------------------------------------------------------------------------------------- */

.foot { border-top: 1px solid var(--hair); padding-block: 3rem 2rem; font-size: .85rem; color: var(--muted); }
.foot__intro { max-width: 46ch; margin-bottom: 2.5rem; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.foot h3 { font-family: var(--body); font-size: .8rem; font-weight: 500; color: var(--ink); margin-bottom: .9rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot__bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: space-between; font-size: .8rem; }
@media (max-width: 860px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__cols { grid-template-columns: 1fr; } }

/* --- mobil sáv és cookie ---------------------------------------------------------------------------------- */

.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: none; gap: .6rem;
  background: rgba(253,252,252,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--hair); padding: .6rem var(--gut) calc(.6rem + env(safe-area-inset-bottom));
}
.mbar .btn { flex: 1; min-height: 44px; font-size: .92rem; padding-inline: 1rem; }
@media (max-width: 760px) { .mbar { display: flex; } body { padding-bottom: 76px; } }

.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 140; max-width: 580px;
  margin-inline: auto; background: var(--bg); border: 1px solid var(--hair-2); border-radius: var(--r);
  padding: 1.2rem 1.4rem; font-size: .88rem; display: none;
}
.cookie[data-visible=true] { display: block; }
.cookie .btns { gap: .7rem; margin-top: 1rem; }
@media (max-width: 760px) { .cookie { bottom: 5.5rem; } }

/* --- mozgáscsökkentés, nyomtatás ------------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .top, .foot, .mbar, .cookie, .btn { display: none !important; }
  body { font-size: 11pt; }
}

/* ==========================================================================
   v0.5 – teljes szélességű, mozgó hátterű nyitó szakasz
   Réteges felépítés: fotó → színfoltok → kapcsolati háló → szemcse → fátyol.
   A mozgás `prefers-reduced-motion` esetén automatikusan leáll.
   ========================================================================== */

.hero-full {
  position: relative;
  isolation: isolate;
  margin-top: -60px;                    /* a fejléc a szakasz fölé fut */
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(7rem, 20vh, 12rem) clamp(3rem, 8vh, 5.5rem);
  background: #0A0A0A;
  overflow: hidden;
  color: #fff;
}

.hero-full__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero-full__photo {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .62;
  filter: saturate(.85) contrast(1.06) brightness(.7);
  transform: scale(1.08);
  animation: heroDrift 32s ease-in-out infinite alternate;
}

.hero-full__blob { position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; }
.hero-full__blob--a {
  width: 52vw; height: 52vw; left: -12vw; top: -14vw; opacity: .8;
  background: radial-gradient(circle, rgba(16,185,160,.75), transparent 68%);
  animation: blobA 30s ease-in-out infinite alternate;
}
.hero-full__blob--b {
  width: 46vw; height: 46vw; right: -10vw; top: 4vw; opacity: .62;
  background: radial-gradient(circle, rgba(226,146,86,.7), transparent 68%);
  animation: blobB 36s ease-in-out infinite alternate;
}
.hero-full__blob--c {
  width: 44vw; height: 44vw; left: 32vw; bottom: -18vw; opacity: .55;
  background: radial-gradient(circle, rgba(88,120,226,.6), transparent 70%);
  animation: blobC 42s ease-in-out infinite alternate;
}

.hero-full__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .62; }
.hero-full__net line { stroke: rgba(255,255,255,.4); stroke-width: .9; }
.hero-full__net circle { fill: rgba(255,255,255,.85); animation: nodePulse 5s ease-in-out infinite; }
.hero-full__net circle:nth-of-type(2n) { animation-delay: -1.4s; }
.hero-full__net circle:nth-of-type(3n) { animation-delay: -2.8s; }
.hero-full__net circle:nth-of-type(5n) { animation-delay: -3.9s; }

.hero-full__grain {
  position: absolute; inset: 0; opacity: .13; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero-full__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.68) 0%, rgba(10,10,10,.3) 28%, rgba(10,10,10,.68) 74%, #0A0A0A 100%),
    linear-gradient(95deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,.22) 58%, rgba(10,10,10,0) 100%);
}

.hero-full__inner { position: relative; z-index: 1; width: 100%; }
.hero-full__eyebrow { font-size: .875rem; color: rgba(255,255,255,.7); margin: 0 0 1.2rem; }
.hero-full h1 {
  color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.06;
  max-width: 17ch; margin-bottom: 1.1rem;
}
.hero-full__sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255,255,255,.76);
  max-width: 50ch; line-height: 1.5;
}
.hero-full .btns { margin-top: 2.1rem; }
.hero-full__note { margin-top: 1.7rem; font-size: .875rem; color: rgba(255,255,255,.68); }

@media (max-width: 760px) {
  .hero-full { min-height: 78vh; padding-block: clamp(6rem, 16vh, 8rem) 3rem; }
  .hero-full__blob { filter: blur(60px); }
  .hero-full__net { opacity: .35; }
}

@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -2%, 0); }
}
@keyframes blobA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vw, 6vw, 0) scale(1.15); }
}
@keyframes blobB {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-7vw, 9vw, 0) scale(1); }
}
@keyframes blobC {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6vw, -7vw, 0) scale(1.2); }
}
@keyframes nodePulse {
  0%, 100% { opacity: .35; r: 2.4; }
  50%      { opacity: 1;   r: 3.4; }
}

/* --- fejléc a nyitókép fölött ------------------------------------------------ */

.top--over {
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.top--over .menu__item, .top--over .top__login, .top--over .burger { color: #fff; }
.top--over .menu__item:hover, .top--over .top__login:hover { color: rgba(255,255,255,.72); }
.top--over .btn--primary { background: #fff; color: #0A0A0A; }
.top--over .btn--primary:hover { background: rgba(255,255,255,.88); color: #0A0A0A; }
.top--over .brand__dark { display: none; }
.top:not(.top--over) .brand__light { display: none; }

/* nyitott mobil menü fölött visszavált világosra */
.top--over.top--menu-open {
  background: var(--bg); border-bottom-color: var(--hair);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
}
.top--over.top--menu-open .menu__item, .top--over.top--menu-open .burger { color: var(--ink); }
.top--over.top--menu-open .btn--primary { background: var(--ink); color: #fff; }
.top--over.top--menu-open .btn--primary:hover { background: #2C2C2C; color: #fff; }
.top--over.top--menu-open .brand__dark { display: block; }
.top--over.top--menu-open .brand__light { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-full__photo, .hero-full__blob, .hero-full__net circle { animation: none; }
  .hero-full__photo { transform: scale(1.04); }
}
