:root {
  --bg:        #f4f1ea;
  --bg-tint:   #efeae0;
  --surface:   #ffffff;
  --surface-2: #faf8f3;
  --line:      #e2dccf;
  --line-soft: #ece7db;

  --ink:       #0c1f26;
  --ink-2:     #33474e;
  --ink-3:     #6a7a80;
  --ink-faint: #9aa6aa;

  --navy:      #0f2d5e;
  --navy-700:  #0a2147;
  --navy-50:   #e7ecf3;
  --slate:     #94a3b8;
  --slate-ink: #475569;
  --slate-50:  #eef1f5;
  --amber:     #f59e0b;
  --amber-ink: #b45309;
  --amber-50:  #fdf3e4;

  --good:      #2f7d5b;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1180px;
  --gap:   clamp(1rem, 2.4vw, 1.6rem);
  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:24px;

  --sh-1: 0 1px 2px rgba(12,31,38,.05), 0 1px 1px rgba(12,31,38,.04);
  --sh-2: 0 4px 14px rgba(12,31,38,.06), 0 2px 5px rgba(12,31,38,.05);
  --sh-3: 0 18px 40px -16px rgba(12,31,38,.22), 0 6px 14px -8px rgba(12,31,38,.12);

  --ring: 0 0 0 3px var(--navy-50), 0 0 0 1.5px var(--navy);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";

  background-image:
    radial-gradient(60rem 40rem at 82% -10%, rgba(15,45,94,.06), transparent 60%),
    radial-gradient(50rem 36rem at -10% 8%, rgba(148,163,184,.05), transparent 55%);
  background-attachment: fixed;
}

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

[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

svg { width: 1.15em; height: 1.15em; stroke-width: 1.7; flex: none; }

.shell { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1rem;
  border-radius: 0 0 10px 10px; box-shadow: var(--sh-2);
}
.skip-link:focus { top: 0; }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,241,234,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(150deg, var(--navy), var(--navy-700));
  color: #fff; box-shadow: var(--sh-2);
}
.brand__mark svg { width: 22px; height: 22px; stroke-width: 2; }
.brand__mark--sm { width: 34px; height: 34px; border-radius: 10px; }
.brand__mark--sm svg { width: 18px; height: 18px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.brand__sub  { font-size: .76rem; color: var(--ink-3); letter-spacing: .01em; }

.mainnav { display: flex; align-items: center; gap: .35rem; }
.mainnav a {
  padding: .5rem .8rem; border-radius: 9px; font-size: .92rem; font-weight: 500;
  color: var(--ink-2); transition: background .18s ease, color .18s ease;
}
.mainnav a:hover { background: var(--bg-tint); color: var(--ink); }
.mainnav a[aria-current="page"] { color: var(--navy-700); }
.mainnav__cta {
  background: var(--ink); color: #fff !important; margin-left: .35rem;
}
.mainnav__cta:hover { background: var(--navy-700); }
/* ── Hamburger toggle (hidden on desktop) ───────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; padding: 0; flex: none;
  transition: background .15s, border-color .15s;
}
.nav-toggle:hover { background: var(--bg-tint); border-color: var(--ink-faint); }
.nav-toggle__bar {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .brand__sub { display: none; }

  /* Header: rögzített magasság, NEM törik sorba */
  .masthead__inner { min-height: 60px; max-height: 60px; overflow: visible; }

  /* Hamburger gomb: jobb oldal */
  .nav-toggle { display: flex; margin-left: auto; }

  /* Dropdown: FIXED pozíció a header alatt, NEM a flex containerben van */
  .mainnav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    z-index: 999;
    display: none;
    flex-direction: column; gap: 0;
    background: var(--surface);
    border-top: 2px solid var(--navy);
    box-shadow: 0 12px 28px -8px rgba(12,31,38,.22);
    padding: .4rem 1.4rem .75rem;
  }
  .mainnav.is-open { display: flex; }

  .mainnav a {
    padding: .9rem 0;
    border-radius: 0;
    font-size: 1rem; font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
    background: transparent !important;
  }
  .mainnav a:last-child { border-bottom: 0; }
  .mainnav a:hover { color: var(--navy-700); }

  .mainnav__cta {
    display: flex; justify-content: center;
    margin: .5rem 0 0;
    background: var(--navy) !important; color: #fff !important;
    border-radius: 10px; padding: .8rem 1rem;
    border-bottom: 0 !important;
  }
  .mainnav__cta:hover { background: var(--navy-700) !important; }
}

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.25rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: .96rem; letter-spacing: -.005em;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--sh-3); transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: var(--ink-faint); box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--navy-700); box-shadow: var(--sh-2); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--sh-3); }
.btn--reset {
  background: transparent; color: var(--ink-2); border-color: var(--line);
  width: 100%; justify-content: center; padding: .7rem 1rem; font-weight: 500;
}
.btn--reset:hover { background: var(--surface); border-color: var(--ink-faint); color: var(--ink); }

.hero { position: relative; overflow: clip; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(40rem 26rem at 78% 12%, rgba(15,45,94,.10), transparent 60%),
    radial-gradient(34rem 22rem at 6% 92%, rgba(148,163,184,.08), transparent 60%);
}

