/* =========================================================
   Nét Holding Kft. – nyilvános weboldal
   Arculati szín: #51879F (logó)
   ========================================================= */

:root {
  /* Márka */
  --brand: #51879F;
  --brand-strong: #3B6B81;   /* gombok, linkek – 5.4:1 a háttéren */
  --brand-deep: #24485A;
  --brand-ink: #132C38;
  --brand-tint: #E9F1F4;
  --brand-tint-2: #D3E3EA;

  /* Meleg kiegészítő (természet) */
  --sand: #B89C6E;
  --sand-strong: #7C643D;
  --sand-tint: #F3EDE3;

  /* Felületek és szöveg */
  --bg: #F8F6F2;
  --surface: #FFFFFF;
  --surface-2: #F1EEE8;
  --text: #15232B;
  --text-2: #43535C;
  --text-3: #5F6C74;
  --line: #E4DFD6;
  --line-strong: #CEC7BB;
  --on-dark: #F4F7F8;
  --on-dark-2: #B9CBD3;

  /* Állapot */
  --success: #2F7D5B;
  --warning: #9A5F0C;
  --warning-tint: #FBF0DC;

  /* Tipográfia */
  --font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Forma */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 44, 56, .06), 0 1px 1px rgba(19, 44, 56, .04);
  --shadow: 0 10px 30px -12px rgba(19, 44, 56, .18), 0 2px 6px rgba(19, 44, 56, .05);
  --shadow-lg: 0 30px 60px -20px rgba(19, 44, 56, .35);

  /* Mozgás */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 150ms;
  --dur: 240ms;
  --dur-slow: 600ms;

  --header-h: 76px;
  --gutter: 16px;
  --container: 1240px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 84px; } }

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--brand-ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Gombok ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: .95rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { width: 18px; height: 18px; }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { --btn-bg: var(--brand-strong); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--brand-deep); box-shadow: 0 8px 20px -10px rgba(36, 72, 90, .7); }
.btn--outline { --btn-bd: var(--line-strong); --btn-bg: var(--surface); }
.btn--outline:hover { --btn-bd: var(--brand-strong); --btn-fg: var(--brand-deep); }
.btn--ghost { --btn-fg: var(--text-2); }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-fg: var(--text); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand-ink); }
.btn--light:hover { --btn-bg: var(--brand-tint); }
.btn--ghost-light { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: #fff; }
.btn--light .icon { transition: transform var(--dur) var(--ease); }
.btn--light:hover .icon { transform: translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }

/* ---------- Tipográfiai elemek ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-strong);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: #E6D6B8; }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--row { max-width: none; display: grid; gap: 16px 48px; align-items: end; }
@media (min-width: 900px) { .section-head--row { grid-template-columns: 1.2fr 1fr; } }
.section-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); letter-spacing: -.01em; color: var(--brand-ink);
}
.section-lead { margin-top: 16px; font-size: 1.075rem; color: var(--text-2); max-width: 60ch; }
.section-head--row .section-lead { margin-top: 0; }

/* ---------- Fejléc ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-header.is-scrolled {
  color: var(--brand-ink);
  background: rgba(248, 246, 242, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; color: inherit; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-word { width: 62px; height: 30px; margin-top: -6px; }
.brand-sub { font-family: var(--font-display); font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; opacity: .8; line-height: 1; }
.site-header:not(.is-scrolled) .brand-mark { color: #fff; }
.site-header.is-scrolled .brand-mark { color: var(--brand); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: inherit; text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 999px;
  transition: background-color var(--dur-fast) var(--ease);
}
.main-nav ul a:hover { background: rgba(255, 255, 255, .14); }
.site-header.is-scrolled .main-nav ul a:hover { background: var(--surface-2); }
.site-header:not(.is-scrolled) .nav-cta { --btn-bg: rgba(255, 255, 255, .14); --btn-bd: rgba(255, 255, 255, .35); }
.site-header:not(.is-scrolled) .nav-cta:hover { --btn-bg: #fff; --btn-fg: var(--brand-ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit;
  border-color: rgba(127, 127, 127, .35);
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg); color: var(--brand-ink); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { width: 100%; font-size: 1.1rem; padding: 0 12px; }
  .main-nav ul a:hover { background: var(--surface-2) !important; }
  .main-nav .nav-cta { --btn-bg: var(--brand-strong) !important; --btn-fg: #fff !important; --btn-bd: transparent !important; min-height: 52px; }
  .site-header.nav-open { color: var(--brand-ink); background: var(--bg); }
  .site-header.nav-open .brand-mark { color: var(--brand); }
  .site-header.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(40px, 7vw, 88px);
  color: #fff; background: var(--brand-ink);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); animation: hero-zoom 14s var(--ease-out) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 44, 56, .92) 0%, rgba(19, 44, 56, .72) 38%, rgba(19, 44, 56, .25) 72%, rgba(19, 44, 56, .15) 100%),
    linear-gradient(0deg, rgba(19, 44, 56, .7) 0%, rgba(19, 44, 56, 0) 45%);
}
@keyframes hero-zoom { to { transform: scale(1); } }

.hero-inner { display: grid; gap: 40px; align-items: end; }

.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.25rem); line-height: 1.02; letter-spacing: -.02em;
  max-width: 13ch;
}
.hero-title em { font-style: normal; color: #CFE2EA; display: block; }
.hero-lead { margin-top: 24px; max-width: 54ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(244, 247, 248, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Űrlapelemek ---------- */
input[type="search"], input:not([type]), input[type="text"], input[type="number"], select {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-size: 1rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
input::placeholder { color: #7C878D; }
input:hover, select:hover { border-color: #B5AD9F; }
input:focus, select:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 3px rgba(81, 135, 159, .22); }
input:disabled { background: var(--surface-2); color: var(--text-3); cursor: not-allowed; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-3); width: 18px; height: 18px; }
.select-wrap--inline select { min-height: 44px; border-radius: 999px; background: var(--surface); font-weight: 500; font-size: .95rem; }

/* ---------- Szolgáltatások ---------- */
.service-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) and (max-width: 1023px) { .service-grid > .service:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.service {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 32px 28px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service__num { position: absolute; top: 28px; right: 28px; font-family: var(--font-display); font-size: .85rem; letter-spacing: .12em; color: var(--text-3); }
.service__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px;
  border-radius: 14px; background: var(--brand-tint); color: var(--brand-deep);
}
.service__icon .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.service__icon .icon--wide { width: 32px; height: 26px; }
.service__title { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--brand-ink); }
.service p { color: var(--text-2); }
.service--expert { background: var(--sand-tint); border-color: #E7DCC8; }
.service--expert .service__icon { background: #fff; color: var(--sand-strong); }
.service__link {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--brand-deep); text-decoration: none; min-height: 44px;
}
.service__link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.service__link:hover .icon { transform: translateX(4px); }
.service__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service__cta {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--brand-deep); font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.service__cta .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.service__cta:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.service__cta:hover .icon { transform: translateX(3px); }
.service__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 0 24px; }
.service__links .service__link { margin-top: 0; padding-top: 0; }
.service__links .service__link::after { display: none; }

/* ---------- Hirdetések ---------- */
.listings { background: linear-gradient(180deg, var(--bg) 0%, #F3F0EA 100%); border-top: 1px solid var(--line); }
@keyframes fade-in { from { opacity: 0; } }

.results__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results__count { font-size: 1rem; color: var(--text-2); }
.results__count strong { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--brand-ink); margin-right: 2px; }
.results__tools { display: flex; gap: 8px; align-items: center; }
/* Kártyák */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.card {
  position: relative; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--brand-strong); outline-offset: 3px; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.card__noimg { position: absolute; inset: 0; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.card__noimg .icon { width: 56px; height: 56px; stroke-width: 1.2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out), opacity var(--dur) var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255, 255, 255, .94); color: var(--brand-ink);
}
.badge--sale { background: var(--brand-ink); color: #fff; }
.badge--rent { background: #fff; color: var(--brand-deep); }
.badge--reserved { background: var(--warning-tint); color: var(--warning); }
.badge--new { background: var(--sand-tint); color: var(--sand-strong); }
.badge--soft { background: var(--surface-2); color: var(--text-2); }
.card__count {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(19, 44, 56, .7); color: #fff; font-size: .78rem; font-weight: 500;
}
.card__count .icon { width: 14px; height: 14px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.card__price { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--brand-ink); line-height: 1.2; }
.card__price .price-na { font-size: 1.1rem; font-weight: 400; color: var(--text-2); }
.card__price small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--text-3); }
.card__title { font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__loc { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--text-3); }
.card__loc .icon { width: 15px; height: 15px; }
.card__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-2); }
.card__facts li { display: inline-flex; align-items: center; gap: 6px; }
.card__facts .icon { width: 16px; height: 16px; color: var(--brand); }
.card--reserved .card__media img { filter: saturate(.75); }

