/* Zecontal.
   Logó: sötétkék gyűrű és zöld négyzet. Ebből két forma következik:
   kör csak a logóformában (hero), minden más lágy négyzet:
   gombok, mezők, fülek 10 px, kártyák, panelek, képek 16 px. Kapszula alak nincs.
   Hívószín: sötétzöld gomb fehér felirattal (a fejléc belépőgombja körvonalas). Zöld négyzet: kiugró sarokelem, a logóból.
   Rendszer: egy térközskála, egy betűméret-skála, egy kártya, egy elválasztóvonal. */

:root {
  /* Színek */
  --navy: #06172e;          /* logó; sötét felületek */
  --moss: #629332;          /* logó; csak apró jelek */
  --moss-deep: #3f6220;     /* zöld szövegkiemelés (AA) */
  --ink: #0b1a2e;
  --muted: #4b5668;
  --cta: #3f6220;           /* hívószín: a logó zöldjének sötét, AA-képes árnyalata */
  --cta-hover: #06172e;
  --link-hover: #3f6220;    /* hover-szín szövegen */
  --white: #fff;
  --mist: #f2f4f7;
  --hero: #e9eef5;
  --line: #6b7686;          /* űrlapmezők kerete (3:1) */
  --hairline: #d5dbe3;      /* minden elválasztóvonal */
  --on-dark-muted: #c3ccd8; /* másodlagos szöveg sötéten */
  --on-dark-line: rgba(255, 255, 255, .16);

  /* Betűk */
  --display: "Red Hat Display", "Avenir Next", "Segoe UI", sans-serif;
  --text: "Red Hat Text", "Avenir Next", "Segoe UI", sans-serif;

  /* Betűméret-skála */
  --fs-xs: .875rem;                                  /* 14: jelmagyarázat */
  --fs-s: .9375rem;                                  /* 15: címkék, segédszöveg */
  --fs-ui: 1rem;                                     /* 16: menü, gombok kicsiben */
  --fs-body: 1.125rem;                               /* 18: folyószöveg */
  --fs-lead: clamp(1.1875rem, 1.35vw, 1.3125rem);    /* 19–21: bevezetők */
  --fs-h4: clamp(1.3125rem, 1.6vw, 1.5rem);          /* 21–24: kártyacím */
  --fs-h3: clamp(1.5rem, 2.3vw, 2rem);               /* 24–32: alcím */
  --fs-h2: clamp(1.875rem, 3.4vw, 3rem);             /* 30–48 */
  --fs-h1: clamp(2.25rem, 4.4vw, 4rem);              /* 36–64 */

  /* Térközskála (4-es alap) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 128px);
  --head-gap: clamp(40px, 5vw, 64px);       /* szakaszfej és tartalom között */
  --col-gap: clamp(32px, 5vw, 80px);        /* két hasáb között */

  /* Formák */
  --r-s: 10px;              /* gombok, mezők, fülek */
  --r: 16px;                /* kártyák, panelek, képek */
  --rule: 1px solid var(--hairline);
  --shadow: 0 1px 2px rgba(6, 23, 46, .04), 0 12px 32px -12px rgba(6, 23, 46, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.18; }
p { margin: 0; text-wrap: pretty; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tone-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
.forms :focus-visible { outline-color: var(--ink); }

.defs { position: absolute; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; font-family: var(--display); font-weight: 700;
}
.skip:focus { top: 12px; }

/* Szakaszok */
.wrap { width: min(100%, 1360px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--rule { border-top: var(--rule); }
.tone-mist { background: var(--mist); border-block: var(--rule); }
.tone-navy { background: var(--navy); color: var(--white); }
.tone-sky { background: #e9eef5; border-block: 1px solid var(--hairline); }

/* Szakaszfej: cím, alatta egy bevezető mondat. Egységes a teljes szélességű
   és a kéthasábos szakaszokban is. */
.split-head { margin-bottom: var(--head-gap); }
.split-head h2 { max-width: 19em; }
.split-head p,
.invoice__lead,
.contact__intro > p {
  margin-top: var(--s-5);
  max-width: 38em;
  font-size: var(--fs-lead); line-height: 1.5;
  color: var(--muted);
}
.tone-navy .split-head p { color: var(--on-dark-muted); }
.split-head--link { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3) var(--s-6); }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 32px;
  border: 0; border-radius: var(--r-s);
  background: var(--cta); color: var(--white);
  font-family: var(--display); font-size: 1.0625rem; font-weight: 700;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { background: var(--cta-hover); box-shadow: 0 8px 20px rgba(6, 23, 46, .18); transform: translateY(-2px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.tone-navy .btn { background: var(--white); color: var(--navy); }
.tone-navy .btn:hover { background: #e9eef5; }
.btn--small { min-height: 44px; padding: 8px 20px; font-size: var(--fs-ui); }
.btn--wide { width: 100%; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--navy); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--navy), 0 8px 20px rgba(6, 23, 46, .18); transform: translateY(-2px); }

.textlink {
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--moss); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.textlink:hover { color: var(--link-hover); }
.linklike {
  background: none; border: 0; padding: 0; color: inherit; cursor: pointer;
  font: inherit; text-decoration: underline; text-underline-offset: 3px;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }

/* Listajel: kis mohazöld négyzet */
.ticks li { position: relative; padding-left: var(--s-5); }
.ticks li + li { margin-top: var(--s-3); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 8px; height: 8px; background: var(--moss);
}

/* Képhely: üres képkeret, amíg nincs feltöltött fotó */
.slot { --ratio: 16 / 10; display: block; }
.slot::before {
  content: ""; display: block; aspect-ratio: var(--ratio);
  border-radius: var(--r);
  background: linear-gradient(160deg, #dfe5ed, #cdd6e1);
}
.portal__img img, .post__img img { display: block; width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 0 0 1px var(--hairline), 0 18px 40px rgba(6, 23, 46, .1); }

/* Kártya: egyetlen kártyastílus (szolgáltatás, portálrészlet, űrlap) */
.service, .ui, .forms {
  background: var(--white); color: var(--ink);
  border: var(--rule); border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* Portálrészlet-illusztrációk (a portál saját színeivel) */
.ui {
  padding: var(--s-5);
  font-family: var(--display);
  font-size: var(--fs-ui); line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.ui__title { font-weight: 800; font-size: 1.0625rem; margin-bottom: var(--s-3); }
.ui__label { font-weight: 700; font-size: var(--fs-s); color: var(--muted); }
.ui__amount { margin: var(--s-1) 0 var(--s-3); font-size: clamp(2.1rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.05; color: var(--moss-deep); }
.ui__meta { font-size: var(--fs-s); }
.ui__meta + .ui__meta { margin-top: var(--s-1); }
.ui__meta strong { font-weight: 800; }
.ui__pay { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-4); padding: 12px 16px; background: var(--cta); color: var(--white); font-weight: 700; border-radius: var(--r-s); }
.ui__sample { margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--muted); }
.ui__compare > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-block: var(--s-2); border-top: var(--rule); }
.ui__compare dt { font-weight: 600; }
.ui__compare dd { font-weight: 800; white-space: nowrap; }
.ui__result { font-size: 1.125rem; }
.ui__result dd { font-weight: 900; }
.ui__delta { display: inline-block; min-width: 3.4em; margin-left: var(--s-2); padding: 1px 6px; border-radius: 4px; background: var(--mist); border: var(--rule); font-size: var(--fs-xs); font-weight: 700; text-align: center; }
.ui__chip { display: inline-block; margin-top: var(--s-4); padding: 4px 10px; border-radius: 6px; background: #e3eed6; color: var(--moss-deep); font-weight: 700; font-size: var(--fs-s); }
.ui__deadlines li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: var(--s-3); padding-block: 10px; border-top: var(--rule); }
.ui__when b { display: block; font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.ui__when small, .ui__what small { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
.ui__name { display: flex; align-items: flex-start; gap: 7px; font-weight: 600; line-height: 1.3; }
.ui__icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--navy); }
.ui__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-bottom: var(--s-4); }
.ui__kpis > div { padding: 10px 12px; border: var(--rule); border-radius: var(--r-s); }
.ui__kpis dt { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.ui__kpis dd { font-size: 1.125rem; font-weight: 800; }
.ui__kpis .is-in, .ui__legend .is-in::before { color: var(--moss-deep); }
.ui__kpis .is-out, .ui__legend .is-out::before { color: var(--navy); }
.ui__kpis .is-result { color: var(--moss-deep); }
.ui__bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 72px; margin-top: var(--s-2); padding-bottom: var(--s-1); border-bottom: var(--rule); }
.ui__bars span { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; }
.ui__bars i { width: 9px; border-radius: 2px 2px 0 0; background: var(--moss); }
.ui__bars i + i { background: var(--navy); }
.ui__bars span:nth-child(1) i:first-child { height: 62%; } .ui__bars span:nth-child(1) i + i { height: 31%; }
.ui__bars span:nth-child(2) i:first-child { height: 64%; } .ui__bars span:nth-child(2) i + i { height: 27%; }
.ui__bars span:nth-child(3) i:first-child { height: 63%; } .ui__bars span:nth-child(3) i + i { height: 29%; }
.ui__bars span:nth-child(4) i:first-child { height: 54%; } .ui__bars span:nth-child(4) i + i { height: 28%; }
.ui__bars span:nth-child(5) i:first-child { height: 55%; } .ui__bars span:nth-child(5) i + i { height: 31%; }
.ui__bars span:nth-child(6) i:first-child { height: 96%; } .ui__bars span:nth-child(6) i + i { height: 30%; }
.ui__legend { display: flex; gap: var(--s-4); margin-top: var(--s-2); font-size: .8125rem; color: var(--muted); }
.ui__legend span::before { content: "■"; margin-right: 5px; }

/* Fülek: egyetlen szegmentált fülstílus (portál és űrlapváltó) */
.portal__tabs, .forms__switch {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  gap: var(--s-1); padding: var(--s-1);
  border-radius: calc(var(--r-s) + var(--s-1));
}
.portal__tabs [role="tab"], .forms__switch [role="tab"] {
  min-height: 44px; padding: 8px 20px;
  border: 0; border-radius: var(--r-s);
  background: transparent;
  font-family: var(--display); font-size: var(--fs-ui); font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.portal__tabs { margin-bottom: var(--s-7); background: var(--mist); box-shadow: inset 0 0 0 1px var(--hairline); }
.portal__tabs [role="tab"] { color: var(--muted); }
.portal__tabs [role="tab"]:hover { color: var(--ink); }
.portal__tabs [role="tab"][aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--hairline), 0 2px 6px rgba(6, 23, 46, .1); }
.forms__switch { display: grid; margin-bottom: var(--s-6); background: var(--mist); box-shadow: inset 0 0 0 1px var(--hairline); }
.forms__switch [role="tab"] { color: var(--muted); }
.forms__switch [role="tab"]:hover { color: var(--ink); }
.forms__switch [role="tab"][aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--hairline), 0 2px 6px rgba(6, 23, 46, .08); }

/* Fejléc */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: var(--rule); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: var(--s-5); }
.site-header__logo img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 20px; font-family: var(--display); font-weight: 600; font-size: var(--fs-ui); }
.site-nav__list { display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: clamp(14px, 2vw, 36px); }
.site-nav a { text-decoration: none; }
.site-nav__list a:hover, .lang a:hover { color: var(--link-hover); }
.site-nav__end { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.lang { display: flex; gap: 10px; }
.lang a { color: var(--muted); padding: 6px 2px; }
.lang a[aria-current] { color: var(--ink); font-weight: 800; }
.menu-toggle { display: none; }

/* Hero */
.hero { background: var(--hero); border-bottom: var(--rule); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
  align-items: center; gap: var(--s-7) var(--col-gap);
  padding-block: clamp(48px, 6vw, 96px);
}
.eyebrow, .split-head p.eyebrow, .contact__intro > p.eyebrow, .about__text p.eyebrow, .invoice__text p.eyebrow { margin-top: 0; margin-bottom: var(--s-3); font-family: var(--display); font-size: .9375rem; font-weight: 800; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase; color: var(--moss-deep); }
.split-head--link .eyebrow, .faq > div:first-child .eyebrow { flex-basis: 100%; margin-bottom: 0; }
.split-head--link p.eyebrow { max-width: none; }
.tone-navy .eyebrow { color: #a9cf7e; }
.h1-top {
  display: block; margin-bottom: var(--s-5);
  font-size: .9375rem;
  font-weight: 800; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase;
  color: var(--moss-deep);
}
.lead { margin-top: var(--s-5); max-width: 34em; font-size: var(--fs-lead); line-height: 1.5; }
.hero .actions { margin-top: var(--s-6); }

.hero__visual { width: 100%; min-width: 0; }
/* Hero: termék-jelenet 3D-ben. Böngészőablak a portál kezdőlapjával, előtte telefon (HTML mintaadatok, nyelvenként).
   Minden méret em, az alap a jelenet szélességéből jön (cqw), így a jelenet egyben skálázódik.
   A --tx/--ty döntést a main.js állítja az egér helyzetéből; a jobb szél a hero szélén kifut. */
.stage { position: relative; width: 128%; container-type: inline-size; }
.stage__persp { display: block; perspective: 1500px; perspective-origin: 20% 35%; }
.scene {
  position: relative; display: block; padding: 3cqw 0 8cqw 9cqw;
  font-family: var(--display); font-size: 1.72cqw; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums;
  transform-style: preserve-3d; transform-origin: 30% 50%;
  transform: rotateX(calc(8deg + var(--tx, 0deg))) rotateY(calc(17deg + var(--ty, 0deg))) rotateZ(-2deg);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  animation: scene-in 1.1s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes scene-in { from { opacity: 0; transform: translateY(2em) rotateX(14deg) rotateY(26deg) rotateZ(-3deg); } }
.scene__sq { position: absolute; top: 0; left: 5cqw; width: 9em; height: 9em; border-radius: .9em; background: var(--moss); transform: translateZ(-5em); }
.desk { position: relative; display: block; overflow: hidden; border-radius: 1em; background: var(--white); box-shadow: 0 0 0 1px rgba(6, 23, 46, .1), 0 1.2em 2.4em -1em rgba(6, 23, 46, .22), 0 4em 7em -2.5em rgba(6, 23, 46, .4); }
.desk__bar { display: flex; align-items: center; gap: .45em; padding: .75em 1em; background: #eef1f5; border-bottom: 1px solid var(--hairline); }
.desk__bar i { width: .65em; height: .65em; border-radius: 50%; background: #c5cdd8; }
.desk__bar span { flex: 0 1 24em; margin-left: 1em; padding: .3em 1em; border-radius: .5em; background: var(--white); font-size: .85em; font-weight: 600; color: var(--muted); }
.desk__body { display: grid; grid-template-columns: 13em minmax(0, 1fr); min-height: 31em; }
.desk__side { padding: 1.5em 1em; background: var(--navy); color: var(--on-dark-muted); }
.desk__side img { display: block; width: 8.4em; height: auto; margin: 0 .7em 1.6em; }
.desk__side li { padding: .6em .8em; border-radius: .6em; font-size: .95em; font-weight: 700; }
.desk__side li.is-on { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset .24em 0 0 var(--moss); }
.desk__main { padding: 1.6em 1.8em 1.8em; background: #f6f8fa; }
.desk__head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.desk__head b { font-size: 1.55em; font-weight: 800; }
.desk__head span { padding: .35em .9em; border-radius: .5em; background: var(--white); box-shadow: 0 0 0 1px var(--hairline); font-size: .85em; font-weight: 700; color: var(--muted); }
.desk__stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1em; margin-top: 1.2em; }
.desk__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1em; margin-top: 1em; }
.tile { display: block; padding: 1.1em 1.2em; border-radius: .9em; background: var(--white); box-shadow: 0 0 0 1px var(--hairline); }
.tile small { display: block; font-size: .85em; font-weight: 700; color: var(--muted); }
.tile b { display: block; margin: .25em 0 .15em; font-size: 1.75em; font-weight: 900; line-height: 1.1; }
.tile span { font-size: .85em; font-weight: 600; color: var(--muted); }
.tile.is-key { background: #e3eed6; box-shadow: none; }
.tile.is-key b, .tile.is-key span { color: var(--moss-deep); }
.tile.is-key span { font-weight: 800; }
.bars { display: flex; align-items: flex-end; gap: .7em; height: 8.6em; margin-top: 1em; }
.bars i { flex: 1; height: var(--h); border-radius: .35em .35em 0 0; background: #cdd6e1; }
.bars i:last-child { background: var(--moss); }
.tile em { display: block; margin-top: .6em; font-size: .8em; font-style: normal; font-weight: 600; color: var(--muted); }
.todo { margin-top: .5em; }
.todo li { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .68em 0; border-top: 1px solid var(--hairline); font-size: .95em; font-weight: 600; }
.todo li:first-child { border-top: 0; }
.todo i { flex: none; padding: .2em .7em; border-radius: .45em; background: #e3eed6; color: var(--moss-deep); font-size: .85em; font-style: normal; font-weight: 800; }
.todo i.is-wait { background: var(--mist); color: var(--muted); }
.hphone {
  position: absolute; left: 0; bottom: 0; display: block; box-sizing: border-box; width: 16.4em; padding: 2.5em 1.2em 1.3em;
  background: var(--white); border: .6em solid var(--navy); border-radius: 2.7em; font-size: .9em;
  transform: translateZ(8em);
  box-shadow: 0 1em 2em -.6em rgba(6, 23, 46, .3), 0 4em 6em -2em rgba(6, 23, 46, .5);
}
.hphone::before { content: ""; position: absolute; top: .8em; left: 50%; width: 4.6em; height: .7em; margin-left: -2.3em; border-radius: .4em; background: var(--navy); }
.hp__top { display: flex; align-items: center; justify-content: space-between; }
.hp__top img { width: 6.6em; height: auto; }
.hp__top span { font-size: .8em; font-weight: 700; color: var(--muted); }
.hp__hello { display: block; margin-top: 1.1em; font-size: 1.35em; font-weight: 800; }
.hp__card { display: block; margin-top: .9em; padding: 1.1em; border-radius: .9em; background: var(--navy); color: var(--white); }
.hp__card small { display: block; font-size: .8em; font-weight: 700; color: var(--on-dark-muted); }
.hp__card b { display: block; margin: .15em 0 .1em; font-size: 2em; font-weight: 900; line-height: 1.1; }
.hp__card span { font-size: .85em; }
.hphone .todo { margin-top: .7em; }
.hphone .todo li:first-child { border-top: 1px solid var(--hairline); }
.hp__btn { display: block; margin-top: .9em; padding: .8em; border-radius: .7em; background: var(--cta); color: var(--white); font-weight: 800; text-align: center; }

/* Három kérdés: a szám a szöveg mellett, függőlegesen középen */
.q {
  display: grid; grid-template-columns: clamp(64px, 8vw, 120px) minmax(0, 6fr) minmax(0, 5fr);
  align-items: center; column-gap: var(--col-gap);
  padding-block: var(--s-7);
  border-top: var(--rule);
}
.q:first-of-type { border-top: 0; padding-top: 0; }
.q__num {
  justify-self: center;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(5rem, 9vw, 8.5rem); line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(98, 147, 50, .75);
  transform: translateY(var(--ny, 0px));
  will-change: transform;
  user-select: none;
}
.q__text p { margin-top: var(--s-4); max-width: 34em; }
.yours {
  position: relative;
  display: flex; align-items: center; gap: var(--s-6);
  margin-top: var(--s-4);
  padding: clamp(32px, 4vw, 56px);
  background: var(--navy); color: var(--white);
  border-radius: var(--r);
}
/* Kiugró zöld négyzet: a logó négyzete, következetes sarokelem */
.has-corner { position: relative; --corner: 56px; }
.has-corner::after { content: ""; position: absolute; z-index: 1; top: calc(var(--corner) * -.38); right: calc(var(--corner) * -.38); width: var(--corner); aspect-ratio: 1; background: var(--moss); pointer-events: none; }
.yours.has-corner { --corner: clamp(56px, 6vw, 84px); }
.yours p { font-family: var(--display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; max-width: 26em; }

/* Szolgáltatások */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.service { display: flex; flex-direction: column; padding: var(--s-6); }
.service.has-corner { --corner: 26px; }
.service h3 { position: relative; padding-bottom: 14px; font-size: var(--fs-h4); }
.service h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--moss); }
.service__promise { margin-top: var(--s-3); line-height: 1.5; color: var(--muted); }
.service .ticks { margin-top: var(--s-5); }
.service .ticks li { padding-block: var(--s-3); border-top: var(--rule); line-height: 1.45; }
.service .ticks li + li { margin-top: 0; }
.service .ticks li::before { top: calc(var(--s-3) + .55em); }

/* Számlázás */
.invoice { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--s-7) var(--col-gap); }
.invoice .ticks { margin-block: var(--s-6); max-width: 38em; }

/* Portál */
.portal__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: var(--s-6) var(--col-gap); }
.portal__panel + .portal__panel { margin-top: var(--s-8); }
.js .portal__panel + .portal__panel { margin-top: 0; }
.portal__copy h3 { margin-bottom: var(--s-5); }
.portal__note { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--on-dark-line); max-width: 46em; font-size: var(--fs-ui); color: var(--on-dark-muted); }

/* Rólunk */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--col-gap); align-items: center; }
.about__text p { margin-top: var(--s-5); max-width: 34em; }
.about__sign { font-family: var(--display); font-weight: 700; }
.about__text .about__cta { display: inline-block; margin-top: var(--s-5); }
.about__photo { --ratio: 4 / 3; }
.about:not(:has(.about__photo)) { grid-template-columns: minmax(0, 1fr); }

/* GYIK */
.faq > div:first-child { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--col-gap); margin-bottom: var(--s-7); }
.faq > div:first-child h2 { max-width: 20em; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r); padding-inline: clamp(18px, 2.4vw, 32px); transition: border-color .15s, box-shadow .15s; }
.faq details:hover { border-color: var(--line); }
.faq details[open] { border-color: var(--line); box-shadow: 0 10px 30px rgba(6, 23, 46, .06); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.125rem, 1.4vw, 1.25rem); line-height: 1.35;
}
.faq summary:hover { color: var(--link-hover); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 28px;
  width: 10px; height: 10px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(135deg);
  transition: transform .18s;
}
.faq details[open] summary::after { transform: translateY(4px) rotate(-45deg); }
.faq details p { padding: 0 48px var(--s-5) 0; max-width: 52em; color: var(--muted); }