.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(12,31,38,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,31,38,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(60rem 40rem at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60rem 40rem at 50% 0%, #000, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(1.5rem, 5vw, 4rem);
}
.hero__copy { max-width: 40rem; }
.hero__media { position: relative; }

.hero-frame {
  position: relative; width: 100%; max-width: 460px; margin-inline: auto;
  border-radius: var(--radius-lg);
}
.hero-frame__img {
  display: block; width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: 0 26px 50px -24px rgba(15,45,94,.42), var(--sh-2);
}

.hero-frame__ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-frame__ring rect { fill: none; vector-effect: non-scaling-stroke; }
.hero-frame__ringbase { stroke: rgba(15,45,94,.14); stroke-width: 1.5; }
.hero-frame__ringdash { stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 3 7; opacity: .55; }

.hero-frame__line {
  position: absolute; width: 24px; height: 24px; pointer-events: none;
  border: 2px solid var(--navy); opacity: .85;
}
/* small official medallion */
.hero-frame__seal {
  position: absolute; left: -16px; bottom: 26px; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--sh-3); color: var(--navy);
}
.hero-frame__seal svg { width: 26px; height: 26px; stroke-width: 2; }

@media (prefers-reduced-motion: no-preference) {
  .hero-frame__ringdash { animation: frameSeal 22s linear infinite; }
  .hero-frame__line { animation: frameCorner 5s ease-in-out infinite; }
  .hero-frame__line--tr { animation-delay: .5s; }
  .hero-frame__line--bl { animation-delay: 1s; }
  .hero-frame__line--br { animation-delay: 1.5s; }
  .hero-frame__seal { animation: frameFloat 7s ease-in-out infinite; }
}
@keyframes frameSeal   { to { stroke-dashoffset: -100; } }
@keyframes frameCorner { 0%,100% { opacity: .4; } 50% { opacity: .95; } }
@keyframes frameFloat  { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero-frame { max-width: 420px; margin-top: .5rem; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--navy-700); background: var(--navy-50);
  padding: .4rem .8rem; border-radius: 999px; border: 1px solid rgba(15,45,94,.16);
}
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(15,45,94,.16); }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em;
  margin-top: 1.1rem; max-width: 18ch; color: var(--ink);
}
.hero__title em { font-style: italic; color: var(--navy-700); font-weight: 500; }
.hero__lead {
  margin-top: 1.1rem; font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-2); max-width: 46ch; line-height: 1.6;
}
.hero__actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__stats {
  margin-top: 2.6rem; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(.6rem, 1.6vw, 1.4rem); max-width: 40rem;
}
.hero__stats > div {
  padding: 1rem 1.1rem; background: rgba(255,255,255,.6);
  border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(4px);
}
.hero__stats dt { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1; color: var(--navy-700); }
.hero__stats dd { margin-top: .3rem; font-size: .8rem; color: var(--ink-3); letter-spacing: .01em; }
@media (max-width: 620px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__title, .hero__lead, .hero__actions, .hero__stats, .hero__media {
    opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards;
  }
  .hero__title   { animation-delay: .06s; }
  .hero__lead    { animation-delay: .14s; }
  .hero__actions { animation-delay: .22s; }
  .hero__stats   { animation-delay: .30s; }
  .hero__media   { animation-delay: .18s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--navy); border-radius: var(--radius);
  padding: 1.2rem 1.35rem; box-shadow: var(--sh-1); margin-top: .5rem;
}
.notice__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 10px; background: var(--navy-50); color: var(--navy-700); }
.notice__icon svg { width: 20px; height: 20px; }
.notice__body p { color: var(--ink-2); font-size: .95rem; }
.notice__body p + p { margin-top: .55rem; }
.notice__body strong { color: var(--ink); }

.finder, .listing, .info { padding-top: clamp(2.6rem, 5vw, 3.8rem); }
.section-head { margin-bottom: 1.6rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.015em; }
.section-head__sub { color: var(--ink-3); margin-top: .35rem; font-size: .98rem; }

.finder__grid { display: grid; grid-template-columns: 300px 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 900px) { .finder__grid { grid-template-columns: 1fr; } }

.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; box-shadow: var(--sh-2); position: sticky; top: 86px;
  display: flex; flex-direction: column; gap: .8rem;
  max-height: calc(100vh - 110px); overflow-y: auto; overflow-x: hidden;
}
@media (max-width: 900px) { .filters { position: static; max-height: none; } }

.filters__field { border: 0; padding: 0; min-width: 0; }
.filters__label {
  display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem;
}
.filters__icon { color: var(--navy); width: 1em; height: 1em; }

.input {
  width: 100%; background: var(--surface-2); border: 1.5px solid var(--line);
  border-radius: 11px; padding: .7rem .85rem; font-size: .95rem; color: var(--ink);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.input::placeholder { color: var(--ink-faint); }
.input:hover { border-color: var(--ink-faint); }
.input:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-50); }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer; }
.select-wrap__chev { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; width: 1.05em; height: 1.05em; }

.checkset { display: flex; flex-direction: column; gap: .15rem; }
.checkitem {
  display: flex; align-items: center; gap: .5rem; padding: .38rem .45rem;
  border-radius: 8px; cursor: pointer; transition: background .14s ease;
  font-size: .86rem; color: var(--ink-2);
}
.checkitem:hover { background: var(--surface-2); }
.checkitem input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkitem__box {
  display: grid; place-items: center; width: 20px; height: 20px; flex: none;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff;
  transition: background .14s ease, border-color .14s ease;
}
.checkitem__tick { width: 14px; height: 14px; color: #fff; stroke-width: 2.6; opacity: 0; transform: scale(.6); transition: opacity .14s ease, transform .14s ease; }
.checkitem input:checked ~ .checkitem__box { background: var(--navy); border-color: var(--navy); }
.checkitem input:checked ~ .checkitem__box .checkitem__tick { opacity: 1; transform: none; }
.checkitem input:focus-visible ~ .checkitem__box { box-shadow: var(--ring); }
.checkitem__icon { color: var(--ink-3); }
.checkitem__icon svg { width: 1.05em; height: 1.05em; }
.checkitem__text { line-height: 1.25; }

.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(0,0,0,.04) inset; }
.dot--endomedix { background: var(--navy); }
.dot--public    { background: var(--slate); }
.dot--private   { background: var(--amber); }

