/* ==========================================================================
   olcsóingatlan.hu – stíluslap
   ========================================================================== */

/* Betűtípusok (saját tárhelyről, latin + latin-ext a magyar ő/ű miatt) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Ukrán oldal: cirill betűk. Az Instrument Serifnek nincs cirill változata, helyette a hozzá illő Noto Serif Display (keskenyített). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/serif-display-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/serif-display-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --ink: #15120f;
  --ink-2: #221d18;
  --paper: #f6f2eb;
  --paper-2: #efe8dd;
  --paper-3: #e3d9ca;
  --white: #fffdf9;
  --text: #1c1814;
  --body: #3b342d;
  --muted: #6c6358;
  --line: rgba(28, 24, 20, 0.11);
  --line-strong: rgba(28, 24, 20, 0.22);
  --on-dark: #f4eee5;
  --on-dark-muted: rgba(244, 238, 229, 0.66);
  --line-dark: rgba(244, 238, 229, 0.14);
  --accent: #c87f43;
  --accent-hover: #d78f52;
  --accent-light: #e8b27f;
  --accent-ink: #94511f;
  --accent-soft: #f3e3d0;
  --danger: #b2452f;
  --success: #3f7a55;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 16, 12, 0.05), 0 4px 14px -6px rgba(20, 16, 12, 0.08);
  --shadow: 0 18px 40px -18px rgba(20, 16, 12, 0.25), 0 2px 6px rgba(20, 16, 12, 0.05);
  --shadow-lg: 0 40px 90px -30px rgba(20, 16, 12, 0.45), 0 6px 18px rgba(20, 16, 12, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', Georgia, serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;

  interpolate-size: allow-keywords;
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.i { width: 20px; height: 20px; flex: none; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 150px) 0; }
.section--tight { padding: clamp(48px, 6vw, 90px) 0; }
.surface-dark { background: var(--ink); color: var(--on-dark); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: top 0.3s var(--ease); }
.skip-link:focus { top: 16px; }

/* ---------- Tipográfia ---------- */
.display-xl, .display-l, .display-m, .display-s, .hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.display-xl { font-size: clamp(2.9rem, 1.4rem + 5.4vw, 6.4rem); line-height: 0.95; }
.display-l { font-size: clamp(2.3rem, 1.35rem + 3.1vw, 4.2rem); line-height: 1; }
.display-m { font-size: clamp(1.8rem, 1.35rem + 1.4vw, 2.6rem); line-height: 1.05; }
.display-s { font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2rem); line-height: 1.1; }
:is(.display-xl, .display-l, .display-m, .display-s) em { font-style: italic; color: var(--accent-ink); }
.surface-dark :is(.display-xl, .display-l, .display-m, .display-s) em { color: var(--accent-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.eyebrow--light, .surface-dark .eyebrow { color: var(--accent-light); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 32em; margin-top: 20px; }
.surface-dark .section-lead { color: var(--on-dark-muted); }
.section-lead a { color: inherit; font-weight: 600; white-space: nowrap; }

/* ---------- Gombok ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2c251f; box-shadow: 0 10px 24px -12px rgba(21, 18, 15, 0.6); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5); }
.btn-accent { background: var(--accent); color: #1a1109; }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 12px 28px -12px rgba(200, 127, 67, 0.7); }
.btn-ghost { border-color: var(--line-strong); color: inherit; }
.btn-ghost:hover { border-color: currentColor; background: rgba(28, 24, 20, 0.03); }
.btn-ghost--light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost--light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.3s;
}
.btn-link .i { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn-link:hover { border-color: currentColor; }
.btn-link:hover .i { transform: translateX(5px); }
.btn-text { font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; padding: 0 4px; height: 50px; }
.btn-text:hover { color: var(--text); }

/* ---------- Fejléc ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: var(--text);
  transition: background-color 0.45s, color 0.45s, transform 0.6s var(--ease), box-shadow 0.45s, backdrop-filter 0.45s;
  view-transition-name: site-header;
}
.site-header[data-theme='dark'] { color: var(--on-dark); }
.site-header.is-solid[data-theme='dark'] { background: rgba(21, 18, 15, 0.62); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.site-header.is-solid[data-theme='light'] { background: rgba(246, 242, 235, 0.84); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-105%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; flex: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform 0.6s var(--ease); }
.brand-mark .i { width: 21px; height: 21px; stroke-width: 1.9; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-word em { font-family: var(--font-serif); font-weight: 400; font-size: 1.28em; letter-spacing: -0.01em; margin-right: 1px; }
.brand-word small { font-size: 0.8em; font-weight: 500; color: var(--accent); margin-left: 1px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; white-space: nowrap; opacity: 0.86; transition: opacity 0.3s; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current='page'] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: none; opacity: 0.86; }
.header-phone .i { width: 17px; height: 17px; }
.header-phone:hover { opacity: 1; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Nyelvválasztó: asztali nézetben lenyíló menü a fejlécben, mobilon sor a menü alján */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 11px 0 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 26%, transparent); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; opacity: 0.88; transition: opacity 0.3s, border-color 0.3s; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { opacity: 1; border-color: color-mix(in srgb, currentColor 55%, transparent); }
.lang-menu summary .i { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.lang-menu[open] summary .i { transform: rotate(180deg); }
.lang-list { position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; padding: 6px; display: grid; gap: 2px; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); animation: lang-in 0.35s var(--ease); }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.lang-list a:hover { background: var(--paper-2); }
.lang-list a small { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.lang-list a[aria-current] { background: var(--paper); }
.lang-list a[aria-current] small { color: var(--accent-ink); }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } }
.lang-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.mobile-menu .lang-row a { display: inline-grid; place-items: center; min-width: 52px; height: 40px; padding: 0 12px; font-family: var(--font-sans); line-height: 1; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; color: var(--on-dark-muted); }
.mobile-menu .lang-row a span { display: none; }
.mobile-menu .lang-row a[aria-current] { color: var(--ink); background: var(--accent-light); border-color: var(--accent-light); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 60ms + 150ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--font-serif); font-size: clamp(2.2rem, 9vw, 3rem); text-decoration: none; line-height: 1.1; }
.mobile-menu li .i { width: 26px; height: 26px; color: var(--accent-light); }
.mobile-menu-foot { display: grid; gap: 14px; margin-top: 40px; }
.mobile-menu-foot .mobile-menu-contact { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark-muted); text-decoration: none; }
.mobile-menu-contact .i { width: 18px; height: 18px; color: var(--accent-light); }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--on-dark) !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; transform: none !important; }