/* Blog */
.posts { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; gap: var(--s-6) var(--col-gap); align-content: start; }
.post--lead { grid-row: span 2; }
.post:not(.post--lead) + .post { padding-top: var(--s-6); border-top: var(--rule); }
.post__photo { --ratio: 16 / 9; margin-bottom: var(--s-5); }
.post__cat { margin-bottom: var(--s-2); font-family: var(--display); font-weight: 700; font-size: var(--fs-s); color: var(--moss-deep); }
.post__cat a { text-decoration: none; }
.post__cat a:hover { text-decoration: underline; }
.post h3 { font-size: var(--fs-h4); }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post--lead h3 { font-size: var(--fs-h3); }
.post h3 + p { margin-top: var(--s-3); max-width: 34em; color: var(--muted); }

/* Ajánlatkérés */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--col-gap); align-items: start; }
.contact__details { margin-top: var(--s-7); font-family: var(--display); line-height: 1.4; }
.contact__details dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4); border-top: var(--rule); }
.contact__details dl > div:last-child { border-bottom: var(--rule); }
.contact__details dt { font-weight: 600; font-size: var(--fs-s); color: var(--muted); padding-top: 2px; }
.contact__details dd { font-weight: 700; }
.contact__details a { text-decoration-color: var(--moss); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.forms { padding: clamp(24px, 3.4vw, 48px); }
.form + .form { margin-top: var(--s-8); }
.js .form + .form { margin-top: 0; }
.form__title { margin-bottom: var(--s-5); }
.js .form__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
.field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.field > label, .field legend { display: block; padding: 0; margin-bottom: var(--s-2); font-family: var(--display); font-weight: 600; font-size: var(--fs-s); }
.field__hint { margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.opt { font-weight: 500; color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-s);
  font-family: var(--text); font-size: var(--fs-ui);
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306172e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }
.field textarea { resize: vertical; line-height: 1.5; }
.field ::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(6, 23, 46, .16); outline: none; }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.field-error { margin-top: 6px; color: #a0201a; font-family: var(--display); font-weight: 600; font-size: var(--fs-s); line-height: 1.35; }
.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: var(--fs-ui); }
.choices .choice { display: flex; min-height: 52px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); transition: border-color .15s, background-color .15s; }
.choices .choice:hover { border-color: var(--ink); }
.choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.choices .choice:has(input:checked) { background: var(--mist); border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choices .choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.consent-check { display: flex; gap: var(--s-3); align-items: flex-start; margin: 6px 0 var(--s-5); font-size: var(--fs-s); line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent-check a { color: var(--ink); }
.consent-check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--navy); }
.consent-check + .field-error { margin: -14px 0 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Lábléc */
.site-footer { background: var(--navy); color: var(--white); font-family: var(--display); font-size: var(--fs-ui); line-height: 1.5; }
.site-footer__grid { display: grid; grid-template-columns: 5fr 2fr 3fr 3fr; gap: var(--s-6) clamp(28px, 4vw, 64px); padding-block: var(--s-8) var(--s-7); }
.site-footer img { width: 150px; height: auto; }
.site-footer__claim { margin-top: var(--s-4); max-width: 22em; color: var(--on-dark-muted); }
.site-footer__head { position: relative; padding-bottom: 12px; margin-bottom: var(--s-4); font-size: 1.0625rem; font-weight: 800; color: var(--white); }
.site-footer__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--moss); }
.site-footer li + li { margin-top: var(--s-2); }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--white); text-decoration: underline; }
.site-footer .linklike { color: var(--on-dark-muted); text-align: left; text-decoration: none; text-underline-offset: 3px; }
.site-footer .linklike:hover, .site-footer .linklike:focus-visible { color: var(--white); text-decoration: underline; }
.site-footer__base { padding-block: var(--s-5) var(--s-6); border-top: 1px solid var(--on-dark-line); font-size: var(--fs-s); color: var(--on-dark-muted); }