.map-panel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-2); background: var(--surface);
}
.map { position: relative; z-index: 0; isolation: isolate; width: 100%; height: clamp(460px, 68vh, 720px); background: #e9eef0; }
@media (max-width: 900px) { .map { height: 440px; } }

.legend {
  position: absolute; left: 14px; bottom: 14px; z-index: 500;
  display: flex; flex-wrap: wrap; gap: .35rem .9rem;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  border-radius: 12px; padding: .6rem .85rem; box-shadow: var(--sh-2);
  font-size: .8rem; color: var(--ink-2); max-width: calc(100% - 28px);
}
.legend__item { display: inline-flex; align-items: center; gap: .45rem; }

.gk-pin {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(12,31,38,.35);
  display: grid; place-items: center;
}
.gk-pin--endomedix {
  background: var(--navy);
  box-shadow: 0 3px 12px rgba(15,45,94,.5);
}
.gk-pin--public    { background: var(--slate); }
.gk-pin--private   { background: var(--amber); }

.gk-pin__e {
  color: #fff; font-family: var(--sans); font-weight: 800;
  font-size: 13px; line-height: 1; letter-spacing: .02em; user-select: none;
  transform: translateY(-.5px);
}
.gk-pin:hover { filter: brightness(1.06); }

.leaflet-popup-content-wrapper { border-radius: 14px !important; box-shadow: var(--sh-3) !important; border: 1px solid var(--line); }
.leaflet-popup-content { margin: 0 !important; }
.leaflet-popup-tip { box-shadow: var(--sh-2); }
.gk-pop { font-family: var(--sans); padding: .95rem 1rem .9rem; width: 244px; }
.gk-pop__type {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 999px; margin-bottom: .5rem;
}
.gk-pop__type .dot { width: 8px; height: 8px; }
.gk-pop__type--endomedix { background: var(--navy-50); color: var(--navy-700); }
.gk-pop__type--public    { background: var(--slate-50); color: var(--slate-ink); }
.gk-pop__type--private   { background: var(--amber-50); color: var(--amber-ink); }
.gk-pop__title { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; line-height: 1.2; color: var(--ink); margin-bottom: .3rem; }
.gk-pop__loc { font-size: .84rem; color: var(--ink-3); margin-bottom: .6rem; }
.gk-pop__svc { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .7rem; }
.gk-pop__svc span { font-size: .72rem; background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--ink-2); padding: .15rem .45rem; border-radius: 6px; }
.gk-pop__link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .86rem; color: var(--navy-700) !important; }
.gk-pop__link svg { width: 1em; height: 1em; }
.gk-pop__link:hover { gap: .5rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.05rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.15rem; box-shadow: var(--sh-1);
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--line); transition: background .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line-soft); }
.card--endomedix::before, .card[data-type="endomedix"]::before { background: var(--navy); }
.card[data-type="public"]::before { background: var(--slate); }
.card[data-type="private"]::before { background: var(--amber); }

.card__head { margin-bottom: .7rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
}
.badge__i { width: 1.05em; height: 1.05em; }
.badge--endomedix { background: var(--navy-50); color: var(--navy-700); }
.badge--public    { background: var(--slate-50); color: var(--slate-ink); }
.badge--private   { background: var(--amber-50); color: var(--amber-ink); }

.card__title { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1.22; letter-spacing: -.01em; color: var(--ink); }
.card__loc { display: flex; align-items: flex-start; gap: .4rem; margin-top: .5rem; color: var(--ink-3); font-size: .88rem; }
.card__pin { color: var(--ink-faint); width: 1.05em; height: 1.05em; margin-top: .08em; }

.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.chip {
  display: inline-flex; align-items: center; gap: .32rem;
  font-size: .76rem; color: var(--ink-2); background: var(--surface-2);
  border: 1px solid var(--line-soft); padding: .28rem .55rem; border-radius: 8px;
}
.chip__i { width: 1em; height: 1em; color: var(--navy); }

.card__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .88rem; color: var(--navy-700); }
.card__arrow { transition: transform .16s ease; width: 1.05em; height: 1.05em; }
.card:hover .card__arrow { transform: translateX(4px); }

.cards__empty {
  text-align: center; color: var(--ink-3); padding: 3rem 1rem;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius);
}

.info__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--sh-1); transition: box-shadow .2s ease, transform .16s ease;
}
.info-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.info-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy-50); color: var(--navy-700); margin-bottom: .85rem; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: .4rem; }
.info-card p { color: var(--ink-2); font-size: .9rem; line-height: 1.55; }