/* ---------- Hero (görgetéshez kötött 3D videó) ---------- */
.hero { position: relative; height: 420vh; background: #1d1a1c; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: #1d1a1c; }
.hero-ambient { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; max-width: none; filter: blur(30px) saturate(1.1); opacity: 0; transition: opacity 0.8s; }
/* A képkocka helyét ez a szabály adja – a hero.js pontosan ide rajzol, a szélek a környezeti háttérbe olvadnak. */
.hero-poster img {
  position: absolute;
  left: 66vw;
  top: 52%;
  width: max(82vw, 70svh * 16 / 9);
  max-width: none;
  transform: translate(-46.5%, -50%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero.is-live .hero-poster { visibility: hidden; }
.hero.is-live .hero-ambient { opacity: 0.95; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 13, 11, 0.6) 0%, rgba(16, 13, 11, 0) 24%),
    linear-gradient(90deg, rgba(16, 13, 11, 0.78) 0%, rgba(16, 13, 11, 0.42) 34%, rgba(16, 13, 11, 0) 60%),
    linear-gradient(0deg, rgba(16, 13, 11, 0.72) 0%, rgba(16, 13, 11, 0) 46%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: clamp(64px, 14vh, 150px); }
.hero-phases { display: grid; max-width: 640px; text-shadow: 0 1px 28px rgba(10, 8, 6, 0.45); }
.hero-phase { grid-area: 1 / 1; align-self: end; }
.hero-title { font-size: clamp(2.7rem, 1.3rem + 4.2vw, 5.4rem); line-height: 0.97; color: #fbf7f1; margin-bottom: 26px; }
.hero-title em { font-style: italic; color: var(--accent-light); }
.hero-lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.6; color: rgba(251, 247, 241, 0.8); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-steps { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--header-h) + 6vh); display: grid; gap: 16px; }
.hero-steps li { display: flex; align-items: center; gap: 14px; justify-content: flex-end; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251, 247, 241, 0.38); transition: color 0.6s; }
.hero-steps li span { order: 2; font-variant-numeric: tabular-nums; }
.hero-steps li::after { content: ''; order: 3; width: 22px; height: 1px; background: currentColor; transition: width 0.7s var(--ease), background-color 0.6s; }
.hero-steps li.is-active { color: #fbf7f1; }
.hero-steps li.is-active::after { width: 52px; background: var(--accent-light); }
.hero-steps li.is-done { color: rgba(251, 247, 241, 0.6); }
.hero-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(251, 247, 241, 0.6); transition: opacity 0.6s; white-space: nowrap; }
.hero-cue i { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, rgba(251, 247, 241, 0.8), transparent); background-size: 100% 200%; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { background-position: 0 -100%; } 100% { background-position: 0 100%; } }
.hero.is-scrolled .hero-cue { opacity: 0; }
.hero-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.08); }
.hero-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Szövegváltás: a fázisok szavanként úsznak be és halványulnak el */
.js .hero-phase { visibility: hidden; }
.js .hero-phase.is-active, .js .hero-phase.is-leaving { visibility: visible; }
.js .hero-phase .w { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: blur(10px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms + var(--enter-delay, 0ms)); }
.js .hero.is-ready .hero-phase.is-active .w { opacity: 1; transform: none; filter: blur(0); }
.js .hero-phase.is-leaving .w { opacity: 0; transform: translateY(-0.35em); filter: blur(8px); transition-duration: 0.5s; transition-delay: calc(var(--i) * 18ms); }
.js .hero-phase :is(.eyebrow, .hero-lead, .hero-ctas) { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 1s var(--ease); }
.js .hero.is-ready .hero-phase.is-active :is(.eyebrow, .hero-lead, .hero-ctas) { opacity: 1; transform: none; }
.js .hero.is-ready .hero-phase.is-active .eyebrow { transition-delay: calc(0.05s + var(--enter-delay, 0ms)); }
.js .hero.is-ready .hero-phase.is-active .hero-lead { transition-delay: calc(0.45s + var(--enter-delay, 0ms)); }
.js .hero.is-ready .hero-phase.is-active .hero-ctas { transition-delay: calc(0.6s + var(--enter-delay, 0ms)); }
.js .hero-phase.is-leaving :is(.eyebrow, .hero-lead, .hero-ctas) { opacity: 0; transform: translateY(-10px); transition-duration: 0.45s; transition-delay: 0s; }