.card--skeleton { min-height: 400px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state > .icon { width: 36px; height: 36px; color: var(--brand); margin: 0 auto 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--brand-ink); }
.empty-state p { margin: 10px auto 0; max-width: 46ch; color: var(--text-2); }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

.load-more { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Kapcsolat ---------- */
.contact { position: relative; overflow: hidden; background: var(--brand-ink); color: var(--on-dark); padding-block: clamp(72px, 9vw, 120px); }
.contact::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 600px; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,2 91.57,26 91.57,74 50,98 8.43,74 8.43,26' fill='none' stroke='white' stroke-width='1.2'/%3E%3Cpath fill='white' fill-rule='evenodd' d='M50 13 82.04 31.5V68.5L50 87 17.96 68.5V31.5ZM50 37 61.26 43.5V56.5L50 63 38.74 56.5V43.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.contact-inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .contact-inner { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.contact .section-title { color: #fff; }
.contact-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--on-dark-2); font-size: 1.075rem; max-width: 52ch; }
.contact-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.contact-topics a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); color: var(--on-dark); text-decoration: none; font-size: .9rem;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.contact-topics a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
  padding: 24px 26px; border-radius: var(--radius-lg); text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.contact-card:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.contact-card__icon { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand); color: #fff; }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.contact-card__value { font-family: var(--font-display); font-size: clamp(1.15rem, .95rem + .8vw, 1.5rem); overflow-wrap: break-word; min-width: 0; }