/* Köszönőoldalak: hero-háttér, mellette sötétkék kapcsolatkártya zöld sarokkal; alatta három lépés */
.thanks { background: var(--hero); border-bottom: var(--rule); }
.thanks__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center; gap: var(--s-7) var(--col-gap);
  padding-block: clamp(56px, 7vw, 112px);
}
.thanks h1 { max-width: 14em; }
.thanks .actions { margin-top: var(--s-6); }
.thanks__card {
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--navy); color: var(--white);
  border-radius: var(--r);
}
.thanks__card.has-corner { --corner: clamp(44px, 4.5vw, 64px); }
.thanks__card h2 { font-size: var(--fs-h4); }
.thanks__card > p { margin-top: var(--s-3); color: var(--on-dark-muted); line-height: 1.5; }
.thanks__card .contact__details { margin-top: var(--s-5); }
.thanks__card .contact__details dl > div { border-color: var(--on-dark-line); }
.thanks__card .contact__details dt { color: var(--on-dark-muted); }
.thanks__card :focus-visible { outline-color: var(--white); }
/* 404: egyetlen szakasz, a lábléc ne ugorjon fel */
.thanks--solo .thanks__grid { min-height: min(68vh, 640px); }
/* Nagy, körvonalas 404 a címke fölött, mint a főoldal számai; szöveg nem kerül rá */
.thanks__bignum {
  position: relative; z-index: 0; display: block;
  margin: 0 0 var(--s-5) -.04em;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(8rem, 19vw, 17rem); line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(98, 147, 50, .6);
  pointer-events: none; user-select: none;
}
.thanks--solo .thanks__text > :not(.thanks__bignum) { position: relative; z-index: 1; }
/* Jogi oldalak: fejsáv, alatta a szöveg */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.legal-head { background: var(--hero); border-bottom: var(--rule); padding-block: clamp(48px, 6vw, 88px); }
.legal-head h1 { font-size: var(--fs-h2); }
.legal-head__meta { margin-top: var(--s-4); font-family: var(--display); font-weight: 600; font-size: var(--fs-s); color: var(--muted); }
.prose { max-width: 46em; }
.prose > section + section { margin-top: var(--s-7); padding-top: var(--s-7); border-top: var(--rule); }
.prose h2 { font-size: var(--fs-h4); }
.prose p, .prose ul, .prose .legal__facts, .prose .table-wrap { margin-top: var(--s-4); }
.prose a { text-decoration-color: var(--moss); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--link-hover); }
.prose strong { font-weight: 700; }
.legal__facts > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-3); border-top: var(--rule); }
.legal__facts > div:last-child { border-bottom: var(--rule); }
.legal__facts dt { font-family: var(--display); font-weight: 700; font-size: var(--fs-s); color: var(--muted); padding-top: 2px; }
.table-wrap { overflow-x: auto; }
.legal__table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); line-height: 1.5; }
.legal__table th, .legal__table td { padding: var(--s-3) var(--s-4) var(--s-3) 0; text-align: left; vertical-align: top; border-bottom: var(--rule); }
.legal__table th { font-family: var(--display); font-weight: 700; color: var(--muted); border-bottom-color: var(--line); }
.legal__table code { font-size: .95em; font-weight: 600; }
.legal__table small { color: var(--muted); }