.cta-band { margin-top: clamp(3rem, 6vw, 4.5rem); background: linear-gradient(150deg, var(--navy), var(--navy-700)); color: #fff; }
.cta-band__inner { padding: clamp(2.2rem, 4vw, 3rem) 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.015em; }
.cta-band p { margin-top: .5rem; color: rgba(255,255,255,.86); max-width: 52ch; }

.footer { margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--ink); color: #c7d0d3; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 2rem; padding: clamp(2.4rem, 5vw, 3.4rem) 0 2rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.footer__brand { display: flex; gap: .85rem; align-items: flex-start; }
.footer__brand .brand__mark { box-shadow: none; }
.footer__lead { font-size: .92rem; color: #aab6ba; line-height: 1.55; }
.footer__col h3 { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: #fff; margin-bottom: .85rem; }
.footer__col a { display: block; color: #aeb9bc; font-size: .92rem; padding: .22rem 0; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__col p { font-size: .9rem; color: #97a3a7; margin-bottom: .6rem; }
.footer__mail { display: inline-flex; align-items: center; gap: .45rem; color: #fff !important; font-weight: 500; word-break: break-all; }
.footer__mail svg { width: 1.05em; height: 1.05em; color: var(--navy); }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; }
.footer__bar p { font-size: .82rem; color: #8a979b; }
.footer__bar strong { color: #cdd6d8; font-weight: 600; }
.footer__op { white-space: nowrap; }

.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: .86rem; color: var(--ink-3); padding: 1.4rem 0 0; }
.crumbs a { color: var(--ink-2); transition: color .15s ease; }
.crumbs a:hover { color: var(--navy-700); }
.crumbs__sep { color: var(--ink-faint); }
.crumbs__current { color: var(--ink); font-weight: 500; }

.profile { padding-top: 1.4rem; }
.profile__head { padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; }
.profile__badge { margin-bottom: .9rem; }
.profile__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em; max-width: 22ch; }
.profile__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .9rem; color: var(--ink-3); font-size: .95rem; }
.profile__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.profile__meta svg { color: var(--ink-faint); width: 1.05em; height: 1.05em; }

.profile-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
@media (max-width: 920px) { .profile-grid { grid-template-columns: 1fr; } }

.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; margin: 2rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin-bottom: .9rem; }

.svc-list { display: flex; flex-direction: column; gap: .7rem; margin-top: .4rem; }
.svc-item { display: flex; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .95rem 1.05rem; box-shadow: var(--sh-1); }
.svc-item__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--navy-50); color: var(--navy-700); }
.svc-item__icon svg { width: 20px; height: 20px; }
.svc-item h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .15rem; }
.svc-item p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

.facts { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-2); overflow: hidden; }
@media (max-width: 920px) { .facts { position: static; } }
.facts__map { position: relative; z-index: 0; isolation: isolate; width: 100%; height: 220px; background: #e9eef0; }
.facts__body { padding: 1.25rem 1.35rem 1.4rem; }
.facts__row { display: flex; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
.facts__row:last-of-type { border-bottom: 0; }
.facts__ico { color: var(--navy); margin-top: .15rem; width: 1.15em; height: 1.15em; flex: none; }
.facts__label { font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .15rem; }
.facts__value { font-size: .95rem; color: var(--ink); word-break: break-word; }
.facts__value a { color: var(--navy-700); font-weight: 500; }
.facts__value a:hover { text-decoration: underline; }
.facts__approx { font-size: .78rem; color: var(--ink-faint); margin-top: .2rem; }
.facts__cta { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.35rem; background: var(--surface-2); border-top: 1px solid var(--line); }
.facts__cta .btn { width: 100%; justify-content: center; }
.facts__cta-note { font-size: .76rem; color: var(--ink-faint); text-align: center; }

.facts__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }

.nearby { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.nearby__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; margin-top: 1.2rem; }
.ncard { position: relative; display: flex; flex-direction: column; gap: .35rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; box-shadow: var(--sh-1);
  transition: transform .15s ease, box-shadow .18s ease; }
.ncard:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

/* FAQ – adatlap gyakori kérdések */
.faq { display: flex; flex-direction: column; gap: .5rem; margin-top: .4rem; }
.faq__item {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq__q {
  cursor: pointer; list-style: none; padding: .85rem 1.1rem;
  font-weight: 600; font-size: .96rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--navy);
  flex: none; transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.1rem 1rem; color: var(--ink-2); font-size: .92rem; line-height: 1.6; margin: 0; }

/* Endomedix közeli kártya – mindig kiemelve */
.ncard--endomedix {
  border-color: var(--navy);
  border-left: 4px solid var(--navy);
  background: linear-gradient(135deg, var(--navy-50) 0%, var(--surface) 70%);
  box-shadow: var(--sh-2);
  order: -1;
}
.ncard--endomedix:hover { box-shadow: var(--sh-3); }
.ncard--endomedix .ncard__type { color: var(--navy-700); }
.ncard__star {
  display: inline-flex; align-items: center; gap: .25rem; margin-left: auto;
  font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--navy); padding: .16rem .5rem; border-radius: 999px;
}
.ncard__star svg { width: .9em; height: .9em; }

.ncard__top { display: flex; align-items: center; gap: .5rem; }
.ncard__type { font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.ncard__name { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; line-height: 1.2; color: var(--ink); }
.ncard__meta { font-size: .82rem; color: var(--ink-3); }
.ncard__dist { font-size: .8rem; color: var(--navy-700); font-weight: 600; margin-top: .15rem;display: flex;flex-direction: row;align-items: center; }

.backlink { display: inline-flex; align-items: center; gap: .45rem; margin-top: 2.4rem; color: var(--navy-700); font-weight: 600; }
.backlink svg { transition: transform .15s ease; }
.backlink:hover svg { transform: translateX(-3px); }

.profile-note { display: flex; gap: .9rem; align-items: flex-start; margin-top: 2rem; padding: 1.1rem 1.25rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.profile-note svg { color: var(--ink-3); flex: none; margin-top: .15rem; }
.profile-note p { font-size: .88rem; color: var(--ink-2); }

.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 1rem; }
.notfound__code { font-family: var(--serif); font-weight: 600; font-size: clamp(4rem, 14vw, 7rem); color: var(--navy-700); line-height: 1; }
.notfound h1 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin: .6rem 0 .6rem; }
.notfound p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 1.6rem; }

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

