/* =========================================================
   PropLend Reality – stíluslap
   Paletta: Sky #00A6FB · Steel #0582CA · Baltic #006494 · Deep Space #003554 · Ink #051923
   ========================================================= */
:root {
  --sky: #00a6fb;
  --steel: #0582ca;
  --baltic: #006494;
  --deep: #003554;
  --ink: #051923;

  --surface: #f3f7fa;
  --white: #ffffff;
  --line: #dbe5ec;
  --line-strong: #c5d4df;
  --text: #051923;
  --muted: #4b5f6d;
  --on-dark: #e8f2f8;
  --on-dark-muted: #a9c0cf;
  --tint: #e6f5fe;
  --danger: #c0352b;
  --ok: #138a52;

  --sidebar-w: 264px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(5, 25, 35, .06), 0 2px 8px rgba(5, 25, 35, .05);
  --shadow: 0 12px 40px rgba(5, 25, 35, .10);
  --shadow-lg: 0 24px 70px rgba(5, 25, 35, .22);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  --topbar-h: 0px;
  --mobilebar-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; vertical-align: middle; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.main { margin-left: var(--sidebar-w); outline: none; }
.footer { margin-left: var(--sidebar-w); }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }

.section { padding-block: clamp(72px, 9vw, 124px); scroll-margin-top: var(--topbar-h); }
.section--white { background: var(--white); }
.section--dark { background: var(--deep); color: var(--on-dark); position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(0, 166, 251, .16), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(5, 130, 202, .18), transparent 60%);
}
.section--dark > .container { position: relative; }