.thanks__links { margin-top: var(--s-4); font-family: var(--display); font-weight: 700; }
.thanks__links li { border-top: 1px solid var(--on-dark-line); }
.thanks__links li:last-child { border-bottom: 1px solid var(--on-dark-line); }
.thanks__links a { display: block; padding-block: var(--s-3); text-decoration: none; }
.thanks__links a:hover { text-decoration: underline; text-decoration-color: var(--moss); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--col-gap); }
.step { padding-top: var(--s-5); border-top: var(--rule); }
.step__num {
  display: block; margin-bottom: var(--s-5);
  font-family: var(--display); font-weight: 900;
  font-size: clamp(4rem, 6vw, 5.5rem); line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(98, 147, 50, .75);
  user-select: none;
}
.step h3 { font-size: var(--fs-h4); }
.step p { margin-top: var(--s-3); max-width: 30em; color: var(--muted); }
.step__link { display: inline-block; margin-top: var(--s-4); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section--steps { border-bottom: 0; padding-bottom: 0; }
.section--steps + .tone-mist { border-top: 0; }
@media (max-width: 1240px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* Tördelés */
@media (max-width: 1240px) {
  /* Menügomb: csak hamburgerikon (a felirat a képernyőolvasónak aria-labelben), nyitva X */
  .menu-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
    background: var(--white); color: var(--ink); border: 0;
    box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r-s);
    cursor: pointer;
  }
  .menu-toggle__icon, .menu-toggle__icon span { position: relative; display: block; width: 22px; height: 14px; }
  .menu-toggle__icon::before, .menu-toggle__icon::after, .menu-toggle__icon span::before {
    content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 1px; background: currentColor;
    transition: transform .2s, opacity .2s, top .2s;
  }
  .menu-toggle__icon::before { top: 0; }
  .menu-toggle__icon span { position: absolute; inset: 0; }
  .menu-toggle__icon span::before { top: 6px; }
  .menu-toggle__icon::after { top: 12px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 6px; transform: rotate(-45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon span::before { opacity: 0; }
  html:not(.js) .menu-toggle { display: none; }
  html.js .site-nav { display: none; }
  html.js .site-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); padding: 12px var(--gutter) 28px;
    border-bottom: var(--rule);
    box-shadow: 0 16px 28px rgba(6, 23, 46, .14);
    max-height: calc(100dvh - 76px); overflow: auto;
  }
  html:not(.js) .site-header__row { flex-wrap: wrap; padding-block: 12px; }
  .site-nav__list { flex-direction: column; gap: 0; margin-left: 0; font-size: 1.25rem; }
  .site-nav__list a { display: block; padding: 11px 0; }
  .site-nav__end { flex-wrap: wrap; margin-top: 16px; }
}