/* ── Vizsgálatválasztó promó szekció (főoldal) ───────────────────────── */

.wz-promo-band {
  margin-top: clamp(2rem, 3.5vw, 2.8rem);
  background: linear-gradient(150deg, var(--navy) 0%, #0a2147 100%);
  color: #fff; overflow: clip;
  position: relative;
}
.wz-promo-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80rem 50rem at 50% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(80rem 50rem at 50% 50%, #000, transparent 70%);
}
.wz-promo-band__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.6rem, 5vw, 3.8rem) 0;
}
@media (max-width: 860px) { .wz-promo-band__inner { grid-template-columns: 1fr; } }
.wz-promo-band__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: .9rem;
}
.wz-promo-band__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em;
  color: #fff; margin-bottom: .9rem; max-width: 22ch;
}
.wz-promo-band__lead {
  font-size: clamp(.92rem, 1.4vw, 1.05rem); color: rgba(255,255,255,.78);
  line-height: 1.65; max-width: 46ch; margin-bottom: 1.6rem;
}
.wz-promo-band__features {
  display: flex; flex-direction: column; gap: 1.1rem;
}
.wz-promo-feat {
  display: flex; gap: 1rem; align-items: flex-start;
}
.wz-promo-feat__icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 12px; background: rgba(255,255,255,.12);
  color: #fff;
}
.wz-promo-feat__icon svg { width: 20px; height: 20px; }
.wz-promo-feat strong { display: block; font-size: .97rem; font-weight: 600; color: #fff; margin-bottom: .22rem; }
.wz-promo-feat p { font-size: .86rem; color: rgba(255,255,255,.68); line-height: 1.55; margin: 0; }

/* ── Service checkboxok a szűrőpanelben – egy oszlop, felül igazítva ─── */
#serviceFilters.checkset {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
#serviceFilters .checkitem {
  align-items: flex-start;
  font-size: .82rem;
  padding: .34rem .4rem;
}
#serviceFilters .checkitem__box,
#serviceFilters .checkitem__icon { margin-top: .12em; }
#serviceFilters .checkitem__text { line-height: 1.3; }

/* ── Globális mobil fix-ek ──────────────────────────────────────────── */
@media (max-width: 680px) {
  /* Result card CTA: stack buttons vertically */
  .rcard__cta { flex-direction: column; }
  .rcard__cta .btn { width: 100%; justify-content: center; }

  /* Sedation toggle: allow wrap */
  .wz-toggle-group { flex-wrap: wrap; border-radius: 12px; }
  .wz-toggle-btn { flex: 1; min-width: 0; font-size: .82rem; padding: .55rem .6rem; text-align: center; }

  /* Wizard panel: tighter padding */
  .wz-panel { padding: 1.1rem .9rem; }

  /* Wizard option grid: single column on very narrow */
  .wz-option-grid { grid-template-columns: 1fr; }

  /* Hero stats: 2 col */
  .hero__stats { grid-template-columns: repeat(2, 1fr); }

  /* Progress step labels hidden (numbers only) */
  .wz-step-dot__label { display: none; }
}

@media (max-width: 480px) {
  /* Result card pathway: wrap steps */
  .rcard__pathway { flex-wrap: wrap; }

  /* Promo band: tighter */
  .wz-promo-band__title { font-size: 1.4rem; }

  /* History check items: full width */
  .wz-contra-item { font-size: .82rem; padding: .35rem .55rem; }
}

/* ── Vizsgálatválasztó varázsló ───────────────────────────────────────── */

.wz-hero { padding: clamp(2.4rem,5vw,3.6rem) 0 clamp(1.8rem,3vw,2.4rem); }
.wz-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--navy-700); background: var(--navy-50);
  padding: .4rem .8rem; border-radius: 999px; border: 1px solid rgba(15,45,94,.16);
  margin-bottom: 1rem;
}
.wz-hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem,4.4vw,2.8rem); line-height: 1.1; letter-spacing: -.02em;
  max-width: 24ch; color: var(--ink);
}
.wz-hero__lead { margin-top: .85rem; font-size: 1.05rem; color: var(--ink-2); max-width: 54ch; }

.wz-wrap { max-width: 780px; margin-inline: auto; padding-bottom: clamp(3rem,7vw,5rem); }

/* Progress dots */
.wz-progress { margin-bottom: 2rem; }
.wz-step-dots { display: flex; align-items: center; gap: 0; }
.wz-step-dot {
  display: flex; align-items: center; gap: .55rem; cursor: default;
  font-size: .82rem; font-weight: 600; color: var(--ink-faint);
}
.wz-step-dot__num {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); background: var(--surface); transition: all .2s ease;
  font-size: .78rem; font-weight: 700;
}
.wz-step-dot__label { display: none; }
@media (min-width: 480px) { .wz-step-dot__label { display: block; } }
.wz-step-dot--active .wz-step-dot__num { border-color: var(--navy); background: var(--navy); color: #fff; }
.wz-step-dot--active { color: var(--ink); }
.wz-step-dot--done .wz-step-dot__num { border-color: var(--good); background: var(--good); color: #fff; }
.wz-step-dot--done { color: var(--ink-2); }
.wz-step-dot__conn {
  flex: 1; height: 2px; background: var(--line); margin: 0 .5rem; min-width: 20px; max-width: 60px;
  transition: background .3s ease;
}
.wz-step-dot--done + .wz-step-dot__conn { background: var(--good); }

/* Step panels */
.js .wz-step { display: none; }
.js .wz-step.is-active { display: block; animation: rise .3s cubic-bezier(.2,.7,.3,1) forwards; }

.wz-step__head { margin-bottom: 1.6rem; }
.wz-step__num {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: .35rem;
}
.wz-step__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem,2.6vw,1.7rem); letter-spacing: -.015em; }
.wz-step__sub { margin-top: .4rem; color: var(--ink-2); font-size: .95rem; }