/* ---------- Kereső ---------- */
.search-wrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(64px, 8vw, 104px)); }
.search-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px 26px 26px; }
.search-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.search-title { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seg span { display: block; padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color 0.35s var(--ease), color 0.35s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-fields { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-fields label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.search-submit { height: 54px; padding: 0 30px; }
.search-submit .i { width: 18px; height: 18px; }

/* ---------- Mezők ---------- */
.field label, .field legend { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.field label > span[aria-hidden], .field legend > span[aria-hidden] { color: var(--accent); }
.field input:not([type='checkbox']):not([type='radio']):not([type='range']), .field select, .field textarea {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.search-card .field :is(input, select):not(:focus):not(:hover) { border-color: transparent !important; }
.field textarea { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #9a9083; }
.field :is(input, select, textarea):hover { border-color: rgba(28, 24, 20, 0.35); }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(200, 127, 67, 0.16); }
.field.is-invalid :is(input, select, textarea) { border-color: var(--danger); }
.field-error { margin-top: 6px; font-size: 12.5px; color: var(--danger); }
.field-error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select .i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 44px !important; }
.input-icon input::-webkit-calendar-picker-indicator { display: none !important; }
.check, .field .check { display: flex; margin: 0; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 400 !important; color: var(--muted) !important; cursor: pointer; line-height: 1.5; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: background-color 0.25s, border-color 0.25s; }
.check-box .i { width: 14px; height: 14px; stroke-width: 2.6; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.35s var(--ease); }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.field.is-invalid .check-box { border-color: var(--danger); }
.check a { color: var(--text); }

/* ---------- Szekciófej ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head > div { max-width: 780px; }
.section-head .section-lead { margin-top: 0; }

/* ---------- Ingatlankártya ---------- */
.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.card-link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card-media picture, .card-media img { width: 100%; height: 100%; }
.card-media img { object-fit: cover; transition: transform 1.6s var(--ease); }
/* Alaprajz: nem vágjuk körbe, fehér papíron jelenik meg */
.is-plan { background: #fff; }
.card-media .is-plan img, .gallery-tile .is-plan img { object-fit: contain; box-sizing: border-box; }
.card-media .is-plan img { padding: 48px 20px 42px; }  /* a jelvények és az „Alaprajz” felirat ne takarja */
.gallery-tile .is-plan img { padding: 24px 24px 48px; }
.card-link:hover .card-media img { transform: scale(1.07); }
.card-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; height: 27px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.badge--elado { background: var(--ink); color: var(--paper); }
.badge--kiado { background: var(--accent); color: #1a1109; }
.badge--glass { background: rgba(255, 253, 249, 0.85); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge--outline { border: 1px solid var(--line-strong); color: var(--muted); }
.card-note { position: absolute; left: 14px; bottom: 14px; padding: 5px 9px; border-radius: 7px; background: rgba(21, 18, 15, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-loc { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.card-loc .i { width: 15px; height: 15px; }
.card-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 16px; text-wrap: balance; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 20px; font-size: 13.5px; }
.card-meta li { display: flex; align-items: center; gap: 7px; }
.card-meta .i { width: 16px; height: 16px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card-price strong { display: block; font-size: 1.4rem; font-weight: 650; letter-spacing: -0.025em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.card-price span { font-size: 13px; color: var(--muted); }
.card-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.6s var(--ease); }
.card-go .i { width: 18px; height: 18px; }
.card-link:hover .card-go { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: rotate(45deg); }
.card--large .card-media { aspect-ratio: auto; flex: 1; min-height: 380px; }
.card--large .card-title { font-size: clamp(1.8rem, 1.2rem + 1.3vw, 2.5rem); }
.card--large .card-body { padding: 28px 30px 30px; flex: none; }
.card--row .card-link { flex-direction: row; }
.card--row .card-media { aspect-ratio: auto; width: 44%; flex: none; }
.card--row .card-title { font-size: 1.4rem; }

/* ---------- Kiemelt ---------- */
.featured { padding-top: clamp(72px, 9vw, 130px); }
.featured-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.featured-grid > .card { display: flex; flex-direction: column; }
.featured-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }

/* ---------- Eladó / Kiadó panelek ---------- */
.split { padding-top: 0; }
.split-grid { display: flex; gap: 20px; height: clamp(440px, 52vw, 640px); }
.split-panel { position: relative; flex: 1 1 0; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; transition: flex-grow 0.9s var(--ease); }
.split-grid:hover .split-panel { flex-grow: 0.8; }
.split-grid .split-panel:hover { flex-grow: 1.3; }
.split-panel picture { position: absolute; inset: 0; z-index: -2; }
.split-panel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.8s var(--ease); }
.split-panel:hover img { transform: scale(1.1); }
.split-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 13, 11, 0.05) 25%, rgba(16, 13, 11, 0.82) 100%); }
.split-body { position: absolute; left: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.split-count { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.split-label { font-family: var(--font-serif); font-size: clamp(3.4rem, 2rem + 4.5vw, 6.6rem); line-height: 0.9; letter-spacing: -0.02em; }
.split-text { max-width: min(25em, calc(100% - 84px)); color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; }
.split-go { position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: transform 0.6s var(--ease), background-color 0.4s; }
.split-panel:hover .split-go { transform: translateX(6px); background: var(--accent); }

/* ---------- Számok ---------- */
.stats { position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(200, 127, 67, 0.22), transparent 65%); pointer-events: none; }
.stats-head { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.stats-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.stats-lead { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 30em; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 16px; padding: 30px 28px 0 0; border-top: 1px solid var(--line-dark); position: relative; }
.stat::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent-light); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 120ms + 200ms); }
.stat.is-in::before { transform: scaleX(1); }
.stat dd { font-family: var(--font-serif); font-size: clamp(3rem, 1.8rem + 3.4vw, 5.4rem); line-height: 1; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat dd small { font-family: var(--font-sans); font-size: 1rem; color: var(--on-dark-muted); letter-spacing: 0; margin-right: 6px; }
.stat dt { color: var(--on-dark-muted); max-width: 15em; font-size: 15px; }

/* ---------- Folyamat ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-media { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden; background: #1d1a1c; margin-bottom: 26px; }
.process-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transition: transform 2s var(--ease); }
.process-step.is-in .process-media img { transform: scale(1.18); }
.process-step:hover .process-media img { transform: scale(1.26); }
.process-tag { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 8px; background: rgba(16, 13, 11, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.process-step h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 15px; }

/* ---------- Értékbecslés CTA + űrlapkártya ---------- */
.valuation-cta { background: var(--paper-2); }
.valuation-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ticks { display: grid; gap: 14px; margin: 32px 0 36px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); stroke-width: 2.2; }
.form-card { position: relative; background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.form-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin-bottom: 22px; }
.form-sub { margin: -12px 0 22px; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.field--full { grid-column: 1 / -1; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.form-note .i { width: 16px; height: 16px; color: var(--accent-ink); }
.form-success { text-align: center; padding: 28px 8px; animation: rise 0.7s var(--ease) both; }
.form-success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.form-success-icon .i { width: 32px; height: 32px; stroke-width: 2.2; }
.form-success h3 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 28em; margin: 0 auto; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.btn.is-loading { pointer-events: none; opacity: 0.75; }

/* ---------- Ügynökök ---------- */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.agent { display: flex; flex-direction: column; gap: 22px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.agent:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.agent-avatar { position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-serif); font-size: 2.1rem; background: radial-gradient(circle at 30% 25%, #edc497, #c27a3f 52%, #6b3916); }
.agent-avatar::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--line-strong); }
.agent:nth-child(3n + 2) .agent-avatar { background: radial-gradient(circle at 30% 25%, #d6d2b3, #8a8558 52%, #3e3c25); }
.agent:nth-child(3n + 3) .agent-avatar { background: radial-gradient(circle at 30% 25%, #e3cec7, #a2766b 52%, #4b2f29); }
.agent-avatar--sm { width: 50px; height: 50px; font-size: 1.15rem; }
.agent-avatar--sm::after { inset: -4px; }
.agent-role { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.agent-name { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1.05; margin-bottom: 12px; }
.agent-bio { color: var(--muted); margin-bottom: 16px; max-width: 40em; }
.agent-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.agent-tags li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; }
.agent-lang, .agent-listings { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.agent-lang .i, .agent-listings .i { width: 17px; height: 17px; }
.agent-listings a { color: var(--text); font-weight: 600; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.agent--compact .agent-actions { margin-top: auto; }
.agent--compact .agent-body { display: flex; flex-direction: column; flex: 1; }
.agents-list { display: grid; gap: 24px; }
.agents-list .agent { flex-direction: row; align-items: flex-start; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); }
.agents-list .agent-avatar { width: clamp(96px, 12vw, 150px); height: clamp(96px, 12vw, 150px); font-size: clamp(2.2rem, 3vw, 3.4rem); }
.agents-list .agent-name { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); }

/* ---------- GYIK ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 1.15rem; font-weight: 600; cursor: pointer; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color 0.3s, border-color 0.3s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .faq-icon { border-color: currentColor; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.55s var(--ease), content-visibility 0.55s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-body { padding: 0 56px 28px 0; color: var(--muted); max-width: 62ch; }
.faq-body > * + * { margin-top: 12px; }
.faq-body ul { display: grid; gap: 6px; }
.faq-body li { position: relative; padding-left: 18px; }
.faq-body li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.faq-body strong { color: var(--text); font-weight: 600; }

/* ---------- Lábléc ---------- */
.site-footer { padding: clamp(72px, 9vw, 120px) 0 32px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-brand p { color: var(--on-dark-muted); max-width: 25em; margin: 22px 0 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color 0.3s, border-color 0.3s; }
.footer-social a:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.35); }
.footer-social .i { width: 18px; height: 18px; }
.footer-col h2 { margin-bottom: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-col li { margin-bottom: 12px; }
.footer-col a { text-decoration: none; opacity: 0.88; transition: color 0.3s, opacity 0.3s; }
.footer-col a:hover { opacity: 1; color: var(--accent-light); }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--on-dark); }
.footer-contact li > a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .i { width: 18px; height: 18px; color: var(--accent-light); }
.footer-word { margin: clamp(56px, 8vw, 110px) 0 28px; font-family: var(--font-serif); font-size: clamp(3.3rem, 13.8vw, 13.8rem); line-height: 0.8; letter-spacing: -0.035em; text-align: center; white-space: nowrap; color: rgba(244, 238, 229, 0.07); user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom ul { display: flex; gap: 24px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); }

/* ---------- Aloldal-fejléc ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 7vw, 110px)) 0 clamp(44px, 6vw, 80px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg picture, .page-hero-bg img { width: 100%; height: 100%; }
.page-hero-bg img { object-fit: cover; object-position: 70% 55%; opacity: 0.55; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 18%, rgba(21, 18, 15, 0.55) 62%, rgba(21, 18, 15, 0.25)), linear-gradient(0deg, var(--ink), transparent 40%); }
.page-lead { margin-top: 22px; max-width: 36em; font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); color: var(--on-dark-muted); }
.page-lead-title { display: block; margin-bottom: 8px; color: var(--on-dark); font-weight: 600; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 13px; color: var(--on-dark-muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .i { width: 14px; height: 14px; opacity: 0.6; }
.breadcrumb--dark { color: var(--muted); margin-bottom: 22px; }
.breadcrumb--dark a:hover { color: var(--text); }
.tabs { display: inline-flex; gap: 4px; margin-top: 38px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.05); }
.tab { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--on-dark-muted); transition: background-color 0.35s, color 0.35s; }
.tab span { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, 0.1); }
.tab:hover { color: #fff; }
.tab.is-active { background: var(--paper); color: var(--ink); }
.tab.is-active span { background: var(--ink); color: var(--paper); }

/* ---------- Lista + szűrők ---------- */
.section--listing { padding-top: 36px; }
.filters { margin-bottom: 30px; padding: 18px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.filters-panel { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1.15fr auto; gap: 14px; align-items: end; }
.filters-toggle { display: none; }
.filters-count { min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; background: var(--accent); color: #1a1109; }
.range-inputs { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.range-inputs input { min-width: 0; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.results-count { color: var(--muted); }
.results-count strong { color: var(--text); font-size: 1.15rem; }
.field--inline { display: flex; align-items: center; gap: 10px; }
.field--inline label { margin: 0; font-weight: 500; color: var(--muted); }
.select--plain select { height: 42px !important; background: transparent !important; border-color: var(--line) !important; font-weight: 600; font-size: 14px !important; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.results-grid .card.is-filtered-in { animation: rise 0.6s var(--ease) both; }
.empty-state { padding: clamp(48px, 7vw, 88px) 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); }
.empty-state h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 30em; margin: 0 auto 24px; }
.empty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.listing-cta { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.listing-cta p { color: var(--on-dark-muted); margin-top: 12px; max-width: 36em; }

/* ---------- Adatlap ---------- */
.page-property main { padding-top: calc(var(--header-h) + 24px); }
.prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 30px; }
.prop-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.prop-title { max-width: 17em; }
.prop-loc { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); }
.prop-loc .i { width: 18px; height: 18px; }
.prop-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex: none; }
.prop-price { font-size: clamp(2rem, 1.5rem + 1.3vw, 2.8rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }

.gallery { position: relative; margin-bottom: clamp(40px, 5vw, 64px); }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(380px, 50vw, 640px); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-tile { position: relative; overflow: hidden; background: var(--paper-3); cursor: zoom-in; }
.gallery-tile:first-child { grid-row: span 2; }
/* Kevés kép (pl. egyetlen alaprajz): ne maradjon üres hely a rácsban */
.gallery--1 .gallery-grid { grid-template-columns: 1fr; }
.gallery--2 .gallery-grid, .gallery--3 .gallery-grid { grid-template-columns: 2fr 1fr; }
.gallery--2 .gallery-tile:nth-child(2) { grid-row: span 2; }
.gallery--4 .gallery-tile:nth-child(4) { grid-column: span 2; }
.gallery-tile picture, .gallery-tile img { width: 100%; height: 100%; }
/* Kép nélküli ingatlan: „Fotók hamarosan” (a látványtervek egyelőre nem jelennek meg, helyszíni fotó még nincs) */
.photo-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; color: var(--muted); text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, var(--paper) 0%, var(--paper-2) 55%, var(--paper-3) 100%); }
.photo-soon .i { width: 30px; height: 30px; color: var(--accent-ink); stroke-width: 1.3; }
.photo-soon span { font-family: var(--font-serif); font-size: 22px; line-height: 1.1; color: var(--text); letter-spacing: 0.01em; }
.card-soon span { font-size: 20px; }
.gallery--soon { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.gallery-soon { height: clamp(260px, 34vw, 420px); }
.gallery-soon .i { width: 38px; height: 38px; }
.gallery-soon span { font-size: clamp(26px, 3vw, 36px); }
.gallery-soon-note { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 30px); margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.gallery-tile img { object-fit: cover; transition: transform 1.4s var(--ease), filter 0.6s; }
.gallery-tile:hover img { transform: scale(1.05); filter: brightness(0.92); }
.gallery-kind { display: inline-flex; padding: 5px 9px; border-radius: 7px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(21, 18, 15, 0.6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gallery-tile .gallery-kind { position: absolute; left: 12px; bottom: 12px; }
.gallery-tile .gallery-kind--photo { display: none; }
.gallery-kind--render { background: rgba(200, 127, 67, 0.92); color: #1a1109; }
.gallery-kind--floorplan { background: rgba(38, 66, 98, 0.92); color: #fff; }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16, 13, 11, 0.52); color: #fff; font-family: var(--font-serif); font-size: 2.2rem; }
.gallery-all { position: absolute; right: 18px; bottom: 18px; box-shadow: var(--shadow); }

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.prop-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.prop-highlights li { padding: 20px 22px; font-size: 13px; color: var(--muted); border-right: 1px solid var(--line); }
.prop-highlights li:last-child { border-right: 0; }
.prop-highlights span { display: block; margin-bottom: 4px; font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; color: var(--text); }
.prop-section { padding: 44px 0; border-bottom: 1px solid var(--line); }
.prop-section > h2 { margin-bottom: 22px; }
.prop-section > p { max-width: 68ch; margin-bottom: 1.1em; color: var(--body); font-size: 1.05rem; line-height: 1.75; }
.prop-tagline { font-size: 12px !important; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink) !important; }
.prop-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-size: 14px !important; color: var(--muted) !important; line-height: 1.55 !important; }
.prop-note .i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-ink); }
.prop-note--plan { background: rgba(38, 66, 98, 0.08); color: var(--ink) !important; }
.prop-note--plan .i { color: #264262; flex: none; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.fact { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact .i { width: 20px; height: 20px; color: var(--accent-ink); }
.fact dt { color: var(--muted); font-size: 14.5px; }
.fact dd { font-weight: 600; text-align: right; max-width: 15em; font-size: 14.5px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.features li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.features .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); stroke-width: 2.2; }
.rooms li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 80px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.rooms-bar { position: relative; height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.rooms-bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) 0.2s; }
.is-in .rooms-bar::after { transform: scaleX(1); }
.rooms strong { text-align: right; font-variant-numeric: tabular-nums; }
.rooms-total { margin-top: 18px; color: var(--muted); }
.rooms-total strong { color: var(--text); }
.invest { margin: 44px 0; padding: clamp(26px, 4vw, 46px); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.invest::before { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 127, 67, 0.28), transparent 65%); }
.invest-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.invest-head h2 em { font-style: italic; color: var(--accent-light); }
.invest-head p { color: var(--on-dark-muted); font-size: 14px; }
.invest-lead { position: relative; margin: 16px 0 0; max-width: 62ch; font-size: 1.02rem; line-height: 1.65; color: var(--on-dark); opacity: 0.92; }
.invest-fine { position: relative; margin: 10px 0 0; font-size: 12.5px; color: var(--on-dark-muted); }
.invest-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0; }
.invest-grid div { padding-top: 14px; border-top: 1px solid var(--line-dark); }
.invest-grid dt { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 6px; }
.invest-grid dd { font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.invest-yield dd { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--accent-light); }
.invest-calc { position: relative; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.invest-calc label { font-size: 14px; font-weight: 600; }
.invest-slider { display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.invest-slider output { min-width: 140px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type='range'] { --fill: 50%; flex: 1; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--fill), rgba(255, 255, 255, 0.16) var(--fill)); cursor: pointer; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(200, 127, 67, 0.25); transition: transform 0.3s var(--ease); }
input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(200, 127, 67, 0.25); }
input[type='range']:active::-webkit-slider-thumb { transform: scale(1.15); }
.prop-map-addr { display: flex; align-items: center; gap: 8px; margin: -8px 0 18px; color: var(--muted); }
.prop-map-addr .i { width: 18px; height: 18px; }
.map { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background-color: var(--paper-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { height: 100%; max-width: 440px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.map-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow-sm); color: var(--accent-ink); }
.prop-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.aside-price { font-size: 2.1rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.aside-price small { font-size: 0.5em; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.aside-sub { color: var(--muted); font-size: 14px; margin: 4px 0 22px; }
.aside-agent { display: flex; align-items: center; gap: 16px; padding: 18px 0; margin-bottom: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aside-agent-name { font-weight: 600; }
.aside-agent-role { font-size: 13px; color: var(--muted); }
.aside-actions { display: grid; gap: 10px; }
.form-card--aside { box-shadow: var(--shadow-sm); padding: 28px; }
.form-card--aside .form-grid { grid-template-columns: 1fr; gap: 14px; }
.form-card--aside .field input:not([type='checkbox']), .form-card--aside .field select { height: 50px; }
.mobile-bar { display: none; }

.similar { background: var(--paper-2); }
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; }

/* ---------- Galéria nagyító ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(12, 10, 8, 0.97); color: #fff; opacity: 0; transition: opacity 0.4s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.lightbox-count { font-size: 14px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.7); }
.lightbox-stage { position: relative; display: grid; padding: 0 84px; min-height: 0; touch-action: pan-y; }
.lightbox-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 0; animation: lb-in 0.5s var(--ease) both; }
.lightbox-slide picture { min-height: 0; display: flex; justify-content: center; }
.lightbox-slide img { max-width: 100%; max-height: calc(100vh - 230px); max-height: calc(100svh - 230px); width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox-slide figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.985); } }
.lightbox-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); transition: background-color 0.3s; }
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px 22px; justify-content: safe center; scrollbar-width: none; }
.lightbox-thumbs button { flex: none; width: 86px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: 0.45; transition: opacity 0.3s, border-color 0.3s; }
.lightbox-thumbs button:hover { opacity: 0.8; }
.lightbox-thumbs button.is-active { opacity: 1; border-color: var(--accent); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-open { overflow: hidden; }

/* ---------- Értékbecslés oldal ---------- */
.val-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 clamp(64px, 8vw, 120px); }
.val-grid { display: grid; grid-template-columns: 1fr minmax(0, 580px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.val-copy { padding-top: 12px; }
.val-points { display: grid; gap: 22px; margin-top: 44px; }
.val-points li { display: flex; gap: 16px; align-items: flex-start; }
.val-points .i { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: var(--accent-light); }
.val-points strong { display: block; font-weight: 600; margin-bottom: 2px; }
.val-points span { color: var(--on-dark-muted); font-size: 15px; }
.wizard-head { margin-bottom: 30px; }
.wizard-steps { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.wizard-steps li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color 0.3s; }
.wizard-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 12px; transition: background-color 0.4s, color 0.4s, border-color 0.4s; }
.wizard-steps li.is-active { color: var(--text); }
.wizard-steps li.is-active span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wizard-steps li.is-done span { background: var(--accent); border-color: var(--accent); color: #1a1109; }
.wizard-bar { height: 3px; border-radius: 2px; background: var(--paper-3); overflow: hidden; }
.wizard-bar i { display: block; height: 100%; width: var(--progress, 33.3%); background: var(--accent); transition: width 0.7s var(--ease); }
.wizard-step legend.form-title { float: left; width: 100%; }
.wizard-step legend + * { clear: both; }
.wizard-step.is-entering { animation: step-in 0.55s var(--ease) both; }
.wizard-step.is-entering-back { animation: step-in-back 0.55s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-18px); } }
.wizard-nav { display: flex; justify-content: flex-end; gap: 10px; }
.wizard-nav [data-prev] { margin-right: auto; }
.chips-field legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 14px; font-weight: 500; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips-field.is-invalid .chip span { border-color: var(--danger); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how { padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.how-no { display: block; margin-bottom: 26px; font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; color: var(--accent); }
.how h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.how p { color: var(--muted); }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 40px; max-width: 460px; }
.contact-list a, .contact-static { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line-dark); text-decoration: none; transition: background-color 0.3s, border-color 0.3s; }
.contact-list a:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }
.contact-list .i { width: 22px; height: 22px; color: var(--accent-light); }
.contact-list small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 2px; }

/* ---------- Egyéb oldalak ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--body); line-height: 1.75; margin-bottom: 1em; }
.notfound { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 64px; }
.notfound-inner { max-width: 900px; margin-left: max(var(--gutter), (100% - var(--container)) / 2); }

/* ---------- Értesítés ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 120; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; transform: translate(-50%, calc(100% + 48px)); visibility: hidden; transition: transform 0.6s var(--ease), visibility 0s 0.6s; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform 0.6s var(--ease); }
.toast .i { width: 18px; height: 18px; color: var(--accent-light); }

/* ---------- Befektetői portfólió: kategóriák, rólunk, részletfizetés ---------- */
.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; }
.header-call { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--accent); color: var(--ink); }
.header-call .i { width: 19px; height: 19px; }

.cats-wrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(64px, 8vw, 104px)); }
.page-listing .cats-wrap { margin-top: calc(-1 * clamp(28px, 4vw, 48px)); }
.cats-panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(20px, 2.6vw, 34px); }
.cats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 24px; }
.cats-head .eyebrow { margin-bottom: 12px; }
.cats-note { max-width: 25em; color: var(--muted); font-size: 15px; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-media { position: absolute; inset: 0; z-index: -2; }
.cat-media picture, .cat-media img { width: 100%; height: 100%; }
.cat-media img { object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.cat:hover .cat-media img { transform: scale(1.12); }
.cat-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 13, 11, 0.12) 0%, rgba(16, 13, 11, 0.28) 35%, rgba(16, 13, 11, 0.86) 72%, rgba(16, 13, 11, 0.94) 100%); }
.cat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; }
.cat-count { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.cat-range { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.cat-range strong { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.6rem, 1.6rem + 1.6vw, 3.6rem); line-height: 0.95; letter-spacing: -0.02em; }
.cat-range small { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.cat-label { font-size: 14.5px; font-weight: 600; }
.cat-inst { display: flex; align-items: center; gap: 7px; font-size: 12.5px; line-height: 1.35; color: var(--accent-light); }
.cat-inst .i { width: 16px; height: 16px; }
.cat-go { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform 0.6s var(--ease), background-color 0.4s; }
.cat-go .i { width: 18px; height: 18px; }
.cat:hover .cat-go { background: var(--accent); transform: translateX(3px); }
.cat--empty { background: radial-gradient(circle at 30% 20%, #3a3027, #15120f 70%); }
.cat--empty .cat-media img { filter: saturate(0.7) brightness(0.75); }
.cat--empty .cat-range strong, .cat--empty .cat-label { color: rgba(255, 255, 255, 0.72); }
.cat.is-current { outline: 3px solid var(--accent); outline-offset: 3px; }
.cats-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.cats-foot .i { width: 18px; height: 18px; color: var(--accent-ink); }

.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-letter > p:not(.eyebrow) { margin-top: 18px; font-size: 1.08rem; line-height: 1.8; color: var(--body); max-width: 40em; }
.about-letter h2 { margin-bottom: 8px; }
.signature { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.signature-name { font-family: var(--font-serif); font-style: italic; font-size: 2.3rem; line-height: 1; color: var(--accent-ink); }
.signature-role { color: var(--muted); font-size: 14px; }
.signature-role a { color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.about-stats .stat { padding: 22px 0 0; border-top-color: var(--line); }
.about-stats .stat::before { background: var(--accent); }
.about-stats .stat dd { color: var(--text); font-size: clamp(2.6rem, 1.8rem + 2vw, 3.8rem); }
.about-stats .stat dd small { color: var(--muted); font-size: 0.95rem; margin-right: 6px; }
.about-stats .stat dt { color: var(--muted); }
/* Hosszú szavak (főleg németül és ukránul): a rácsoszlopokat ne feszítsék szét, keskeny kijelzőn elválaszthatók. */
:where(.process-grid, .how-grid, .war-grid, .stats-grid, .about-grid, .early-grid, .contact-grid, .faq-grid, .val-grid, .wp-story-grid, .wp-hero-grid) > * { min-width: 0; }
@media (max-width: 600px) {
  h1, h2, h3, p, li, dt, dd, blockquote { overflow-wrap: break-word; }
  h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; }
}
@media (max-width: 600px) {
  /* Mobilon az előtag (közel, mintegy…) külön sorba kerül, hogy idegen nyelven is elférjen a két oszlop. */
  .about-stats > .stat { min-width: 0; padding-right: 0; }
  .about-stats .stat dd { font-size: 2.2rem; }
  .about-stats .stat dd small { display: block; margin: 0 0 6px; }
}

.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.comp { padding: 26px; border-radius: 20px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); transition: background-color 0.4s, border-color 0.4s; }
.comp:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); }
.comp .i { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(232, 178, 127, 0.12); color: var(--accent-light); margin-bottom: 22px; }
.comp h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.comp p { color: var(--on-dark-muted); font-size: 14.5px; }
.comp--wide { grid-column: span 2; border-color: rgba(232, 178, 127, 0.4); background: linear-gradient(135deg, rgba(200, 127, 67, 0.18), rgba(200, 127, 67, 0.04)); }

.early { background: var(--paper-2); }
.early-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.early-bar { display: grid; gap: 16px; margin: 34px 0 30px; }
/* Minden sáv alatt a sávval egyforma hosszú nyíl: az ár a készültséggel nő. */
.early-step { width: var(--w); }
.early-step span { position: relative; display: block; padding: 12px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.early-step:nth-child(2) span { background: var(--accent-soft); border-color: transparent; }
.early-step:nth-child(3) span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.early-arrow { position: relative; display: block; height: 12px; margin-top: 7px; }
.early-arrow::before { content: ''; position: absolute; left: 2px; right: 3px; top: 5px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 180ms + 250ms); }
.early-arrow::after { content: ''; position: absolute; right: 2px; top: 1px; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); transition: opacity 0.4s; transition-delay: calc(var(--d, 0) * 180ms + 1050ms); }
.js .early-bar:not(.is-in) .early-arrow::before { transform: scaleX(0); }
.js .early-bar:not(.is-in) .early-arrow::after { opacity: 0; }
/* Kiemelt megjegyzés: a korábban megvásárolt ingatlant is határidőre befejezzük. */
.early-note { display: flex; gap: 14px; align-items: flex-start; max-width: 38em; padding: 18px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); box-shadow: var(--shadow-sm); color: var(--text); font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); font-weight: 500; line-height: 1.6; }
.early-note .i { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--accent-ink); }
.pay { padding: clamp(24px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pay-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; margin-bottom: 20px; }
.pay-title .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.pay-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 14.5px; }
.pay-table th, .pay-table td { text-align: left; padding: 13px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pay-table thead th { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 0; }
.pay-table tbody th a { font-weight: 600; text-decoration: none; }
.pay-table tbody th a:hover { color: var(--accent-ink); }
.pay-table td strong { color: var(--success); }
.pay-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.pay-note .i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-ink); }

