/* kajdromu.hu – kockás füzet arculat */

:root {
  --ink: #1E2A4A;
  --muted: #4A5573;
  --paper: #F5F7FB;
  --grid: #E1E8F4;
  --line: #C9D4EA;
  --soft: #EEF2F9;
  --red: #C8322B;
  --pen: #2346C8;
  --white: #fff;
  --ease: cubic-bezier(.65, 0, .25, 1);
  --pad-x: 40px;
  --note-col: 150px;
  --gap-col: 56px;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Kalam', 'Comic Sans MS', cursive;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
body { overflow-x: clip; }
h1, h2, h3, h4, p, dd, li { overflow-wrap: break-word; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Elrendezés ---------- */

.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--pad-x); position: relative; }

.section > .wrap { padding-block: 28px 76px; }
.section--hero > .wrap { padding-block: 48px 72px; }
.section--pt-xl > .wrap { padding-top: 80px; }
.section--pt-0 > .wrap { padding-top: 0; }

/* a piros margóvonal */
.lined > .wrap::before {
  content: "";
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--pad-x) + var(--note-col) + var(--gap-col) / 2);
  width: 2px;
  background: rgba(200, 50, 43, .45);
  pointer-events: none;
}

.row {
  display: grid;
  grid-template-columns: var(--note-col) minmax(0, 1fr);
  column-gap: var(--gap-col);
  position: relative;
}

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.stack-lg { display: flex; flex-direction: column; gap: 34px; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.measure { max-width: 46em; }
.measure-wide { max-width: 900px; }
.split { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* ---------- Tipográfia ---------- */

.hero__title {
  font-size: clamp(40px, 4.1vw, 60px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 34em; }

.h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.h2--sm { font-size: clamp(28px, 3.2vw, 44px); }
.h3 { font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.h3--lg { font-size: 32px; font-weight: 800; }
.h4 { font-size: 21px; line-height: 1.25; font-weight: 700; }

.lead { font-size: 19px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 16px; }
.link-strong { font-weight: 600; font-size: 18px; }

.prose { display: flex; flex-direction: column; gap: 16px; font-size: 19px; max-width: 40em; }
.prose--legal { font-size: 18px; margin-top: 12px; }

.note {
  font-family: var(--hand);
  color: var(--red);
  font-size: 22px;
  line-height: 1.2;
  text-align: right;
  transform: rotate(-3deg);
  padding-top: 10px;
}
.note--inline { text-align: left; font-size: 19px; padding-top: 4px; transform: rotate(-2deg); }
.note--light { color: #fff; }

/* ---------- Gombok ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 6px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pen); border-color: var(--pen); color: #fff; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--white:hover { background: transparent; color: #fff; }
.btn--outline-white { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Fejléc ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 251, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 2px 0 var(--ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: var(--ink); }
.brand__name { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.brand__tag { font-size: 14px; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 26px; list-style: none; flex-wrap: nowrap; }
.nav__list a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; padding: 10px 2px; display: inline-block; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--pen); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav__cta { min-height: 46px; padding: 0 20px; }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: 6px; background: #fff;
  font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer;
}
.nav__toggle-box { position: relative; width: 20px; height: 14px; display: inline-block; }
.nav__toggle-box i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav__toggle-box i:nth-child(1) { top: 0; }
.nav__toggle-box i:nth-child(2) { top: 6px; }
.nav__toggle-box i:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-box i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-box i:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-box i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Nyitó rész ---------- */

.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__points-row { margin-top: 44px; }
.hero__points {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 48px;
  padding-top: 22px; border-top: 2px solid var(--ink); font-size: 17px;
}
.page-intro { display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.crumbs { font-size: 16px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* betöltéskor egyszer: a margóvonal lefut */
.js .section--hero > .wrap::before { transform: scaleY(0); transform-origin: top; transition: transform 1.3s var(--ease) .1s; }
.js .is-ready .section--hero > .wrap::before { transform: scaleY(1); }

/* a margójegyzetek "megíródnak", amikor odaérsz */
.js .note { clip-path: inset(-10px 100% -10px -10px); transition: clip-path 1.1s steps(18, end) .15s; }
.js .note.is-written { clip-path: inset(-10px -10px -10px -10px); }

/* ---------- Csomagok ---------- */

.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pkg { display: flex; flex-direction: column; gap: 18px; padding: 0 34px 8px; border-left: 2px solid var(--ink); }
.pkg:first-child { border-left: 0; padding-left: 0; }
.pkg:last-child { padding-right: 0; }
.pkg .price { margin-top: auto; padding-top: 10px; }

.price { font-size: 27px; font-weight: 800; letter-spacing: -0.01em; }
.price__detail { font-size: 15px; color: var(--muted); }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.tick { color: var(--red); margin-top: 2px; }

.app {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 48px; align-items: start;
  border-top: 2px solid var(--ink); padding-top: 36px;
}
.app > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.app__price { min-width: 190px; }

/* ---------- Technológiák ---------- */

.techs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 36px; }
.techs__group { display: flex; flex-direction: column; gap: 12px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 2px solid var(--ink); background: #fff; border-radius: 4px; padding: 3px 10px; font-size: 15px; font-weight: 600; }

/* ---------- Referenciák ---------- */

.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.project { display: flex; flex-direction: column; gap: 10px; }
.project[hidden] { display: none; }
.project__shot { aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); border-radius: 8px; overflow: hidden; background: #fff; }
.project__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project__shot img { transform: scale(1.03); }
.project__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
  background: repeating-linear-gradient(135deg, #fff 0 12px, var(--soft) 12px 24px);
  color: var(--muted); font-weight: 600; font-size: 15px;
}
.project__type { font-size: 14px; font-weight: 700; color: var(--red); margin-top: 6px; }
.project__title a { color: var(--ink); text-decoration-thickness: 2px; }
.project__title a:hover { color: var(--pen); }
.project__tech { font-size: 14px; font-weight: 600; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  font: inherit; font-size: 16px; font-weight: 600; min-height: 44px; padding: 0 16px;
  border-radius: 6px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.empty { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: 32px; background: #fff; border: 2.5px dashed var(--line); border-radius: 10px; max-width: 760px; }

/* ---------- Már van weboldalad ---------- */

.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 44px; }
.extra { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.extra > div { display: flex; flex-direction: column; gap: 6px; }
.extra svg { color: var(--ink); }

/* ---------- Lépések ---------- */

.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step__num {
  width: 52px; height: 52px; border: 2.5px solid var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hand); color: var(--red); font-size: 30px; font-weight: 700; line-height: 1;
}

/* ---------- Kék sáv ---------- */

.band {
  background-color: var(--pen);
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff;
}
.band > .wrap { padding-block: 80px 88px; }
.lead--light { color: rgba(255, 255, 255, .92); }
.edu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edu__col { display: flex; flex-direction: column; gap: 12px; padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .4); }
.edu__col:first-child { border-left: 0; padding-left: 0; }
.edu__first { color: rgba(255, 255, 255, .9); }
.edu--light .edu__col { border-left-color: var(--line); }
.edu--light .edu__first { color: var(--ink); font-weight: 600; }

/* főoldali oktatás sáv: rövid, a részletek az oktatás oldalon vannak */
.band--compact > .wrap { padding-block: 64px 68px; }
.edu-teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.edu-teaser__text { display: flex; flex-direction: column; gap: 16px; }
.edu-teaser__text .btn-row { margin-top: 8px; }
.edu-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .45); }
.edu-links li { border-bottom: 1px solid rgba(255, 255, 255, .45); }
.edu-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 19px 0; color: #fff; text-decoration: none; }
.edu-links strong { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.edu-links span { color: rgba(255, 255, 255, .86); text-align: right; }
.edu-links a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.edu-links a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }

/* ---------- Rólam ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.facts {
  margin: 0; background: #fff; border: 2.5px solid var(--ink); border-radius: 8px; padding: 28px 30px;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px 20px; font-size: 16px;
}
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }

/* ---------- Kapcsolat ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 20px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-weight: 600; font-size: 15px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 6px; padding: 12px 14px; min-height: 52px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red); font-size: 15px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--pen); flex: none; }
.form__success { font-family: var(--hand); color: var(--red); font-size: 24px; transform: rotate(-1.5deg); }
.form__error-summary { color: var(--red); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Lépésenkénti ajánlatkérő ---------- */

.offer fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.offer legend { padding: 0; }
.offer__step { display: block; }
.offer .offer__step > * + * { margin-top: 24px; }
.offer .offer__step > legend + * { margin-top: 14px; }
.offer .offer__step > legend + p + * { margin-top: 14px; }
.offer__step[hidden], .offer .q[hidden] { display: none !important; }
.offer__legend { display: block; width: 100%; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.offer__legend:focus { outline: none; }
.offer__legend:focus-visible { outline: 3px solid var(--pen); outline-offset: 4px; }

.offer__progress { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.offer__progress[hidden] { display: none; }
.offer__progress li { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding-bottom: 10px; border-bottom: 3px solid var(--grid); font-size: 14px; font-weight: 600; color: var(--muted); transition: border-color .3s, color .3s, opacity .3s; }
.offer__num { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.offer__plabel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer__progress li.is-done { color: var(--ink); border-bottom-color: var(--ink); }
.offer__progress li.is-current { color: var(--ink); border-bottom-color: var(--red); }
.offer__progress li.is-current .offer__num { background: var(--ink); border-color: var(--ink); color: #fff; }
.offer__progress li.is-skipped { opacity: .4; }

.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; top: 14px; left: 14px; width: 1px; height: 1px; opacity: 0; margin: 0; }
.choice__body {
  display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 13px 14px;
  background: #fff; border: 2px solid var(--line); border-radius: 8px;
  transition: border-color .15s, box-shadow .2s, transform .2s;
}
.choice:hover .choice__body { border-color: var(--ink); }
.choice input:checked + .choice__body { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--pen); outline-offset: 3px; }
.choice__title { font-size: 16px; line-height: 1.25; }
.choice__hint { font-size: 14px; line-height: 1.35; color: var(--muted); }
.choice__price { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--pen); }

.offer .q > legend + .opts { margin-top: 10px; }
.q__label { display: block; width: 100%; font-weight: 600; font-size: 15px; }
.q__hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; top: 10px; left: 12px; width: 1px; height: 1px; opacity: 0; margin: 0; }
.opt span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 7px 15px;
  background: #fff; border: 2px solid var(--line); border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1.25; transition: background-color .15s, border-color .15s, color .15s;
}
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input[type="checkbox"]:checked + span::before {
  content: ""; width: 11px; height: 6px; margin: -3px 9px 0 0; flex: none;
  border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg);
}
.opt input:focus-visible + span { outline: 3px solid var(--pen); outline-offset: 2px; }

.offer__summary { background: var(--soft); border-radius: 8px; padding: 14px 16px; }
.offer__summary[hidden] { display: none; }
.offer__summary p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.offer__summary dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14.5px; }
.offer__summary dt { color: var(--muted); }
.offer__summary dd { margin: 0; font-weight: 600; }

.offer__nav { display: flex; gap: 10px; flex-wrap: wrap; }
.offer__nav [data-next], .offer__nav [type="submit"] { margin-left: auto; }
html:not(.js) .offer__nav [data-next], html:not(.js) .offer__nav [data-prev], html:not(.js) .offer__step[data-step="2"] { display: none; }
.offer__step.is-in { animation: offer-in .4s var(--ease); }
.offer__step.is-in-back { animation: offer-back .4s var(--ease); }
@keyframes offer-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes offer-back { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

.ask { align-self: flex-start; font-weight: 700; color: var(--pen); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ask:hover { color: var(--ink); }
.app__price .ask { display: inline-block; margin-top: 10px; }
.contact__info { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.contact__info .small { margin-bottom: 4px; }
.contact__big { font-size: 27px; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact__mid { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact__big:hover, .contact__mid:hover { color: var(--pen); text-decoration: underline; }
.contact__area { font-size: 19px; font-weight: 600; }

/* ---------- Oktatás oldal ---------- */

.subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.subject {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: baseline;
  padding: 22px 28px 22px 0; border-bottom: 1px solid #B9C4DA;
}
.subject:nth-child(odd) { border-right: 1px solid #B9C4DA; }
.subject:nth-child(even) { padding-left: 28px; padding-right: 0; }
.subject p { grid-column: 1 / -1; }
.subject__level { font-size: 15px; color: var(--muted); }

.b2b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 48px; border-top: 2px solid var(--ink); padding-top: 28px; }
.b2b > div { display: flex; flex-direction: column; gap: 8px; }

.table-box { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; background: #fff; border: 2.5px solid var(--ink); font-size: 18px; }
.prices th, .prices td { text-align: left; padding: 18px 22px; border-bottom: 1px solid #D3DBEA; vertical-align: top; }
.prices thead th { font-size: 15px; font-weight: 600; color: var(--muted); }
.prices tbody th { font-weight: 700; }
.prices tr:last-child > * { border-bottom: 0; }
.prices__value { font-weight: 700; white-space: nowrap; }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid #B9C4DA; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font-weight: 700; font-size: 21px; padding: 18px 0; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--hand); color: var(--red); font-size: 32px; line-height: 1; flex: none;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 0 20px; color: var(--muted); max-width: 44em; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Lábléc ---------- */

.site-footer { background: var(--ink); color: #E6ECF7; font-size: 15px; }
.site-footer > .wrap { padding-block: 56px 28px; display: flex; flex-direction: column; gap: 40px; }
.site-footer a { color: #E6ECF7; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__company { display: flex; flex-direction: column; gap: 6px; }
.site-footer__name { font-size: 20px; font-weight: 800; color: #fff; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); color: #B9C4DA; font-size: 14px;
}
.site-footer .site-footer__admin { color: #8F9BB6; font-size: 13px; text-decoration: none; }
.site-footer .site-footer__admin:hover { color: #fff; text-decoration: underline; }

/* ---------- Reszponzív ---------- */

@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; }
  .nav__list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad-x) 24px; background: var(--paper); border-bottom: 2px solid var(--ink);
    display: none;
  }
  .nav__list.is-open { display: flex; animation: drop .3s var(--ease); }
  .nav__list li { border-bottom: 1px solid var(--grid); }
  .nav__list a { display: block; padding: 14px 0; font-size: 21px; font-weight: 600; }
  .nav__cta-mobile { display: block; border-bottom: 0 !important; padding-top: 16px; }
  .nav__cta-mobile a { display: inline-flex; font-size: 17px; padding: 0 26px; color: #fff; }
  .nav__cta-mobile a:hover { color: #fff; text-decoration: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .pkgs { grid-template-columns: 1fr; gap: 40px; }
  .pkg, .pkg:first-child { border-left: 0; padding: 28px 0 0; border-top: 2px solid var(--ink); }
  .pkg:first-child { border-top: 0; padding-top: 0; }
  .app { grid-template-columns: 1fr; gap: 22px; }
  .techs, .refs, .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .edu { grid-template-columns: 1fr; gap: 36px; }
  .edu__col, .edu__col:first-child { border-left: 0; padding: 0; }
  .edu-teaser { grid-template-columns: 1fr; gap: 28px; }
  .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .b2b { grid-template-columns: 1fr; }
  .subjects { grid-template-columns: 1fr; }
  .subject, .subject:nth-child(odd), .subject:nth-child(even) { border-right: 0; padding-left: 0; padding-right: 0; }
}

@media (max-width: 760px) {
  :root { --pad-x: 20px; }
  body { font-size: 17px; }
  .wrap { padding-left: 40px; }
  .lined > .wrap::before { left: 22px; }
  .row { grid-template-columns: 1fr; row-gap: 10px; }
  .note { text-align: left; font-size: 20px; padding-top: 0; }
  .row > span:empty { display: none; }
  .section > .wrap { padding-block: 24px 60px; }
  .section--hero > .wrap { padding-block: 36px 64px; }
  .band > .wrap { padding-block: 72px 80px; }
  .band--compact > .wrap { padding-block: 52px 56px; }
  .edu-links a { flex-direction: column; gap: 2px; padding: 15px 0; }
  .edu-links span { text-align: left; }
  .hero__points-row { margin-top: 40px; }
  .nav__cta { display: none; }
  .site-header__inner { min-height: 72px; }
  .brand__name { font-size: 21px; }
  .brand__tag { font-size: 13px; }
  .techs, .refs, .extras, .two, .steps, .steps--3, .site-footer__grid { grid-template-columns: 1fr; }
  .site-header > .wrap, .site-footer > .wrap { padding-left: var(--pad-x); }
  .facts { grid-template-columns: 1fr; gap: 4px; padding: 22px; }
  .facts dd { margin-bottom: 10px; }
  .btn { white-space: normal; text-align: center; }
  .prices th, .prices td { padding: 14px 14px; font-size: 16px; }
  .faq summary { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .offer__step.is-in, .offer__step.is-in-back { animation: none; }
  .choice__body { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .note { clip-path: none; }
}

@media print {
  body { background: #fff; }
  .site-header, .demo, .site-footer, .band .btn-row { display: none; }
}

/* ---------- Jogi oldalak ---------- */

.facts--legal { max-width: 760px; margin-top: 8px; }
.legal { display: flex; flex-direction: column; gap: 14px; max-width: 46em; font-size: 18px; }
.legal h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin-top: 18px; }
.legal ul { display: flex; flex-direction: column; gap: 6px; padding-left: 22px; }
.legal li::marker { color: var(--red); }
.legal a { word-break: break-word; }

/* ---------- reCAPTCHA ---------- */

.captcha { gap: 8px; }
.captcha__slot { min-height: 78px; }
.captcha__legal { font-size: 13px; color: var(--muted); max-width: 40em; }
@media (max-width: 360px) { .captcha__slot { transform: scale(.9); transform-origin: left top; } }

/* ---------- Sütisáv ---------- */

.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 80;
  width: min(460px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(30, 42, 74, .14);
  padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 14px;
}
.consent[hidden] { display: none; }
.consent.is-in { animation: consent-in .5s var(--ease); }
@keyframes consent-in { from { opacity: 0; transform: translateY(24px) rotate(-1deg); } to { opacity: 1; transform: none; } }
.consent__note {
  position: absolute; top: 10px; right: 18px;
  font-family: var(--hand); color: var(--red); font-size: 22px; transform: rotate(5deg);
}
.consent__title { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; padding-right: 70px; }
.consent__title:focus { outline: none; }
.consent__text { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.consent__prefs { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--grid); padding-top: 10px; }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.consent__opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pen); }
.consent__opt strong { display: block; color: var(--ink); font-size: 15.5px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent__actions .btn { min-height: 46px; padding: 0 18px; font-size: 16px; flex: 1 1 140px; }
.consent__actions .btn[hidden] { display: none; }
.consent__more {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--pen); background: none; border: 0;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 4px;
}
.consent__more:hover { color: var(--ink); }
.site-footer__linkbtn {
  font: inherit; color: #E6ECF7; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.site-footer__linkbtn:hover { color: #fff; }
@media (max-width: 1180px) and (min-width: 1101px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .choice__body { padding: 11px 12px; }
  .choice__title { font-size: 15px; }
  .choice__hint { font-size: 13px; }
  .offer__progress li:not(.is-current) .offer__plabel { display: none; }
  .offer__progress li.is-current { flex: 3; }
  .offer__legend { font-size: 20px; }
  .offer__summary dl { grid-template-columns: 1fr; gap: 0; }
  .offer__summary dd { margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .consent { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px 18px 16px; }
}
@media print { .consent { display: none !important; } }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--ink); }