/* Option buttons (single/multi select) */
.wz-option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .65rem; }
.wz-option-grid--wide { grid-template-columns: 1fr; }
.wz-opt {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .95rem 1.1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
  text-align: left; line-height: 1.3;
}
.wz-opt:hover { border-color: var(--navy); background: var(--navy-50); }
.wz-opt.is-selected { border-color: var(--navy); background: var(--navy-50); box-shadow: 0 0 0 1px var(--navy); }
.wz-opt.is-selected .wz-opt__check { background: var(--navy); border-color: var(--navy); color: #fff; }
.wz-opt--alarm { border-color: rgba(220,38,38,.25); background: rgba(254,242,242,.6); }
.wz-opt--alarm:hover { border-color: rgba(220,38,38,.5); background: rgba(254,242,242,.9); }
.wz-opt--alarm.is-selected { border-color: #dc2626; background: rgba(254,242,242,.9); box-shadow: 0 0 0 1px #dc2626; }
.wz-opt--alarm.is-selected .wz-opt__check { background: #dc2626; border-color: #dc2626; }
.wz-opt__check {
  display: grid; place-items: center; width: 20px; height: 20px; flex: none;
  border: 1.5px solid var(--line); border-radius: 6px; background: #fff; margin-top: .05em;
  transition: background .14s, border-color .14s;
}
.wz-opt__check svg { width: 13px; height: 13px; stroke-width: 2.8; color: #fff; opacity: 0; transition: opacity .14s; }
.wz-opt.is-selected .wz-opt__check svg { opacity: 1; }
.wz-opt__body { display: flex; flex-direction: column; gap: .18rem; }
.wz-opt__label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.wz-opt__desc { font-size: .82rem; color: var(--ink-3); }
.wz-alarm-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #dc2626; background: rgba(220,38,38,.1); padding: .15rem .45rem; border-radius: 999px;
  margin-top: .2rem;
}

/* Symptom groups */
.wz-symptom-groups { display: flex; flex-direction: column; gap: 1.4rem; }
.wz-group__label {
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .6rem; display: flex; align-items: center; gap: .4rem;
}
.wz-group__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* History step */
.wz-hist { display: flex; flex-direction: column; gap: 1.2rem; }
.wz-hist-row { display: grid; grid-template-columns: 1fr; gap: .35rem; }
@media (min-width: 560px) { .wz-hist-row { grid-template-columns: 200px 1fr; align-items: center; } }
.wz-hist-label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.wz-hist-label small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-faint); margin-top: .1rem; }
.wz-check-list { display: flex; flex-direction: column; gap: .35rem; }
.wz-check-item {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .6rem; border-radius: 8px; cursor: pointer;
  font-size: .9rem; color: var(--ink-2); border: 1px solid transparent;
  transition: background .14s, border-color .14s;
}
.wz-check-item:hover { background: var(--surface-2); border-color: var(--line); }
.wz-check-item input { width: 0; height: 0; position: absolute; opacity: 0; }
.wz-check-item__box {
  display: grid; place-items: center; width: 18px; height: 18px; flex: none;
  border: 1.5px solid var(--line); border-radius: 5px; background: #fff;
  transition: background .14s, border-color .14s;
}
.wz-check-item__box svg { width: 11px; height: 11px; stroke-width: 2.8; opacity: 0; }
.wz-check-item input:checked ~ .wz-check-item__box { background: var(--navy); border-color: var(--navy); }
.wz-check-item input:checked ~ .wz-check-item__box svg { opacity: 1; color: #fff; }
.wz-contra-checks { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; }
.wz-contra-item {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .7rem; border-radius: 8px; cursor: pointer;
  font-size: .86rem; color: var(--ink-2); border: 1px solid var(--line);
  background: var(--surface); transition: all .14s;
}
.wz-contra-item input { width: 0; height: 0; position: absolute; opacity: 0; }
.wz-contra-item:has(input:checked) { border-color: #dc2626; background: rgba(254,242,242,.8); color: #dc2626; }

/* Preferences / sliders */
.wz-prefs { display: flex; flex-direction: column; gap: 1.2rem; }
.wz-slider-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .7rem; }
.wz-slider-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .35rem; }
.wz-slider-label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.wz-slider-val { font-size: .82rem; font-weight: 700; color: var(--navy-700); min-width: 2.5rem; text-align: right; }
.wz-slider-ends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .4rem 0;
  margin-top: .3rem;
}
.wz-slider-ends input[type=range] {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
}
.wz-slider-end {
  grid-row: 2;
  font-size: .72rem; color: var(--ink-faint);
  white-space: normal;
}
.wz-slider-end:not(.wz-slider-end--max) { grid-column: 1; }
.wz-slider-end--max { grid-column: 2; text-align: right; color: var(--navy-700); font-weight: 500; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 5px;
  background: var(--line); border-radius: 999px; outline: none; cursor: pointer;
  transition: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); border: 2.5px solid #fff; box-shadow: var(--sh-2);
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); border: 2.5px solid #fff; box-shadow: var(--sh-2); cursor: pointer;
}
input[type=range]::-moz-range-track {
  height: 5px; border-radius: 999px; background: var(--line);
}
input[type=range]::-moz-range-progress {
  height: 5px; border-radius: 999px; background: var(--navy);
}
.wz-toggle-group { display: flex; gap: 0; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); background: var(--surface-2); width: fit-content; }
.wz-toggle-btn {
  padding: .55rem 1rem; font-size: .88rem; font-weight: 500; color: var(--ink-2);
  background: transparent; border: none; cursor: pointer; transition: all .15s;
}
.wz-toggle-btn.is-active { background: var(--navy); color: #fff; font-weight: 600; }
.wz-toggle-btn:not(.is-active):hover { background: var(--bg-tint); color: var(--ink); }

/* Wizard navigation */
.wz-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  gap: 1rem;
}
.wz-nav--end { justify-content: flex-end; }