@media (max-width: 960px) {
  .hero__grid, .invoice, .portal__panel, .about, .faq, .posts, .contact, .services, .thanks__grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .thanks__card { max-width: 560px; }
  /* Lépések: a szám a cím mellett, a szöveg alatta */
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--s-4); }
  .step__num { margin-bottom: 0; font-size: 3.5rem; }
  .step p, .step__link { grid-column: 1 / -1; justify-self: start; }
  .stage { width: 112%; }
  .scene { transform: rotateX(calc(6deg + var(--tx, 0deg))) rotateY(calc(12deg + var(--ty, 0deg))) rotateZ(-1.5deg); }
  .post--lead { grid-row: auto; }
  .post--lead + .post { padding-top: var(--s-6); border-top: var(--rule); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  /* Szám a kérdés mellett, középre igazítva; a szöveg és a minta alatta */
  .q { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-4); row-gap: var(--s-5); }
  .q__text { display: contents; }
  .q__num { grid-column: 1; grid-row: 1; align-self: center; font-size: 4.5rem; }
  .q h3 { grid-column: 2; grid-row: 1; align-self: center; }
  .q__text p { grid-column: 1 / -1; margin-top: 0; }
  .q .ui { grid-column: 1 / -1; }

}

@media (max-width: 720px) {
  :root { --fs-body: 1.0625rem; }
  .legal__facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  /* Táblázat mobilon: soronként kártya, oszlopcímkével */
  .legal__table thead { display: none; }
  .legal__table tr { display: block; padding-block: var(--s-3); border-bottom: var(--rule); }
  .legal__table td { display: block; padding: 2px 0; border: 0; }
  .legal__table td::before { content: attr(data-label); display: block; font-family: var(--display); font-weight: 700; font-size: .8125rem; color: var(--muted); }
  .legal__table td + td { margin-top: var(--s-2); }
  .form__row, .choices { grid-template-columns: minmax(0, 1fr); }
  .contact__details dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .stage { width: 150%; }
  .btn { width: 100%; }
  .btn--small { width: auto; }
  .portal__tabs { display: grid; width: 100%; }
  .portal__tabs [role="tab"], .forms__switch [role="tab"] { padding-inline: 8px; font-size: var(--fs-s); }
  .portal__shot { --ratio: 4 / 3; }
  .service { padding: var(--s-5); }
  .yours { gap: var(--s-4); padding: var(--s-6) var(--s-5); }

  .yours.has-corner { --corner: 44px; }
  .has-corner::after { right: -10px; top: -14px; }
}