.band { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.band p { color: var(--on-dark-muted); margin-top: 12px; max-width: 36em; }
.band .display-m em { color: var(--accent-light); }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.inst-box { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 420px; }
.inst-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.inst-title { font-weight: 600; }
.inst-text { font-size: 14px; color: var(--on-dark-muted); }
.tabs--cats { flex-wrap: wrap; }
.district-bar { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 22px; padding: 16px 18px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.district-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.district-label .i { width: 18px; height: 18px; color: var(--accent-ink); }
.chips--districts { gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 14px; font-weight: 600; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chip-btn span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 11.5px; background: var(--paper-3); color: var(--text); }
.chip-btn:hover { border-color: var(--text); }
.chip-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-btn.is-active span { background: var(--accent); color: var(--ink); }
.section--listing .results-count { margin-bottom: 20px; }

.badge--id { background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.badge--stage { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge--done { background: rgba(63, 122, 85, 0.92); color: #fff; }
.badge--progress { background: rgba(200, 127, 67, 0.95); color: #1a1109; }
.badge--before { background: rgba(21, 18, 15, 0.72); color: #fff; }
.badge--plan { background: rgba(38, 66, 98, 0.92); color: #fff; }
.prop-badges .badge--id { background: var(--ink); color: var(--paper); }

.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fin-card { padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); font-size: 15px; color: var(--body); }
.fin-card p + p { margin-top: 10px; }
.fin-card--accent { background: var(--accent-soft); border-color: transparent; }
.fin-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.fin-label .i { width: 18px; height: 18px; }
.fin-big { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: var(--text); margin-top: 12px !important; }
.fin-total { padding-top: 12px; border-top: 1px solid rgba(28, 24, 20, 0.12); }
.fin-total strong { white-space: nowrap; }
.fin-small { font-size: 13px; color: var(--muted); }
.invest-note { position: relative; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--on-dark-muted); }
.invest-note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-light); }

.owner { display: flex; align-items: center; gap: 16px; }
.owner-avatar { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-serif); font-size: 1.5rem; background: radial-gradient(circle at 30% 25%, #edc497, #c27a3f 52%, #6b3916); }
.owner-avatar::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--line-strong); }
.owner-name { font-weight: 600; font-size: 1.05rem; }
.owner-role { font-size: 13.5px; color: var(--muted); }
.owner--compact .owner-avatar { width: 50px; height: 50px; font-size: 1.15rem; }
.owner-hero { margin-bottom: 30px; }
.owner-hero .owner-avatar { width: 96px; height: 96px; font-size: 2.2rem; }
.owner-hero .owner-name { font-family: var(--font-serif); font-weight: 400; font-size: 2.2rem; line-height: 1.05; }
.contact-list--light a, .contact-list--light .contact-static { border-color: var(--line); color: var(--text); background: var(--white); }
.contact-list--light a:hover { background: var(--paper-2); border-color: var(--line-strong); }
.contact-list--light small { color: var(--muted); }
.contact-list--light .i { color: var(--accent-ink); }
.contact-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; color: var(--muted); font-size: 14.5px; max-width: 34em; }
.contact-note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-ink); }
.page-contact .contact .display-m { margin-bottom: 4px; }