/* Results */
.wz-result { margin-top: .5rem; }
.wz-banner {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.5rem; border-radius: var(--radius); margin-bottom: 1.8rem;
  border: 1.5px solid;
}
.wz-banner__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none; }
.wz-banner__icon svg { width: 22px; height: 22px; }
.wz-banner__title { font-weight: 700; font-size: 1.05rem; margin-bottom: .3rem; }
.wz-banner--emergency { border-color: #dc2626; background: rgba(254,242,242,.8); }
.wz-banner--emergency .wz-banner__icon { background: rgba(220,38,38,.12); color: #dc2626; }
.wz-banner--warning { border-color: var(--amber); background: var(--amber-50); }
.wz-banner--warning .wz-banner__icon { background: rgba(245,158,11,.12); color: var(--amber-ink); }
.wz-banner--ok { border-color: var(--good); background: rgba(47,125,91,.08); }
.wz-banner--ok .wz-banner__icon { background: rgba(47,125,91,.12); color: var(--good); }

.wz-result-grid { display: flex; flex-direction: column; gap: 1rem; }

/* Result pathway card */
.rcard {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--sh-2); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.rcard:first-child { border-color: var(--navy); }
.rcard:first-child .rcard__top { background: linear-gradient(135deg, var(--navy-50) 0%, rgba(255,255,255,0) 60%); }
.rcard__top { padding: 1.2rem 1.4rem .9rem; }
.rcard__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.rcard__rank {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-700); background: var(--navy-50); padding: .22rem .6rem; border-radius: 999px;
  border: 1px solid rgba(15,45,94,.2);
}
.rcard:first-child .rcard__rank { background: var(--navy); color: #fff; border-color: var(--navy); }
.rcard__pathway { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.rcard__pstep {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .88rem; font-weight: 600; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: .3rem .7rem; border-radius: 8px;
}
.rcard__pstep svg { width: 1em; height: 1em; color: var(--navy); }
.rcard__parrow { color: var(--ink-faint); width: 1em; height: 1em; flex: none; }
.rcard__why {
  font-size: .9rem; color: var(--ink-2); line-height: 1.55;
  padding: .75rem 1rem; background: var(--surface-2);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.rcard__why strong { color: var(--ink); }
.rcard__attrs { display: flex; flex-wrap: wrap; gap: .4rem; padding: .85rem 1.4rem .55rem; }
.rattr {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; padding: .28rem .65rem; border-radius: 8px;
}
.rattr svg { width: 1em; height: 1em; }
.rattr--good   { background: rgba(47,125,91,.1);  color: var(--good); border: 1px solid rgba(47,125,91,.2); }
.rattr--navy   { background: var(--navy-50);     color: var(--navy-700); border: 1px solid rgba(15,45,94,.18); }
.rattr--neutral{ background: var(--surface-2);   color: var(--ink-2);    border: 1px solid var(--line); }
.rattr--warn   { background: var(--amber-50);    color: var(--amber-ink);border: 1px solid rgba(245,158,11,.25); }
.rcard__procon { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: .6rem 1.4rem 1rem; }
@media (max-width: 480px) { .rcard__procon { grid-template-columns: 1fr; } }
.rcard__pros, .rcard__cons { padding: .4rem 0; }
.rcard__pros { padding-right: .8rem; border-right: 1px solid var(--line-soft); }
.rcard__cons { padding-left: .8rem; }
@media (max-width: 480px) { .rcard__pros { border-right: none; border-bottom: 1px solid var(--line-soft); padding-bottom: .4rem; } .rcard__cons { padding-left: 0; } }
.rcard__pc-label { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .35rem; }
.rcard__pc-list { display: flex; flex-direction: column; gap: .28rem; }
.rcard__pc-item { display: flex; align-items: flex-start; gap: .4rem; font-size: .84rem; color: var(--ink-2); }
.rcard__pc-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; margin-top: .45em; }
.rcard__pros .rcard__pc-item::before { background: var(--good); }
.rcard__cons .rcard__pc-item::before { background: var(--amber); }
.rcard__cta {
  padding: .9rem 1.4rem 1.1rem;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}

.wz-disclaimer {
  margin-top: 1.8rem; padding: 1rem 1.25rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: .84rem; color: var(--ink-3); line-height: 1.55;
}
.wz-restart-wrap { margin-top: 1.4rem; text-align: center; }

/* Step panel */
.wz-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem,3vw,2rem);
  box-shadow: var(--sh-1);
}

/* ── Tipp-sáv a főoldalon (térkép alatt) ─────────────────────────────── */
.tip-band {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--sh-1);
}
.tip-band__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 12px; background: var(--navy-50); color: var(--navy-700);
}
.tip-band__icon svg { width: 24px; height: 24px; }
.tip-band__body { flex: 1; min-width: 0; }
.tip-band__title { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); margin-bottom: .3rem; }
.tip-band__body p { font-size: .92rem; color: var(--ink-2); line-height: 1.55; margin: 0; }
.tip-band__cta { flex: none; }
@media (max-width: 760px) {
  .tip-band { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .tip-band__cta { width: 100%; justify-content: center; }
}

/* ── Ellátóhely-választás oldal ──────────────────────────────────────── */

/* Kritérium-lista */
.crit-list { list-style: none; counter-reset: crit; display: flex; flex-direction: column; gap: 1rem; padding: 0; margin: 0; }
.crit-list > li { list-style: none; }
.crit-list > li::marker { content: ""; }
.crit {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--sh-1);
  transition: box-shadow .18s ease, border-color .18s ease, transform .16s ease;
}
.crit:hover { box-shadow: var(--sh-2); border-color: var(--line-soft); transform: translateY(-2px); }
.crit__num {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
}
.crit__main { min-width: 0; }
.crit__title {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em;
  color: var(--ink); margin-bottom: .5rem;
}
.crit__ico { display: grid; place-items: center; color: var(--navy); }
.crit__ico svg { width: 1.2em; height: 1.2em; }
.crit__body { color: var(--ink-2); font-size: .96rem; line-height: 1.6; }
.crit__body strong { color: var(--ink); }
.crit__points { display: flex; flex-direction: column; gap: .4rem; margin: .7rem 0 0; }
.crit__points li { display: flex; gap: .5rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.crit__points li strong { color: var(--ink); }
.crit__check { color: var(--good); width: 1.1em; height: 1.1em; flex: none; margin-top: .15em; }
.crit__why {
  margin-top: .9rem; padding: .7rem .9rem;
  background: var(--navy-50); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--ink-2); line-height: 1.5;
}
.crit__why-label { font-weight: 700; color: var(--navy-700); }