/* Görgetési effektusok: a JS csak akkor kapcsolja be, ha a mozgás nincs letiltva */
.reveal { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .scene { animation: none; }
  .q__num { transform: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .btn--outline:hover { transform: none; }
}

/* Blog: kategóriaoldal. Fejsáv morzsamenüvel, témaváltó (a fülek stílusa, de linkekkel),
   kiemelt cikk képpel, alatta cikklista, sötétkék ajánlatkérő panel zöld sarokkal. */
/* Morzsamenü: a fejléc tetején, nagy térközzel elválasztva a címtől */
.crumbs { margin-bottom: clamp(36px, 4.5vw, 64px); font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); }
/* Az aktuális oldal (cikknél a cím) egy sorban, levágva: a teljes cím úgyis alatta áll */
.crumbs li:last-child { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }
.legal-head.cat-head { padding-top: clamp(24px, 3vw, 36px); }
.cat-head .lead { color: var(--muted); max-width: 38em; }
.cat-head__count { margin-top: var(--s-4); font-family: var(--display); font-weight: 600; font-size: var(--fs-s); color: var(--muted); }

/* Témák: különálló, sorba törő linkek. Akárhány téma lehet, mind látszik, és új sorba törnek;
   nincs vízszintes görgetés és lenyíló menü. Mellettük a cikkek száma. */
.topics { margin-top: var(--s-6); }
.topics ul { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.topics a {
  display: flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 8px 16px;
  background: var(--white); border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--hairline);
  max-width: 100%; text-decoration: none;
  font-family: var(--display); font-size: var(--fs-ui); font-weight: 700; line-height: 1.2; color: var(--ink);
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.topics a:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.topics a span { font-weight: 600; font-size: var(--fs-s); color: var(--muted); }
.topics a[aria-current="page"] { background: var(--navy); color: var(--white); box-shadow: none; }
.topics a[aria-current="page"] span { color: var(--on-dark-muted); }

.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--s-6) var(--col-gap); }
.feature .post__photo { margin-bottom: 0; }
.feature h2, .feature h3 { font-size: var(--fs-h3); line-height: 1.18; }
.feature h2 a, .feature h3 a { text-decoration: none; }
.feature h2 a:hover, .feature h3 a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.feature__text > p:not(.eyebrow):not(.post__cat) { margin-top: var(--s-4); max-width: 34em; color: var(--muted); }
.feature .textlink, .post-card .textlink { display: inline-block; margin-top: var(--s-5); }