/* ---------- Vízszigetelés és garancia ---------- */
.hero-phase .hero-ctas .btn-sm { margin-top: -8px; }
.tub { width: 100%; height: auto; display: block; }
.tub-soil { opacity: 0.9; }
.tub-hatch { stroke: rgba(232, 178, 127, 0.16); stroke-width: 2; }
.tub-ground { stroke: rgba(244, 238, 229, 0.5); stroke-width: 2; stroke-dasharray: 6 6; }
.tub-wall { fill: none; stroke: #6d5f50; stroke-width: 18; stroke-linejoin: round; }
.tub-coat { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(200, 127, 67, 0.55)); }
.tub-room { fill: rgba(244, 238, 229, 0.06); }
.tub-room-label { fill: var(--on-dark); font-family: var(--font-serif); font-size: 24px; }
.tub-label, .tub-note { fill: var(--on-dark-muted); font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.tub-note--accent { fill: var(--accent-light); }
.tub-in path, .tub-out path { fill: none; stroke: #7fb3e0; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.tub-out path { stroke-dasharray: 2 0; opacity: 0.85; }
.tub-stop circle { fill: var(--ink); stroke: var(--accent-light); stroke-width: 2.5; }
.tub-stop-x path { stroke: var(--accent-light); stroke-width: 2.5; stroke-linecap: round; }

.wp-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 clamp(56px, 7vw, 110px); }
.wp-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.wp-hero .display-xl { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); }
.wp-hero-card { padding: clamp(14px, 2vw, 26px); border-radius: var(--radius-lg); background: rgba(21, 18, 15, 0.55); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.wp-story { background: var(--paper-2); }
.wp-story-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.wp-quote { position: relative; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wp-quote .q { color: var(--accent); }
.wp-quote blockquote p { margin-top: 14px; color: var(--body); font-size: 1.05rem; line-height: 1.75; }
.wp-quote blockquote .wp-quote-lead { margin: 0 0 20px; font-family: var(--font-serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
.wp-quote blockquote .wp-quote-end { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text); font-weight: 500; }
.wp-quote figcaption { margin-top: 20px; color: var(--muted); font-size: 14px; }
.wp-facts { display: grid; gap: 22px; }
.wp-facts div { display: flex; flex-direction: column-reverse; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.wp-facts dd { font-family: var(--font-serif); font-size: clamp(2.6rem, 1.8rem + 2vw, 3.8rem); line-height: 1; color: var(--accent-ink); }
.wp-facts dt { color: var(--muted); font-size: 15px; }
.wp-points { display: grid; gap: 14px; }
.wp-points li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); }
.wp-points .i { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(232, 178, 127, 0.14); color: var(--accent-light); }
.wp-points strong { display: block; margin-bottom: 2px; }
.wp-points span { color: var(--on-dark-muted); font-size: 15px; }
.wp-why .section-lead { margin-bottom: 30px; }
.war-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.war { padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.war:first-child { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.war-big { display: block; font-family: var(--font-serif); font-size: clamp(3.6rem, 2.4rem + 3vw, 5.6rem); line-height: 0.95; color: var(--accent-ink); }
.war:first-child .war-big { color: var(--accent-light); }
.war h3 { font-size: 1.2rem; font-weight: 600; margin: 14px 0 8px; }
.war p { color: var(--muted); }
.war:first-child p { color: var(--on-dark-muted); }
.war-claims span { display: block; color: var(--text); font-weight: 500; }
.war-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 48px); margin-bottom: clamp(28px, 3.4vw, 44px); max-width: 1040px; color: var(--body); font-size: 1.05rem; line-height: 1.75; }
.war-quote { margin-top: clamp(36px, 4.4vw, 60px); max-width: 26em; font-family: var(--font-serif); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--text); }
.war-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; max-width: 62em; color: var(--muted); font-size: 14.5px; }
.war-note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-ink); }