/* Progresszivitási létra */
.ladder { display: flex; flex-direction: column; gap: .6rem; }
.ladder__step {
  display: flex; align-items: flex-start; gap: 1.1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--sh-1);
  position: relative; border-left-width: 4px;
}
.ladder__step--1 { border-left-color: var(--slate); margin-right: clamp(0px, 8vw, 96px); }
.ladder__step--2 { border-left-color: var(--navy); margin-right: clamp(0px, 4vw, 48px); }
.ladder__step--3 { border-left-color: var(--navy-700); background: linear-gradient(135deg, var(--navy-50) 0%, rgba(255,255,255,0) 70%); }
.ladder__level {
  flex: none; font-family: var(--serif); font-weight: 600; font-size: 1rem;
  color: var(--navy-700); min-width: 64px; padding-top: .1rem;
}
.ladder__content strong { display: block; font-size: 1.02rem; color: var(--ink); margin-bottom: .2rem; }
.ladder__content p { font-size: .9rem; color: var(--ink-2); line-height: 1.55; margin: 0; }
.ladder__note {
  margin-top: 1.2rem; padding: 1rem 1.25rem; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--ink-2); line-height: 1.6;
}

/* Ellenőrzőlista kártya */
.checklist-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--sh-2);
}
.checklist-card__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.checklist-card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 12px; background: var(--navy-50); color: var(--navy-700);
}
.checklist-card__icon svg { width: 24px; height: 24px; }
.checklist-card__title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.checklist-card__sub { color: var(--ink-3); font-size: .92rem; margin-top: .2rem; }
.checklist { display: flex; flex-direction: column; gap: 0; }
.checklist li {
  display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 0;
  border-bottom: 1px solid var(--line-soft); color: var(--ink-2); font-size: .96rem; line-height: 1.5;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li strong { color: var(--ink); }
.checklist__i { color: var(--good); width: 1.2em; height: 1.2em; flex: none; margin-top: .12em; }

/* Gyakorlati tipp: mikor magánellátó */
.practical-tip {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--sh-1);
}
.practical-tip__head { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; }
.practical-tip__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--navy-50); color: var(--navy-700); }
.practical-tip__icon svg { width: 22px; height: 22px; }
.practical-tip__title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.practical-tip__lead { color: var(--ink-2); font-size: .96rem; margin-bottom: 1rem; }
.practical-tip__cases { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.3rem; }
.practical-tip__cases li { display: flex; gap: .9rem; align-items: flex-start; }
.practical-tip__case-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--navy); }
.practical-tip__case-ico svg { width: 19px; height: 19px; }
.practical-tip__cases li div { font-size: .94rem; color: var(--ink-2); line-height: 1.55; }
.practical-tip__cases li strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.practical-tip__warning {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--amber-50); border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-sm); padding: 1.1rem 1.25rem;
}
.practical-tip__warning-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: rgba(245,158,11,.15); color: var(--amber-ink); }
.practical-tip__warning-ico svg { width: 19px; height: 19px; }
.practical-tip__warning p { font-size: .92rem; color: var(--ink-2); line-height: 1.6; margin: 0; }
.practical-tip__warning strong { color: var(--ink); }

/* Záró üzenet */
.closing-statement {
  background: linear-gradient(150deg, var(--navy), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.8rem,4vw,2.6rem);
}
.closing-statement__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem,3vw,1.8rem); margin-bottom: .9rem; }
.closing-statement p { color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: .8rem; }
.closing-statement p:last-child { margin-bottom: 0; font-size: 1.1rem; color: #fff; }
.closing-statement strong { color: #fff; }

@media (max-width: 600px) {
  .crit { padding: 1.1rem 1rem; gap: .8rem; }
  .crit__num { width: 32px; height: 32px; font-size: 1rem; }
  .ladder__step { flex-direction: column; gap: .35rem; }
  .ladder__step--1, .ladder__step--2 { margin-right: 0; }
}