.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.section-head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.section-head h2, .split h2, .contact h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 750; margin: 0; }
.split h2, .contact h2 { margin-bottom: .55em; }
.section-intro { color: var(--muted); margin: 0; font-size: 1.05rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--baltic);
}
.kicker .kicker-num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--tint); color: var(--baltic); letter-spacing: .04em; }
.kicker--light { color: #8fd6ff; }
.kicker--light span:first-child { background: rgba(0, 166, 251, .16); color: #b9e7ff; }

.body-lg { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; }
.section--white .body-lg, .section .body-lg { color: var(--text); }
.split p:not(.kicker):not(.body-lg) { color: var(--muted); }
.section--dark p:not(.kicker) { color: var(--on-dark-muted); }
.section--dark .body-lg { color: var(--on-dark); }

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--media { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--baltic); --_fg: #fff; --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--_bd); background: var(--_bg); color: var(--_fg);
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { --_bg: var(--baltic); --_fg: #fff; box-shadow: 0 8px 22px rgba(0, 100, 148, .25); }
.btn-primary:hover { --_bg: var(--deep); }
.btn-accent { --_bg: var(--sky); --_fg: var(--ink); box-shadow: 0 8px 24px rgba(0, 166, 251, .28); }
.btn-accent:hover { --_bg: #33b8ff; }
.btn-outline { --_bg: transparent; --_fg: var(--baltic); --_bd: var(--line-strong); }
.btn-outline:hover { --_bd: var(--baltic); --_bg: var(--tint); }
.btn-ghost { --_bg: var(--white); --_fg: var(--deep); --_bd: var(--line-strong); }
.btn-ghost:hover { --_bd: var(--baltic); }
.section--dark .btn-ghost, .map .btn-ghost { --_bg: transparent; --_fg: #fff; --_bd: rgba(255, 255, 255, .35); }
.btn-ghost-dark { --_bg: transparent; --_fg: #fff; --_bd: rgba(255, 255, 255, .3); }
.btn-ghost-dark:hover { --_bd: #fff; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: 8px 15px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* ---------- Sidebar (asztali) ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar-w);
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px 18px 22px; background: var(--ink); color: var(--on-dark);
  border-right: 1px solid rgba(255, 255, 255, .06); overflow-y: auto;
}
.sidebar-logo { display: block; padding: 4px 8px 6px; }
.sidebar-logo img { width: 172px; }
.nav { flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-list a {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; text-decoration: none;
  color: #b8cbd8; font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s;
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-list a.is-active { color: #fff; background: rgba(0, 166, 251, .14); }
.sidebar .nav-list a.is-active::before {
  content: ""; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sky);
}
.sidebar-foot { display: grid; gap: 10px; }
.sidebar-contact { display: flex; align-items: center; gap: 10px; padding: 4px 6px; color: #cfe0ea; text-decoration: none; font-size: .88rem; font-weight: 600; }
.sidebar-contact:hover { color: #fff; }
.sidebar-contact .ico { color: var(--sky); }
/* Ajánlatok kártya: fekete-fehér városkép, hoverre színes */
.offers-card {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 10px;
  margin-top: 6px; padding: 16px 16px 14px; border-radius: 8px; text-decoration: none; color: #fff;
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.offers-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/img/offers-city.jpg") center / cover no-repeat;
  background-image: image-set(url("../assets/img/offers-city.webp") type("image/webp"), url("../assets/img/offers-city.jpg") type("image/jpeg"));
  filter: grayscale(1) contrast(1.05); transform: scale(1.02);
  transition: filter .45s ease, transform .6s ease;
}
.offers-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 25, 35, .45) 0%, rgba(5, 25, 35, .82) 100%);
  transition: background-color .45s ease, opacity .45s ease;
}
.offers-card:hover, .offers-card:focus-visible { border-color: rgba(255, 255, 255, .5); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); transform: translateY(-1px); }
.offers-card:hover::before, .offers-card:focus-visible::before { filter: grayscale(0) saturate(1.1); transform: scale(1.08); }
.offers-card:hover::after, .offers-card:focus-visible::after { background: linear-gradient(180deg, rgba(5, 25, 35, .15) 0%, rgba(5, 25, 35, .7) 100%); }
.offers-card-text { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-weight: 750; font-size: .95rem; line-height: 1.25; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.offers-card-text .ico { margin-top: 2px; }
.offers-card-logo { width: 132px; height: auto; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .45)); }
.mobile-menu .offers-card { padding: 22px 20px 18px; }
.mobile-menu .offers-card-text { font-size: 1.05rem; }
.mobile-menu .offers-card-logo { width: 160px; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); justify-self: start; margin-bottom: 6px; }
.lang-switch button {
  border: 0; background: transparent; color: #9fb6c5; font-weight: 750; font-size: .8rem; letter-spacing: .06em;
  min-width: 44px; min-height: 32px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--sky); color: var(--ink); }
.lang-switch--light { background: var(--surface); border: 1px solid var(--line); margin: 0; }
.lang-switch--light button { color: var(--muted); min-height: 30px; min-width: 40px; }

/* ---------- Topbar + mobilmenü ---------- */
.topbar, .mobile-menu, .mobile-actions { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(56px, 6vw, 88px);
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(0, 166, 251, .14), transparent 60%),
    linear-gradient(180deg, #eef5fa 0%, var(--surface) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--baltic); }
.eyebrow-sep { width: 22px; height: 2px; background: var(--sky); border-radius: 2px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 24px; color: var(--ink); max-width: 13ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: #233846; max-width: 36em; margin-bottom: 18px; }
.hero-area { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); max-width: 36em; margin-bottom: 32px; }
.hero-area .ico { color: var(--steel); margin-top: .2em; }

.hero-media { position: relative; margin: 0; justify-self: end; width: min(100%, 440px); }
.hero-media::before {
  content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: 220px 220px 28px 28px;
  background: linear-gradient(160deg, var(--steel), var(--deep)); z-index: 0;
}
.hero-media picture { position: relative; z-index: 1; display: block; border-radius: 220px 220px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: #e9e4dd; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.hero-badge > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--tint); color: var(--baltic); }
.hero-badge strong { display: block; font-size: .95rem; line-height: 1.2; }
.hero-badge small { color: var(--muted); font-size: .82rem; }

/* Gyors célválasztó */
.quick { margin-top: clamp(56px, 7vw, 88px); }
.quick-title { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 750; margin-bottom: 20px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quick-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 100%;
  padding: 22px 22px 56px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.quick-card:hover { transform: translateY(-3px); border-color: #9fd9fb; box-shadow: var(--shadow); }
.quick-card h3 { font-size: 1.15rem; margin: 8px 0 0; }
.quick-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.quick-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--tint); color: var(--baltic); }
.quick-icon .ico { width: 22px; height: 22px; }
.quick-arrow { position: absolute; left: 22px; bottom: 20px; color: var(--steel); transition: transform .2s; }
.quick-card:hover .quick-arrow { transform: translateX(5px); }

/* ---------- Szemlélet vizuál ---------- */
.approach-visual { display: grid; place-items: center; }
.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed #b9d9ec; }
.orbit::before { inset: 9%; }
.orbit::after { inset: 21%; border-style: solid; border-color: var(--line); background: radial-gradient(circle, var(--tint), transparent 70%); }
.orbit-core { position: absolute; inset: 25%; z-index: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); padding: 0 5%; }
.orbit-core img { width: 100%; height: auto; }
.orbit-node {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-weight: 700; color: var(--deep); white-space: nowrap;
}
.orbit-node .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--baltic); color: #fff; }
.orbit-node--a { top: 3%; left: 50%; transform: translateX(-50%); }
.orbit-node--b { bottom: 14%; left: -2%; }
.orbit-node--b .ico { background: var(--sky); color: var(--ink); }
.orbit-node--c { bottom: 14%; right: -2%; }
.orbit-node--c .ico { background: var(--deep); }

/* ---------- Szolgáltatások ---------- */
.service-group + .service-group { margin-top: 48px; }
.group-title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 750; margin-bottom: 18px; color: var(--deep); }
.group-title .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--deep); color: #fff; }
.service-group--fin .group-title .ico { background: var(--sky); color: var(--ink); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.service-group--fin .card { background: linear-gradient(180deg, #f5fbff 0%, var(--white) 70%); }
.card h4 { font-size: 1.08rem; margin: 12px 0 2px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--baltic); }
.card-icon .ico { width: 22px; height: 22px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--baltic); font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Befektetés ---------- */
.invest-media, .team-media { position: relative; margin: 0; }
.invest-media picture, .team-media picture { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #dfe5ea; }
.invest-media img, .team-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.invest-media picture { box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.check-list { list-style: none; padding: 0; margin: 8px 0 34px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark); font-weight: 600; }
.check-list .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sky); color: var(--ink); margin-top: 1px; }

/* ---------- Folyamat ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--baltic)); opacity: .4; }
.step { position: relative; padding: 0 4px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%;
  background: var(--deep); color: #fff; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  box-shadow: 0 0 0 7px var(--white), 0 10px 24px rgba(0, 53, 84, .25);
}
.step:nth-child(2) .step-num { background: var(--baltic); }
.step:nth-child(3) .step-num { background: var(--steel); }
.step:nth-child(4) .step-num { background: var(--sky); color: var(--ink); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Kalkulátor ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-inputs { background: var(--white); padding: clamp(24px, 4vw, 44px); display: grid; gap: 34px; align-content: center; }
.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.range-head label { font-weight: 700; font-size: 1.02rem; }
.range-head output { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--baltic); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.range-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }

input[type="range"] {
  --pct: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--steel) 0 var(--pct), #dbe6ee var(--pct) 100%); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: #dbe6ee; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--steel); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 7px solid var(--baltic); box-shadow: 0 3px 10px rgba(0, 53, 84, .3); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 7px solid var(--baltic); box-shadow: 0 3px 10px rgba(0, 53, 84, .3); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(0, 166, 251, .35); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(0, 166, 251, .35); }

.rate-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-strong); color: var(--muted); font-weight: 600; }
.rate-row strong { color: var(--deep); font-size: 1.1rem; }

.calc-result { background: linear-gradient(155deg, var(--deep) 0%, var(--ink) 100%); color: #fff; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.result-label { margin: 0; color: var(--on-dark-muted); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.result-main { margin: 6px 0 22px; font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.result-main small { font-size: .4em; font-weight: 700; color: var(--on-dark-muted); letter-spacing: 0; margin-left: 4px; }
.result-list { margin: 0 0 26px; display: grid; }
.result-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.result-list dt { color: var(--on-dark-muted); font-size: .95rem; }
.result-list dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.calc-result .btn { margin-top: auto; }
.calc-alt { display: flex; gap: 10px; margin-top: 12px; }
.calc-alt a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-weight: 650; font-size: .93rem; }
.calc-alt a:hover { border-color: #fff; }
.disclaimer { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--steel); background: var(--white); border-radius: 0 12px 12px 0; color: var(--muted); font-size: .9rem; }

/* ---------- Vélemények ---------- */
.review-filters { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin-bottom: 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.review-filters button { border: 0; background: transparent; padding: 8px 16px; min-height: 38px; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; }
.review-filters button[aria-selected="true"] { background: var(--deep); color: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.review-block-title { grid-column: 1 / -1; font-size: 1.05rem; margin: 10px 0 -4px; color: var(--deep); }
.review-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review-card blockquote { margin: 0; color: var(--text); }
.review-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; white-space: pre-line; }
.review-card.is-expanded .review-text { -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.review-more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--baltic); font-weight: 700; font-size: .9rem; cursor: pointer; }
.review-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.review-card footer { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.review-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 750; font-size: .85rem; letter-spacing: .02em; }
.review-meta { display: grid; line-height: 1.3; min-width: 0; }
.review-author { color: var(--text); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
a.review-author:hover { text-decoration: underline; text-underline-offset: 3px; }
.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 22px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review-score { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--deep); letter-spacing: -.03em; }
.review-summary-info { display: grid; gap: 2px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.review-source { margin-left: auto; color: var(--muted); font-size: .82rem; }
.review-card--empty { grid-column: span 1; background: linear-gradient(160deg, var(--tint), var(--white)); }
.review-card--empty h3 { font-size: 1.2rem; margin: 0; }
.review-card--empty p { color: var(--muted); margin: 0; }
.stars { display: flex; gap: 2px; color: #f2a93b; }
.stars .ico { width: 18px; height: 18px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 750; letter-spacing: .02em; }
.badge--finance { background: var(--deep); color: #fff; }
.badge--realestate { background: var(--sky); color: var(--ink); }

/* ---------- Csapat ---------- */
.team-media picture { box-shadow: var(--shadow); }
.stat { position: absolute; right: -20px; bottom: 28px; display: grid; padding: 18px 22px; border-radius: 18px; background: var(--deep); color: #fff; box-shadow: var(--shadow-lg); max-width: 220px; }
.stat strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--sky); }
.stat span { font-size: .92rem; color: var(--on-dark); margin-top: 6px; line-height: 1.35; }

/* ---------- GYIK ---------- */
.faq-wrap { max-width: 920px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: background-color .2s, border-color .2s; }
.faq details[open] { background: var(--white); border-color: #a9d9f5; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--baltic); border-radius: 2px; transition: transform .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq details a { color: var(--baltic); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Kapcsolat ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; margin: 30px 0 24px; padding: 0; display: grid; gap: 10px; }
.contact-list a, .contact-hours { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--on-dark); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .2s, border-color .2s; }
.contact-list a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(0, 166, 251, .5); }
.contact-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(0, 166, 251, .16); color: #7fd2ff; }
.contact-list small { display: block; color: var(--on-dark-muted); font-size: .8rem; font-weight: 650; letter-spacing: .03em; }
.contact-list strong { font-size: 1.02rem; }
.contact-hours span span { color: var(--on-dark); font-size: .95rem; }

.map { border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 35%, rgba(0, 166, 251, .16), transparent 60%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px); }
.map-placeholder > .ico { width: 34px; height: 34px; color: var(--sky); }
.map-placeholder p { max-width: 34ch; font-size: .88rem; margin: 0 0 6px; }

.contact-form { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 38px); box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 1.45rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.req { color: var(--baltic); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fbfdfe;
  transition: border-color .15s, box-shadow .15s, background-color .15s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23006494' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); background: #fff; box-shadow: 0 0 0 4px rgba(5, 130, 202, .15); }
.field.is-flash select { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 166, 251, 0); } 30% { box-shadow: 0 0 0 6px rgba(0, 166, 251, .35); border-color: var(--sky); } }
.field-error { display: none; margin: 0; color: var(--danger); font-size: .85rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .field-error { display: block; }
.field--check { grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin-top: 4px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--baltic); cursor: pointer; }
.field--check label { font-weight: 500; font-size: .9rem; color: var(--muted); cursor: pointer; }
.field--check label a { color: var(--baltic); font-weight: 700; }
.field--check .field-error { grid-column: 2; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form-status.is-ok { background: #e7f7ef; color: #0d6b3f; border: 1px solid #b7e4cb; }
.form-status.is-error { background: #fdeceb; color: #8f2a22; border: 1px solid #f3c3bf; }
.form-status .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 48px 0 40px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { margin: 0; }
.footer-contact { font-style: normal; display: grid; gap: 6px; }
.footer a { color: #d6e6f0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links .linklike { color: #d6e6f0; text-decoration: none; font-size: inherit; }
.footer-links .linklike:hover { color: #fff; text-decoration: underline; }

/* ---------- Chat ---------- */
.chat { position: fixed; z-index: 60; right: 22px; bottom: calc(22px + var(--mobilebar-h)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launcher {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 20px 12px 16px;
  border: 0; border-radius: 999px; background: var(--sky); color: var(--ink); font-weight: 750; cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 100, 148, .35); transition: transform .2s, background-color .2s;
}
.chat-launcher:hover { transform: translateY(-2px); background: #33b8ff; }
.chat-launcher .ico { width: 22px; height: 22px; }
.chat-dot { position: absolute; top: 6px; left: 34px; width: 11px; height: 11px; border-radius: 50%; background: #9aa9b3; border: 2px solid var(--sky); }
.chat.is-online .chat-dot { background: #1fc16b; }
.chat.is-open .chat-launcher { display: none; }
.chat-panel {
  width: min(380px, calc(100vw - 24px)); max-height: min(620px, calc(100dvh - 40px - var(--mobilebar-h)));
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  animation: pop .22s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--ink); color: #fff; }
.chat-head > div:nth-child(2) { flex: 1; min-width: 0; }
.chat-head strong { display: block; line-height: 1.2; }
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: var(--ink); }
.chat-status { display: flex; align-items: center; gap: 6px; color: var(--on-dark-muted); font-size: .8rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa9b3; }
.chat.is-online .status-dot { background: #1fc16b; }
.chat-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, .1); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); min-height: 160px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--baltic); color: #fff; border-bottom-right-radius: 4px; }
.msg--system { align-self: center; max-width: 100%; background: transparent; color: var(--muted); font-size: .82rem; text-align: center; padding: 2px 8px; }
.msg--system a { color: var(--baltic); font-weight: 700; }
.msg time { display: block; font-size: .72rem; opacity: .7; margin-top: 4px; }
.chat-form { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--white); }
.chat-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.chat-form input:not(.hp), .chat-form textarea { width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-size: .95rem; background: #fbfdfe; }
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(5, 130, 202, .15); }
.chat-form .is-invalid { border-color: var(--danger) !important; }
.chat-compose { display: flex; gap: 8px; align-items: flex-end; }
.chat-compose textarea { resize: none; max-height: 120px; }
.chat-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--baltic); color: #fff; cursor: pointer; }
.chat-send:hover { background: var(--deep); }
.chat-send[disabled] { opacity: .6; cursor: progress; }
.chat-legal { margin: 0; font-size: .75rem; color: var(--muted); }
.chat-legal a { color: var(--baltic); }

/* ---------- Süti sáv ---------- */
.cookie {
  position: fixed; z-index: 70; left: calc(var(--sidebar-w) + 20px); bottom: 20px; width: min(460px, calc(100vw - 24px));
  padding: 20px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1);
}
.cookie h2 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie p { font-size: .9rem; color: var(--on-dark-muted); margin-bottom: 14px; }
.cookie-options { display: grid; gap: 8px; margin-bottom: 14px; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--sky); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn-primary { --_bg: var(--sky); --_fg: var(--ink); box-shadow: none; }

/* ---------- Modal ---------- */
.modal { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); padding: clamp(22px, 4vw, 40px); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--text); }
.modal::backdrop { background: rgba(5, 25, 35, .6); backdrop-filter: blur(3px); }
.modal h2 { font-size: 1.6rem; padding-right: 40px; }
.modal h3 { font-size: 1.05rem; margin: 22px 0 6px; color: var(--deep); }
.modal p { color: var(--muted); }
.modal-note { padding: 10px 14px; border-radius: 10px; background: #fff6e0; color: #6b4e00 !important; font-size: .9rem; }
.modal-close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.modal-close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--surface); cursor: pointer; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(24px + var(--mobilebar-h)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .92rem; box-shadow: var(--shadow); transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Reszponzív
   ========================================================= */
@media (max-width: 1280px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  :root { --sidebar-w: 0px; --topbar-h: 64px; }
  .sidebar { display: none; }
  .topbar {
    position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-logo img { width: 124px; }
  .topbar-actions { display: flex; align-items: center; gap: 10px; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--deep); cursor: pointer; }
  .menu-toggle .ico { width: 24px; height: 24px; }
  .menu-toggle .ico-close, .menu-toggle[aria-expanded="true"] .ico-open { display: none; }
  .menu-toggle[aria-expanded="true"] .ico-close { display: block; }
  .mobile-menu {
    position: fixed; z-index: 49; inset: var(--topbar-h) 0 0 0; display: flex; flex-direction: column; gap: 18px;
    padding: 18px max(16px, env(safe-area-inset-left)) calc(24px + var(--mobilebar-h)); overflow-y: auto;
    background: var(--ink); animation: slide .22s ease-out;
  }
  @keyframes slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .mobile-menu .nav-list a { padding: 14px 14px; font-size: 1.08rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .chat { display: none; }
  .main { padding-top: var(--topbar-h); }
  .cookie { left: 12px; }
  .section-head--row { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .split--media, .contact { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; width: min(100% - 22px, 360px); margin-right: 22px; }
  .hero-media picture { aspect-ratio: 5 / 6; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .steps::before { display: none; }
  .calc { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invest-media, .team-media { max-width: 440px; }
  .approach-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --mobilebar-h: 68px; }
  body { padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom)); }
  .mobile-actions {
    position: fixed; z-index: 55; inset: auto 0 0 0; height: calc(var(--mobilebar-h) + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .mobile-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; color: #e6f1f7; text-decoration: none; font-size: .74rem; font-weight: 700; }
  .mobile-actions a .ico { width: 22px; height: 22px; color: var(--sky); }
  .mobile-actions a.is-accent { background: var(--sky); color: var(--ink); }
  .mobile-actions a.is-accent .ico { color: var(--ink); }
  .chat { right: 12px; bottom: calc(12px + var(--mobilebar-h) + env(safe-area-inset-bottom)); }
  .chat-launcher { min-height: 48px; padding: 10px 16px 10px 13px; font-size: .9rem; }
  .chat-panel { max-height: calc(100dvh - var(--topbar-h) - var(--mobilebar-h) - 36px); }
  .cookie { bottom: calc(12px + var(--mobilebar-h)); }
  .toast { bottom: calc(16px + var(--mobilebar-h)); }

  .hero { padding-top: 32px; }
  .hero-badge { left: 8px; bottom: 16px; }
  .btn-row .btn-lg { width: 100%; }
  .quick-grid, .card-grid, .review-grid, .steps { grid-template-columns: 1fr; }
  .quick-card { padding: 18px 50px 18px 18px; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .quick-card h3 { margin: 0; flex: 1; }
  .quick-card p { flex-basis: 100%; }
  .quick-arrow { left: auto; right: 18px; top: 28px; bottom: auto; }
  .steps { gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; }
  .step-num { grid-row: span 2; margin: 0; }
  .orbit-node { padding: 9px 14px 9px 9px; font-size: .9rem; }
  .orbit-node .ico { width: 28px; height: 28px; padding: 6px; }
  .stat { right: 12px; bottom: 12px; padding: 14px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { margin-inline: -6px; }
  .result-main { font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .chat-launcher span:not(.chat-dot) { font-size: .85rem; }
  .lang-switch--light button { min-width: 36px; }
  .topbar-logo img { width: 108px; }
}

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

@media print {
  .sidebar, .topbar, .mobile-actions, .chat, .cookie, .map { display: none !important; }
  .main, .footer { margin: 0; padding: 0; }
}

/* Alacsony asztali képernyőkön az oldalsáv görgetés nélkül férjen el */
@media (min-width: 1101px) and (max-height: 860px) {
  .sidebar { gap: 12px; padding-top: 20px; padding-bottom: 16px; }
  .sidebar-logo img { width: 150px; }
  .nav-list a { padding-block: 7px; }
  .sidebar-foot { gap: 6px; }
  .offers-card { padding: 12px 14px 11px; gap: 8px; }
}

/* ---------- Adatvédelmi tájékoztatás az űrlapnál / chatnél ---------- */
.form-privacy { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.5; }
.form-privacy > .ico { color: var(--baltic); margin-top: 2px; }
.form-privacy a { color: var(--baltic); font-weight: 700; white-space: nowrap; }
.cookie a { color: #8fd6ff; font-weight: 700; }

/* ---------- Adatkezelési tájékoztató oldal ---------- */
.legal-page { background: var(--surface); }
.legal-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.legal-top-inner { max-width: 920px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.legal-logo img { width: 128px; }
.legal-top-actions { display: flex; align-items: center; gap: 10px; }
.legal-main { max-width: 920px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 32px) 56px; }
.legal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4.5vw, 52px); box-shadow: var(--shadow-sm); }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--deep); margin: 40px 0 12px; scroll-margin-top: 80px; }
.legal section { scroll-margin-top: 80px; }
.legal p, .legal li { color: #24394a; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1em; }
.legal a { color: var(--baltic); font-weight: 600; }
.legal-lead { font-size: 1.12rem; color: var(--muted) !important; max-width: 60ch; }
.legal-translation-note { padding: 10px 14px; border-radius: 10px; background: #fff6e0; color: #6b4e00 !important; font-size: .92rem; }
.legal-facts { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .95rem; }
.legal-facts th, .legal-facts td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.legal-facts th { width: 34%; background: var(--deep); color: #fff; font-weight: 700; border-bottom-color: rgba(255, 255, 255, .12); }
.legal-facts td { background: var(--surface); }
.legal-summary { padding: 16px 18px; border-radius: 14px; background: var(--tint); border-left: 4px solid var(--sky); }
.legal-toc { margin: 26px 0 8px; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.legal-toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a { text-decoration: none; font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 12px; border-radius: 12px; border: 1px solid var(--line); }
.legal-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .94rem; }
.legal-table th { background: var(--deep); color: #fff; text-align: left; padding: 11px 14px; }
.legal-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: #24394a; }
.legal-table tr:nth-child(even) td { background: var(--surface); }
.legal-note { font-size: .88rem; color: var(--muted) !important; }
.legal-footer { padding: 28px 16px 40px; text-align: center; color: var(--muted); font-size: .88rem; }
.legal-footer a { color: var(--baltic); }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-facts th { width: 40%; }
  .legal-back { padding-inline: 12px; }
  .legal-logo img { width: 104px; }
}
@media print {
  .legal-top, .legal-toc, [data-legal-cookies], .legal-footer { display: none !important; }
  .legal { border: 0; box-shadow: none; padding: 0; }
}

/* ---------- Chat: ügyintézői üzenet, olvasatlan jelzés ---------- */
.msg-name { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .02em; color: var(--baltic); margin-bottom: 2px; }
.msg--bot time, .msg--user time { display: block; }
.chat-badge { display: none; position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .75rem; font-weight: 800; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.chat.has-unread .chat-badge { display: block; }