.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--col-gap); }
.post-card { display: flex; flex-direction: column; }
/* Kártyakép: minden cikknek 16:9-es kiemelt képe van; amíg nincs, halvány képhely */
.post-card__img { display: block; margin-bottom: var(--s-5); aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--hairline); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__img.is-empty { display: flex; align-items: flex-end; padding: var(--s-4); background: linear-gradient(160deg, #dfe5ed, #cdd6e1); text-decoration: none; }
.tone-mist .post-card__img.is-empty { background: linear-gradient(160deg, #d9e0e9, #c6d0dc); }
.post-card__img.is-empty span { font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); color: var(--muted); }
.post-card h3 { font-size: var(--fs-h4); }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card h3 + p { margin-top: var(--s-3); color: var(--muted); }
.post-card .textlink { margin-top: auto; padding-top: var(--s-5); align-self: flex-start; }

.cat-more { margin-top: var(--section); padding-top: var(--head-gap); border-top: var(--rule); }
.cat-more .split-head h2 { font-size: var(--fs-h3); }
.pager { margin-top: var(--head-gap); }
.pager ul { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pager a {
  display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px;
  border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--hairline); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: var(--fs-ui); color: var(--ink);
  transition: background-color .15s, color .15s;
}
.pager a:hover { background: var(--mist); }
.pager a[aria-current="page"] { background: var(--navy); color: var(--white); box-shadow: none; }
.pager__next { padding-inline: 20px; }
.cat-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-5) var(--col-gap);
  padding: clamp(32px, 4vw, 56px); background: var(--navy); color: var(--white); border-radius: var(--r);
}
.cat-cta.has-corner { --corner: clamp(44px, 5vw, 72px); }
.cat-cta .eyebrow { color: #a9cf7e; }
.cat-cta .btn { background: var(--white); color: var(--navy); }
.cat-cta .btn:hover { background: #e9eef5; }
.cat-cta :focus-visible { outline-color: var(--white); }
.cat-cta h2 { font-size: var(--fs-h3); line-height: 1.22; max-width: 22em; }
.cat-cta p:not(.eyebrow) { margin-top: var(--s-3); max-width: 36em; color: var(--on-dark-muted); }

@media (max-width: 960px) {
  .feature, .post-list, .cat-cta { grid-template-columns: minmax(0, 1fr); }
  .post-list { gap: var(--s-6); }
  .cat-cta .btn { justify-self: start; }
}
@media (max-width: 720px) {
  [data-page-type="blog_category"] body { padding-bottom: 0; }
  /* Morzsamenü mobilon: egy sor, oldalra görgethető, a képernyő széléig kifut; a cikk címe teljes hosszában */
  .crumbs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
  .crumbs ol { flex-wrap: nowrap; width: max-content; white-space: nowrap; }
  .crumbs li:last-child { max-width: none; overflow: visible; padding-right: var(--gutter); }
  .topics a { padding-inline: 14px; }
}

/* Blog: cikkoldal. Fejsáv (morzsamenü, téma, cím, bevezető, szerző és dátum), széles kép,
   alatta a szöveg és mellette ragadós ajánlatkérő kártya; a végén szerző, kapcsolódó cikkek, panel. */
.article-head { background: var(--hero); padding-block: clamp(24px, 3vw, 36px) clamp(120px, 14vw, 200px); }
.article-head h1 { max-width: 20em; font-size: var(--fs-h2); }
.article-head .lead { max-width: 40em; color: var(--muted); }
.article-head .eyebrow a { text-decoration: none; }
.article-head .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); font-family: var(--display); font-weight: 600; font-size: var(--fs-s); color: var(--muted); }
.article-meta strong { color: var(--ink); font-weight: 700; }
.article-meta li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: var(--s-5); vertical-align: middle; background: var(--moss); }
.article-hero { margin-top: calc(clamp(120px, 14vw, 200px) * -1 + var(--s-7)); }
.article-hero img, .article-hero .post-card__img { width: 100%; max-width: 1080px; }
.article-hero img { height: auto; border-radius: var(--r); box-shadow: 0 0 0 1px var(--hairline), 0 18px 40px rgba(6, 23, 46, .1); }
.article-hero .post-card__img { margin-bottom: 0; background: linear-gradient(160deg, #d9e0e9, #c6d0dc); }

.article-body { display: grid; grid-template-columns: minmax(0, 46em) minmax(0, 340px); justify-content: space-between; gap: var(--s-7) var(--col-gap); }
.article .prose > * + * { margin-top: var(--s-4); }
.article .prose h2 { margin-top: var(--s-7); font-size: var(--fs-h3); }
.article .prose h3 { margin-top: var(--s-6); font-size: var(--fs-h4); }
.article .prose ul, .article .prose ol { padding-left: 0; }
.article .prose ul li, .article .prose ol li { position: relative; padding-left: 28px; }
.article .prose ul li + li, .article .prose ol li + li { margin-top: var(--s-2); }
.article .prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; background: var(--moss); }
.article .prose ol { counter-reset: n; }
.article .prose ol li { counter-increment: n; }
.article .prose ol li::before { content: counter(n) "."; position: absolute; left: 0; font-family: var(--display); font-weight: 800; color: var(--moss-deep); }
.summary { padding: var(--s-5) var(--s-6); background: var(--mist); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--hairline); }
.article .prose .summary { margin-top: 0; }
.summary h2 { margin: 0 0 var(--s-3); font-size: .9375rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--moss-deep); }
.article .prose .summary h2 { margin-top: 0; font-size: .9375rem; }
.example { padding: var(--s-5) var(--s-6); border-left: 4px solid var(--moss); background: var(--white); box-shadow: inset 0 0 0 1px var(--hairline); border-radius: 0 var(--r) var(--r) 0; }
.example strong:first-child { display: block; margin-bottom: var(--s-2); font-family: var(--display); }
.article .prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); line-height: 1.5; }
.article .prose th, .article .prose td { padding: var(--s-3) var(--s-4) var(--s-3) 0; text-align: left; vertical-align: top; border-bottom: var(--rule); }
.article .prose th { font-family: var(--display); font-weight: 700; color: var(--muted); border-bottom-color: var(--line); }
.note { margin-top: var(--s-7) !important; padding-top: var(--s-5); border-top: var(--rule); font-size: var(--fs-s); color: var(--muted); }