/* ---------- Lábléc ---------- */
.site-footer { background: #0E212A; color: var(--on-dark-2); padding: 56px 0 28px; font-size: .92rem; }
.footer-inner { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } }
.brand--footer { color: #fff; }
.brand--footer .brand-mark { color: var(--brand); }
.footer-brand p { margin-top: 14px; }
.footer-nav, .footer-contact { display: grid; gap: 4px; justify-items: start; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { padding-top: 22px; font-size: .84rem; color: #8FA4AD; }

/* ---------- Hirdetés részletei (dialog) ---------- */
.listing-dialog {
  width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.listing-dialog::backdrop { background: rgba(14, 33, 42, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.listing-dialog[open] { animation: dlg-in 360ms var(--ease-out); }
.listing-dialog[open]::backdrop { animation: fade-in 300ms var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.dlg { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }

.dlg__top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 12px 16px; background: rgba(248, 246, 242, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.dlg__top-actions { display: flex; gap: 8px; }

.gallery { padding: 16px 16px 0; }
.gallery__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1A2E38; touch-action: pan-y; user-select: none; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: opacity 220ms var(--ease); }
.gallery__img.is-loading { opacity: .35; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--brand-ink); box-shadow: var(--shadow);
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__counter { position: absolute; right: 14px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(19, 44, 56, .72); color: #fff; font-size: .82rem; font-weight: 500; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--radius-xs); overflow: hidden; background: var(--surface-2); opacity: .65; transition: opacity var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { opacity: 1; border-color: var(--brand-strong); }
.gallery--single .gallery__nav, .gallery--single .gallery__thumbs { display: none; }

.dlg__body { display: grid; gap: 28px; padding: 24px 24px 32px; }
@media (min-width: 900px) { .dlg__body { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 28px 32px 40px; } }
.dlg__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.dlg__badges .badge--rent { border: 1px solid var(--brand-tint-2); }
.dlg__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); color: var(--brand-ink); }
.dlg__loc { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--text-2); }
.dlg__loc .icon { width: 18px; height: 18px; color: var(--brand); }
.dlg__h { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--brand-ink); margin: 32px 0 12px; }
.dlg__desc p + p { margin-top: 12px; }
.dlg__desc { color: var(--text-2); max-width: 68ch; }

.facts { display: flex; flex-wrap: wrap; gap: 1px; margin: 28px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { flex: 1 1 160px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface); min-width: 0; }
.fact dd { overflow-wrap: anywhere; }
.fact .icon { width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.fact dt { font-size: .78rem; color: var(--text-3); letter-spacing: .02em; }
.fact dd { margin: 2px 0 0; font-weight: 500; color: var(--text); line-height: 1.35; }

.feature-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 20px; }
.feature-list li { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.feature-list .icon { width: 18px; height: 18px; color: var(--success); stroke-width: 2.2; }

/* Videók (TikTok, Facebook Reels) */
.video-block { scroll-margin-top: 84px; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 480px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.vcard { min-width: 0; }
.vplayer { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.vplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplayer__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 500; font-size: .85rem; color: var(--brand-strong); }
.vplayer__link .icon { width: 14px; height: 14px; }
.badge--video { border: 0; cursor: pointer; background: #111; color: #fff; font: inherit; font-size: .78rem; font-weight: 600; }
.badge--video .icon, .card__video .icon { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.card__video { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(17, 17, 17, .82); color: #fff; font-size: .78rem; font-weight: 600; }

.dlg__side { align-self: start; }
@media (min-width: 900px) { .dlg__side { position: sticky; top: 84px; } }
.price-card { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.price-card__label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.price-card__price { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.1; color: var(--brand-ink); }
.price-card__sub { font-size: .9rem; color: var(--text-3); margin-top: -6px; margin-bottom: 8px; }
.price-card__sub:empty { display: none; }

@media (max-width: 640px) {
  .listing-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .dlg { max-height: 100dvh; height: 100%; padding-bottom: 96px; }
  .gallery { padding: 0; }
  .gallery__stage { border-radius: 0; aspect-ratio: 4 / 3; }
  .gallery__thumbs { padding-inline: 16px; }
  .gallery__nav { width: 44px; height: 44px; }
  .dlg__body { padding: 20px 16px 24px; }
  .price-card { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -10px 30px -12px rgba(19, 44, 56, .25); }
  .price-card__label, .price-card__price, .price-card__sub { display: none; }
  .price-card .btn { min-height: 50px; padding-inline: 12px; font-size: .9rem; }
  .dlg__mobile-price { display: block !important; }
  .price-card .lbl-long { display: none; }
  .price-card .lbl-short { display: inline; }
}
.lbl-short { display: none; }
.dlg__mobile-price { display: none; margin-top: 16px; font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; color: var(--brand-ink); }
.dlg__mobile-price small { display: block; font-family: var(--font-body); font-size: .88rem; font-weight: 400; color: var(--text-3); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 12px 22px 12px 14px; border-radius: 999px; background: var(--brand-ink); color: #fff; font-size: .92rem;
  box-shadow: var(--shadow-lg); animation: toast-in 420ms var(--ease-out);
}
.toast:not(:has(.toast__icon)) { padding-left: 22px; }
.toast.is-leaving { animation: toast-out 240ms var(--ease) forwards; }
.toast__text { display: grid; gap: 1px; line-height: 1.3; }
.toast__text strong { font-weight: 600; }
.toast__text small { color: var(--on-dark-2); font-size: .82rem; }
.toast__icon {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--success); animation: toast-pop 420ms var(--ease-out) 80ms both;
}
.toast__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; animation: toast-check 360ms var(--ease-out) 260ms forwards; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 18px) scale(.94); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 10px) scale(.97); } }
@keyframes toast-pop { from { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } to { transform: scale(1); } }
@keyframes toast-check { to { stroke-dashoffset: 0; } }

/* ---------- Megjelenési animáció ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

@media (forced-colors: active) {
  .btn, .card { border: 1px solid CanvasText; }
}

@media print {
  .site-header, .results__bar, .hero-media, .contact::before { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; }
}