.wp-teaser { position: relative; overflow: hidden; }
.wp-teaser::before { content: ''; position: absolute; width: 70vw; height: 70vw; left: -30vw; bottom: -40vw; border-radius: 50%; background: radial-gradient(circle, rgba(127, 179, 224, 0.12), transparent 65%); pointer-events: none; }
.wp-teaser-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.wp-teaser-media { padding: clamp(14px, 2vw, 24px); border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); }
.wpt-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 32px; }
.wpt-facts div { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.wpt-facts dd { order: -1; font-family: var(--font-serif); font-size: clamp(1.9rem, 1.4rem + 1vw, 2.6rem); line-height: 1; color: var(--accent-light); white-space: nowrap; }
.wpt-facts dt { font-size: 13.5px; color: var(--on-dark-muted); }
.wp-inline { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: var(--on-dark); text-decoration: none; font-size: 14.5px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); max-width: 68ch; }
.wp-inline:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.wp-inline > .i:first-child { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(127, 179, 224, 0.16); color: #9cc6ea; }
.wp-inline > .i:last-child { flex: none; width: 18px; height: 18px; margin-left: auto; color: var(--accent-light); }
.wp-inline strong { color: #fff; }

/* ---------- Görgetési animációk ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .media-reveal { clip-path: inset(12% 10% 0 10% round var(--radius)); transition: clip-path 1.5s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 100ms); }
.js .is-in .media-reveal { clip-path: inset(0 0 0 0 round var(--radius)); }

/* Oldalváltás (View Transitions) – a kártyakép átúszik az adatlapra */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms var(--ease) both vt-out; }
::view-transition-new(root) { animation: 520ms var(--ease) both vt-in; }
::view-transition-group(*) { animation-duration: 0.6s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Reszponzív ---------- */
@media (max-width: 1200px) {
  .header-phone span { display: none; }
  .main-nav ul { gap: 26px; }
  .search-fields { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .search-fields .field:first-child { grid-column: 1 / -1; }
  .search-submit { grid-column: 4; }
  .filters-panel { grid-template-columns: 1fr 1fr 1fr; }
  .filters-panel .field--grow { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .invest-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Keskenyebb asztali nézet: a telefonszám helyett csak a hívás ikon, hogy a menü (idegen nyelven is) elférjen. */
@media (max-width: 1240px) {
  .header-inner { gap: 24px; }
  .main-nav ul { gap: 24px; }
  .header-actions { gap: 12px; }
  .header-cta { display: none; }
  .header-call { display: grid; }
}

@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .main-nav, .header-cta, .lang-menu { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .card--row .card-link { flex-direction: column; }
  .card--row .card-media { width: 100%; aspect-ratio: 4 / 3; }
  .card--large .card-media { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .valuation-grid, .faq-grid, .contact-grid, .val-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr 1fr; }
  .stats-head { grid-template-columns: 1fr; }
  .prop-layout { grid-template-columns: 1fr; }
  .prop-aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .how-grid { grid-template-columns: 1fr; }
  .mobile-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.6s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar-price { font-weight: 650; font-size: 1.1rem; letter-spacing: -0.02em; }
  .mobile-bar-sub { font-size: 12.5px; color: var(--muted); }
  .page-property .site-footer { padding-bottom: 100px; }
}

@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .search-head { flex-direction: column; align-items: flex-start; }
  .search-card { padding: 20px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-submit { grid-column: 1 / -1; }
  .featured-side { grid-template-columns: 1fr; }
  .split-grid { flex-direction: column; height: auto; }
  .split-panel { flex: none !important; height: 400px; }
  .agents-grid { grid-template-columns: 1fr; }
  .agents-list .agent { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-body { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .filters { padding: 12px; }
  .filters-toggle { display: inline-flex; width: 100%; }
  .filters-panel { display: none; grid-template-columns: 1fr; padding-top: 14px; }
  .filters.is-open .filters-panel { display: grid; }
  .listing-cta { flex-direction: column; align-items: flex-start; }
  .prop-head { flex-direction: column; align-items: flex-start; }
  .prop-head-side { flex-direction: row-reverse; align-items: center; justify-content: space-between; width: 100%; }
  .prop-aside { grid-template-columns: 1fr; }
  .gallery-grid { display: flex; height: 320px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; gap: 8px; }
  .gallery-tile { flex: 0 0 86%; scroll-snap-align: start; border-radius: var(--radius); }
  .gallery--1 .gallery-tile { flex-basis: 100%; }
  .gallery-tile .gallery-more { display: none; }
  .gallery-all { right: 12px; bottom: 12px; }
  .facts { grid-template-columns: 1fr; }
  .rooms li { grid-template-columns: 1fr 70px; }
  .rooms-bar { grid-column: 1 / -1; grid-row: 2; }
  .prop-highlights { grid-template-columns: 1fr 1fr; }
  .prop-highlights li { border-bottom: 1px solid var(--line); }
  .prop-highlights li:nth-child(2n), .prop-highlights li:last-child { border-right: 0; }
  .prop-highlights li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .prop-highlights li:last-child, .prop-highlights li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .lightbox-stage { padding: 0 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: calc(26px + env(safe-area-inset-bottom)); transform: none; width: 44px; height: 44px; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
  .lightbox-thumbs { padding-left: 76px; padding-right: 76px; }
  .lightbox-slide img { max-height: calc(100svh - 250px); }
  .wizard-steps li { font-size: 0; gap: 0; }
  .wizard-steps li span { font-size: 12px; }
  .wizard-steps li.is-active { font-size: 13px; gap: 9px; }
  .stat { padding-right: 12px; }
  .field input:not([type='checkbox']):not([type='radio']):not([type='range']), .field select, .field textarea { font-size: 16px; }
}

/* Hero álló képernyőn: a ház teljes szélességben, alatta a szöveg */
@media (max-aspect-ratio: 1 / 1) {
  .hero { height: 380vh; }
  .hero-poster img { width: 145vw; left: 50%; top: 34%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(16, 13, 11, 0.55) 0%, rgba(16, 13, 11, 0) 18%), linear-gradient(0deg, rgba(16, 13, 11, 0.95) 0%, rgba(16, 13, 11, 0.84) 36%, rgba(16, 13, 11, 0) 64%); }
  .hero-content { padding-bottom: clamp(40px, 9svh, 96px); }
  .hero-steps, .hero-cue { display: none; }
  .hero-title { font-size: clamp(2.4rem, 1.2rem + 6.5vw, 4.4rem); margin-bottom: 18px; }
  .hero-lead { font-size: 1rem; }
}
@media (max-aspect-ratio: 1 / 1) and (min-width: 600px) {
  .hero-poster img { width: 125vw; top: 36%; }
}
@media (max-width: 420px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* Csökkentett mozgás */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .media-reveal { clip-path: none; }
  @view-transition { navigation: none; }
}

/* ---------- Befektetői portfólió – reszponzív ---------- */
@media (max-width: 1200px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat { min-height: 300px; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .header-call { display: grid; }
  .about-grid, .early-grid { grid-template-columns: 1fr; }
  .about-stats { position: static; }
  .cats-head { flex-direction: column; align-items: flex-start; }
  .band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr; }
  .cat { min-height: 200px; }
  .cat-range strong { font-size: 2.6rem; }
  .comp-grid { grid-template-columns: 1fr; }
  .comp--wide { grid-column: auto; }
  .fin-grid { grid-template-columns: 1fr; }
  .pay-table th, .pay-table td { padding: 11px 4px; font-size: 13.5px; }
  .district-bar { padding: 14px; }
  .early-step { width: max(var(--w), 11em); max-width: 100%; }
  .early-step span { white-space: normal; }
}

/* ---------- Vízszigetelés – reszponzív ---------- */
@media (max-width: 1280px) {
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: 14px; }
}
@media (max-width: 1000px) {
  .wp-hero-grid, .wp-story-grid, .wp-teaser-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .war-grid, .war-intro { grid-template-columns: 1fr; }
  .wpt-facts { grid-template-columns: 1fr; gap: 14px; }
}


@media (max-width: 360px) {
  .pay-table th, .pay-table td { padding: 10px 3px; font-size: 12.5px; }
  .pay-table thead th { letter-spacing: 0.03em; }
}

/* impresszum */
.legal-list { display: grid; gap: 10px; margin: 18px 0 34px; }
.legal-list div { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); }
.legal-list dt { font-weight: 600; }
@media (max-width: 560px) { .legal-list div { grid-template-columns: 1fr; gap: 2px; } }