.article-aside { position: sticky; top: 112px; align-self: start; }
.aside-card { padding: var(--s-6); background: var(--navy); color: var(--white); border-radius: var(--r); }
.aside-card.has-corner { --corner: 44px; }
.aside-card h2 { font-size: var(--fs-h4); }
.aside-card p:not(.eyebrow) { margin-top: var(--s-3); color: var(--on-dark-muted); font-size: var(--fs-s); line-height: 1.55; }
.aside-card .eyebrow { color: #a9cf7e; }
.aside-card .btn { margin-top: var(--s-5); width: 100%; background: var(--white); color: var(--navy); }
.aside-card .btn:hover { background: #e9eef5; }
.aside-card :focus-visible { outline-color: var(--white); }

.author { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-5); align-items: start; max-width: 46em; margin-top: var(--s-8); padding-top: var(--s-6); border-top: var(--rule); }
.author__mark { display: grid; place-items: center; width: 64px; aspect-ratio: 1; background: var(--navy); color: var(--white); border-radius: var(--r-s); font-family: var(--display); font-weight: 800; font-size: 1.25rem; position: relative; }
.author__mark::after { content: ""; position: absolute; top: -6px; right: -6px; width: 16px; aspect-ratio: 1; background: var(--moss); }
.author .eyebrow { margin-bottom: var(--s-1); }
.author h2 { font-size: var(--fs-h4); }
.author p:not(.eyebrow) { margin-top: var(--s-2); color: var(--muted); }

@media (max-width: 960px) {
  .article-body { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; max-width: 560px; }
}
@media (max-width: 720px) {
  [data-page-type="blog_article"] body, [data-page-type="blog_index"] body { padding-bottom: 0; }
  .summary, .example { padding: var(--s-5); }
  .article-meta li + li::before { margin-right: var(--s-3); }
  .author { grid-template-columns: minmax(0, 1fr); }
}

/* Süti-sáv (main.js építi fel; csak ha <html data-consent="1">) */
.consent {
  position: fixed; z-index: 60; right: var(--s-5); bottom: var(--s-5);
  width: min(440px, calc(100vw - 2 * var(--s-5)));
  padding: var(--s-5); background: var(--white); color: var(--ink);
  border: var(--rule); border-radius: var(--r); box-shadow: var(--shadow);
  font-size: var(--fs-s);
}
.consent__title { font-family: var(--display); font-weight: 800; font-size: var(--fs-ui); margin: 0 0 var(--s-2); }
.consent__text { margin: 0 0 var(--s-4); color: var(--muted); }
.consent__text a { color: var(--ink); }
.consent__options { display: grid; gap: var(--s-2); margin: 0 0 var(--s-4); }
.consent__opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2); align-items: start; cursor: pointer; }
.consent__opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cta); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.consent__actions .btn { flex: 1 1 auto; }
@media (max-width: 720px) {
  .consent { right: var(--s-3); left: var(--s-3); bottom: var(--s-3); width: auto; }
  .consent__actions .btn { width: 100%; }
}

/* Ügyfélportál-szakasz: alkalmazásablak mintaadatokkal (HTML, nyelvenként; a MI-képek helyett) */
.win { overflow: hidden; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--hairline), 0 18px 40px rgba(6, 23, 46, .1); font-family: var(--display); font-size: var(--fs-ui); line-height: 1.35; font-variant-numeric: tabular-nums; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); color: var(--on-dark-muted); font-size: .8125rem; font-weight: 700; }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.win__bar span { margin-left: 8px; }
.win__body { display: block; padding: var(--s-5); }
.win__title { font-weight: 800; font-size: 1.0625rem; }
.win__sub { margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.win__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-3); }
.win__chips span { padding: 4px 10px; border: var(--rule); border-radius: 6px; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.win__chips span b { color: var(--ink); }
.win__sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-4); }
.win__sum > div { padding: 10px 12px; border-radius: var(--r-s); background: var(--mist); }
.win__sum dt { font-size: .75rem; font-weight: 700; color: var(--muted); }
.win__sum dd { font-weight: 800; font-size: 1rem; }
.win__sum .is-total { background: #e3eed6; }
.win__sum .is-total dd { color: var(--moss-deep); }
.win__rows { margin-top: var(--s-3); }
.win__rows li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding-block: 9px; border-top: var(--rule); }
.win__rows small { display: block; font-size: .75rem; color: var(--muted); }
.win__rows strong { font-weight: 800; white-space: nowrap; }
.win__dir { font-weight: 900; text-align: center; }
.win__dir.is-out { color: var(--moss-deep); }
.win__dir.is-in { color: var(--navy); }
.win__tag { padding: 3px 8px; border-radius: 6px; background: #e3eed6; color: var(--moss-deep); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.win__tag.is-wait { background: var(--mist); color: var(--muted); }
.win__drop { display: grid; justify-items: center; gap: 6px; margin-top: var(--s-4); padding: var(--s-5) var(--s-4); border: 2px dashed var(--hairline); border-radius: var(--r-s); text-align: center; color: var(--muted); font-size: .875rem; }
.win__drop svg { width: 30px; height: 30px; color: var(--moss-deep); }
.win__drop b { color: var(--ink); font-size: 1rem; }
.win__btn { margin-top: 4px; padding: 7px 14px; border-radius: var(--r-s); background: var(--cta); color: var(--white); font-weight: 700; }
.win__delta { margin-left: 6px; font-size: .75rem; font-weight: 800; color: var(--moss-deep); }
.win__delta.is-down { color: #a33a2b; }
.win__label { margin-top: var(--s-5); font-size: .8125rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 520px) { .win__sum { grid-template-columns: 1fr 1fr; } .win__sum .is-total { grid-column: span 2; } }
