/* =========================================================
   Home Key Ingatlan — Design System
   Brand: deep navy (#0F3470) + warm orange (#E58217)
   ========================================================= */

:root {
  /* Brand colors */
  --hk-navy: #0F3470;
  --hk-navy-dark: #0A2550;
  --hk-navy-deep: #061833;
  --hk-orange: #E58217;
  --hk-orange-light: #F39C3D;
  --hk-orange-dark: #C26A0E;

  /* Neutrals */
  --hk-cream: #FAF7F2;
  --hk-warm-white: #FDFBF7;
  --hk-bg: #FFFFFF;
  --hk-bg-alt: #F5F2EC;
  --hk-text: #1F2937;
  --hk-text-mute: #6B7280;
  --hk-text-soft: #9CA3AF;
  --hk-border: #E5E7EB;
  --hk-border-soft: #F0EDE6;

  /* Type scale */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizes */
  --container-max: 1240px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 52, 112, 0.06), 0 1px 2px rgba(15, 52, 112, 0.04);
  --shadow: 0 4px 12px rgba(15, 52, 112, 0.08), 0 2px 4px rgba(15, 52, 112, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 52, 112, 0.10), 0 4px 8px rgba(15, 52, 112, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 52, 112, 0.14);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t: 250ms cubic-bezier(.4,0,.2,1);
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);

  /* Header height */
  --header-h: 74px;
  --header-h-sm: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hk-text);
  background: var(--hk-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--hk-navy); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--hk-orange); }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
hr { border: none; border-top: 1px solid var(--hk-border); margin: 0; }

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--hk-navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--hk-navy);
  line-height: 1.18;
  margin: 0 0 .6em 0;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.9rem, 4vw, 3.05rem); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hk-orange);
  margin-bottom: 0.8rem;
}
.lead {
  font-size: 1.18rem;
  color: var(--hk-text-mute);
  line-height: 1.7;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head .lead { margin-top: 1rem; }
/* Horgony-célok eltolása a fix fejléc alól (pl. menü → #bemutatkozas) */
:target, #bemutatkozas { scroll-margin-top: 92px; }
.text-orange { color: var(--hk-orange); }
.text-navy { color: var(--hk-navy); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--hk-bg-alt); }
.section--cream { background: var(--hk-cream); }
.section--navy { background: var(--hk-navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: rgba(255,255,255,.78); }
.section--navy .eyebrow { color: var(--hk-orange-light); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--hk-orange);
  outline-offset: 3px;
}
.btn:active { transform: translateY(0) scale(0.99); box-shadow: none; }
.btn--primary {
  background: var(--hk-orange);
  color: #fff;
  border-color: var(--hk-orange);
  box-shadow: 0 6px 16px rgba(229, 130, 23, 0.22);
}
.btn--primary:hover {
  background: var(--hk-orange-dark);
  border-color: var(--hk-orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(229, 130, 23, 0.34);
}
.btn--secondary {
  background: var(--hk-navy);
  color: #fff;
  border-color: var(--hk-navy);
}
.btn--secondary:hover {
  background: var(--hk-navy-dark);
  border-color: var(--hk-navy-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--hk-navy);
  border-color: var(--hk-navy);
}
.btn--ghost:hover {
  background: var(--hk-navy);
  color: #fff;
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--hk-navy);
}
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--hk-border-soft);
  transition: box-shadow var(--t), border-color var(--t);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(15,52,112,.04), 0 8px 24px rgba(15,52,112,.06);
  border-bottom-color: transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.site-logo { display: flex; align-items: center; height: 42px; }
.site-logo img, .site-logo svg { height: 42px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
/* WP nav menu: <li> wrappers reset (no bullets, inline) */
.site-nav ul,
.site-nav .menu,
.site-nav .site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a {
  color: #003c6f;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.01em;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--hk-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--hk-orange); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Fejléc CTA gomb (menü jobb oldalán) — mobilon is látható (a hamburger mellett). */
.header-cta { white-space: nowrap; }
@media (max-width: 480px) { .header-cta { padding: 8px 14px; font-size: 0.8rem; } }

/* ---------- Demján Sándor Program — kötelező nyilvánossági sáv ---------- */
.dsp-strip {
  background: #fff;
  border-top: 1px solid var(--hk-border-soft);
  padding: 32px 0;
  text-align: center;
}
.dsp-strip__text {
  margin: 0 0 22px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--hk-navy);
}
.dsp-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 60px);
  flex-wrap: wrap;
}
.dsp-strip__logo {
  height: 96px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 600px) {
  .dsp-strip__logos { gap: 26px; }
  .dsp-strip__logo { height: 66px; }
}

/* Language switcher */
.lang-switch {
  position: relative;
}
.lang-switch__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 1.5px solid var(--hk-border);
  border-radius: var(--radius-sm);
  color: var(--hk-navy);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.lang-switch__btn:hover { border-color: var(--hk-orange); color: var(--hk-orange); }
.lang-switch__btn .chev { width: 10px; height: 10px; transition: transform var(--t); }
.lang-switch.is-open .lang-switch__btn .chev { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--hk-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
}
.lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--hk-text);
  font-size: 0.9rem;
}
.lang-switch__menu button:hover { background: var(--hk-bg-alt); color: var(--hk-orange); }
.lang-switch__menu button.is-active { color: var(--hk-orange); font-weight: 700; }

/* Zászlós nyelvváltó (legördülő, betűk nélkül) */
.lang-switch--flags .lang-switch__btn {
  padding: 5px 9px;
  gap: 7px;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.lang-switch--flags .lang-switch__btn:hover { border-color: var(--hk-orange); color: #fff; }
.lang-switch--flags .chev { width: auto; height: auto; font-size: 0.6rem; opacity: 0.75; }
.lang-switch__flag { display: inline-flex; }
.lang-switch__flag img {
  display: block;
  width: 26px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.lang-switch--flags .lang-switch__menu { min-width: 0; padding: 5px; }
.lang-switch--flags .lang-switch__menu li { margin: 0; list-style: none; }
.lang-switch--flags .lang-switch__menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
}
.lang-switch--flags .lang-switch__menu a:hover { background: var(--hk-bg-alt); }
.lang-switch--flags .lang-switch__menu .is-current { display: none; }

/* Mobile menu toggle */
/* ==========================================================
   Mobile menu — slide-in panel (right), navy bg, FA icons.
   ========================================================== */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--hk-navy);
  font-size: 1.35rem;
  border-radius: 8px;
  transition: background var(--t-fast), color var(--t-fast);
}
.menu-toggle:hover { background: var(--hk-bg-alt); }
.menu-toggle:focus-visible {
  outline: 2px solid var(--hk-orange);
  outline-offset: 2px;
}

/* Mobile-only panel head — hidden on desktop */
.site-nav__head { display: none; }

/* Backdrop — hidden by default; visible behind the open mobile nav */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 51, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.nav-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  :root { --header-h: var(--header-h-sm); }
  .site-logo, .site-logo img, .site-logo svg { height: 36px; }

  /* Show hamburger button */
  .menu-toggle { display: inline-flex; }

  /* Mobile panel — slide-in from right */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--hk-navy);
    color: #fff;
    z-index: 110;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -10px 0 40px rgba(15, 52, 112, 0.25);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    visibility: hidden;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  /* Panel head: title + close button */
  .site-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
  }
  .site-nav__title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.04em;
  }
  .site-nav__close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background var(--t-fast), transform var(--t-fast);
  }
  .site-nav__close:hover {
    background: var(--hk-orange);
    transform: rotate(90deg);
  }
  .site-nav__close:focus-visible {
    outline: 2px solid var(--hk-orange-light);
    outline-offset: 2px;
  }

  /* Override desktop ul flex-row → mobile column */
  .site-nav .site-nav__list,
  .site-nav ul,
  .site-nav .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    list-style: none;
    padding: 8px 20px 32px;
    margin: 0;
  }
  .site-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav li:last-child {
    border-bottom: 0;
  }
  .site-nav a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    font-weight: 500;
    width: 100%;
    padding: 16px 4px;
    display: block;
    border: 0;
    transition: color var(--t-fast), padding-left var(--t-fast);
  }
  .site-nav a::after { display: none; }
  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    color: var(--hk-orange-light);
    padding-left: 8px;
  }

  /* Body scroll lock helper (set via JS too) */
  body.has-mobile-nav-open {
    overflow: hidden;
  }
  /* FONTOS: a header (z-index:50) saját stacking-kontextust hoz létre, amibe a
     `.site-nav` panel be van zárva. A `.nav-backdrop` viszont a header TESTVÉRE
     (z-index:105), így alapból a panel FÖLÉ rajzolódna → a sötét+blur fátyol
     elhomályosítja a menüt. Nyitott menünél a header kontextusát a backdrop fölé
     emeljük, így a panel a fátyol fölött, élesen jelenik meg. */
  body.has-mobile-nav-open .site-header {
    z-index: 120;
  }
}

/* ==========================================================
   Átlátszó overlay fejléc a hero-s oldalakon (.has-hero).
   A fejléc ráúszik a hero-ra (fehér logó + nav), görgetésre
   a meglévő .is-scrolled toggle tömör fehérré teszi.
   ========================================================== */
.has-hero .site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  /* Áttetsző (fátyolos) fehér háttér + erősebb elmosás — a hero átdereng,
     a frosted-üveg hatás miatt a #003c6f szöveg így is olvasható marad. */
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: rgba(255, 255, 255, 0.25);
}
.admin-bar.has-hero .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar.has-hero .site-header { top: 46px; }
}
.has-hero .site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--hk-border-soft);
  box-shadow: 0 1px 0 rgba(15,52,112,.04), 0 8px 24px rgba(15,52,112,.06);
}
/* Halvány fehér állapot: normál (sötét) logó + sötét mobil toggle */
.has-hero .site-header:not(.is-scrolled) .site-logo img,
.has-hero .site-header:not(.is-scrolled) .site-logo svg {
  filter: none;
}
.has-hero .site-header:not(.is-scrolled) .menu-toggle { color: #003c6f; }
/* Desktop nav: sötét (#003c6f) linkek a halvány fehér fejlécen, narancs hover + aláhúzás */
@media (min-width: 981px) {
  .has-hero .site-header:not(.is-scrolled) .site-nav a { color: #003c6f; }
  .has-hero .site-header:not(.is-scrolled) .site-nav a:hover,
  .has-hero .site-header:not(.is-scrolled) .site-nav a.is-active { color: var(--hk-orange); }
  .has-hero .site-header:not(.is-scrolled) .site-nav a::after { background: var(--hk-orange); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 94vh, 880px);
  background: var(--hk-navy-deep);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
}
/* Magasabb specificitás, hogy az Elementor widget inline overlay-színét felülírja.
   Sötétebb a tetején (fejléc-olvashatóság) és alul (kereső/szöveg), középen látszik a kép. */
body .hero .hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 26, 54, 0.74) 0%, rgba(8, 26, 54, 0.30) 42%, rgba(8, 26, 54, 0.70) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-inline: auto;
  padding: 64px 24px;
}
.hero__ornament {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.4rem;
  color: var(--hk-orange-light);
  opacity: 0;
  animation: heroFade 900ms cubic-bezier(.22,.61,.36,1) 0.1s forwards;
}
.hero__ornament::before,
.hero__ornament::after {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(229, 130, 23, 0.6);
}
.hero__ornament i { font-size: 1rem; }
.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-shadow: 0 2px 30px rgba(6, 18, 40, 0.35);
  opacity: 0;
  animation: heroFade 900ms cubic-bezier(.22,.61,.36,1) 0.25s forwards;
}
.hero h1 .accent { color: var(--hk-orange-light); font-style: italic; }
.hero__sub {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto;
  max-width: 580px;
  font-weight: 400;
  opacity: 0;
  animation: heroFade 900ms cubic-bezier(.22,.61,.36,1) 0.4s forwards;
}
@keyframes heroFade {
  to { opacity: 1; }
}

/* ---------- Hero kereső-sáv ---------- */
.hero__search {
  position: relative;
  z-index: 2;
  margin: 2.3rem auto 0;
  max-width: 920px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 26px 64px rgba(6, 18, 40, 0.42);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  text-align: left;
  opacity: 0;
  animation: heroFade 900ms cubic-bezier(.22,.61,.36,1) 0.55s forwards;
}
.hero__search-field { position: relative; display: flex; }
/* Vezető ikon (tranzakció / típus / település) */
.hero__search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hk-orange);
  font-size: 0.92rem;
  pointer-events: none;
  z-index: 1;
  transition: color var(--t-fast);
}
/* Lefelé-nyíl a jobb oldalon */
.hero__search-field::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hk-text-mute);
  font-size: 0.74rem;
  pointer-events: none;
  transition: color var(--t-fast);
}
.hero__search select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 15px 38px 15px 42px;
  border: 1px solid var(--hk-border);
  border-radius: 12px;
  background: #fff;
  color: var(--hk-text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.hero__search select:hover { border-color: var(--hk-orange-light); }
.hero__search-field:hover .hero__search-icon { color: var(--hk-orange); }
.hero__search select:focus {
  outline: none;
  border-color: var(--hk-orange);
  box-shadow: 0 0 0 3px rgba(229, 130, 23, 0.15);
}
/* Ha az aktuális szűrő-kombinációra nincs választható érték */
.hero__search select.is-empty {
  background: var(--hk-bg-alt);
  color: var(--hk-text-mute);
  cursor: not-allowed;
}
.hero__search-btn { white-space: nowrap; padding-inline: 28px; border-radius: 12px; gap: 8px; }
@media (max-width: 820px) {
  .hero__search { grid-template-columns: 1fr 1fr; max-width: 540px; }
  .hero__search-btn { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hero__search { grid-template-columns: 1fr; }
}

/* ---------- Archív: aktív hero-kereső szűrők ---------- */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
}
.active-filters__label { color: var(--hk-text-mute); font-weight: 600; }
.active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--hk-bg-alt);
  border: 1px solid var(--hk-border);
  border-radius: 999px;
  padding: 6px 15px;
  color: var(--hk-navy);
  font-weight: 500;
}
.active-filters__chip i { color: var(--hk-orange); font-size: 0.85em; }
.active-filters__clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hk-text-mute);
  font-weight: 500;
}
.active-filters__clear:hover { color: var(--hk-orange); }

.hero__motto {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 4vw, 56px);
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-sans);
  font-style: normal;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  letter-spacing: 0.32em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__motto::before,
.hero__motto::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(229, 130, 23, 0.55);
}
@media (max-width: 720px) { .hero__motto { font-size: 0.7rem; letter-spacing: 0.24em; } .hero__motto::before, .hero__motto::after { width: 18px; } }

/* ---------- Reveal-on-scroll utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1),
              transform 700ms cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Section ornament divider ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 1.4rem;
  color: var(--hk-orange);
  max-width: 240px;
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(229, 130, 23, 0.5), transparent);
}
.ornament i { font-size: 1.05rem; }

/* ---------- Drop cap ---------- */
.dropcap::first-letter {
  font-family: var(--font-serif);
  font-size: 4.4rem;
  font-weight: 600;
  color: var(--hk-orange);
  float: left;
  line-height: 0.9;
  margin: 0.05em 0.12em 0 0;
  padding-top: 0.05em;
}

/* ---------- Property cards ---------- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.property-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hk-border-soft);
  box-shadow: 0 6px 22px rgba(15, 52, 112, 0.06);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 52, 112, 0.16);
  border-color: transparent;
}
.property-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--hk-bg-alt);
}
.property-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.property-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 18, 40, 0.28) 0%, rgba(6, 18, 40, 0) 38%);
  pointer-events: none;
}
.property-card:hover .property-card__img img { transform: scale(1.06); }
.property-card__badge {
  position: absolute;
  z-index: 1;
  top: 14px; left: 14px;
  background: var(--hk-orange);
  color: #fff;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(229, 130, 23, 0.4);
}
.property-card__body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-card__loc {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hk-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.property-card h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.property-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.property-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--hk-bg-alt);
  border: 1px solid var(--hk-border-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  color: var(--hk-text);
}
.property-card__meta i { color: var(--hk-orange); font-size: 0.88em; }
.property-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hk-border-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.property-card__price {
  font-family: var(--font-sans);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--hk-navy);
  line-height: 1.2;
  text-wrap: balance;
}
.property-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hk-orange);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.property-card__cta::after {
  content: "→";
  transition: transform var(--t);
}
.property-card:hover .property-card__cta::after { transform: translateX(4px); }

/* Plain back link — used on property detail page (no after arrow) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hk-orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.back-link::before {
  content: "←";
  transition: transform var(--t);
}
.back-link:hover { color: var(--hk-orange-dark); }
.back-link:hover::before { transform: translateX(-3px); }

/* ---------- Property detail ---------- */
.property-hero {
  background: var(--hk-navy);
  color: #fff;
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 60px);
}
.property-hero .eyebrow { color: var(--hk-orange-light); }
.property-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.property-hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.78); margin-bottom: 1.5rem; }
.property-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
  color: rgba(255,255,255,.85);
}
.property-hero__meta strong { color: #fff; font-weight: 600; }

.property-detail { padding-block: clamp(48px, 6vw, 80px); }
.property-detail__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
}
@media (max-width: 980px) {
  .property-detail__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Ingatlan-galéria — „csempés" (masonry) elrendezés. A fotók a VALÓS
   képarányukkal jelennek meg, nincs négyzetbe vágás (object-fit: cover helyett
   height:auto). Az oszlopok a rendelkezésre álló hely szerint töltődnek;
   mobilon 1 oszlop, így minden kép teljes szélességű és teljes egészében látszik. */
.gallery {
  column-count: 3;
  column-gap: 12px;
  margin-bottom: 2.5rem;
}
.gallery__item {
  position: relative;
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--hk-bg-alt);
  box-shadow: 0 4px 16px rgba(15, 52, 112, 0.07);
}
.gallery .gallery__item img {
  width: 100%;
  height: auto;            /* valós képarány — a kép NINCS levágva */
  display: block;
  transition: transform var(--t-slow);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__more {
  position: absolute;
  inset: 0;
  background: rgba(15, 52, 112, 0.62);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
@media (max-width: 980px) {
  .gallery { column-count: 2; }
}
@media (max-width: 400px) {
  /* Nagyon keskeny telefonon 1 oszlop, hogy a fotók ne legyenek pici csempék. */
  .gallery { column-count: 1; }
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--hk-bg-alt);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-block: 2rem;
}
.feature-list__item .key {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hk-text-mute);
  margin-bottom: 4px;
}
.feature-list__item .val {
  font-weight: 600;
  color: var(--hk-navy);
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--hk-navy-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: 1.4rem;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.property-video {
  margin-block: 2rem;
}
.property-video h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--hk-navy);
  margin-bottom: 0.6rem;
}

/* ---------- Hitelkalkulátor (HitelNet embed) ---------- */
.loan-calc {
  max-width: 920px;
  margin: 0 auto;
}
.loan-calc__head {
  text-align: center;
  margin-bottom: 2rem;
}
.loan-calc__head .eyebrow i { margin-right: 6px; }
.loan-calc__head h2 { margin-bottom: 0.5rem; }
.loan-calc__head .lead { margin: 0 auto; max-width: 640px; }
.loan-calc__embed {
  background: #fff;
  border: 1px solid var(--hk-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  min-height: 220px;
}
.loan-calc__embed iframe { width: 100%; border: 0; display: block; }

.property-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  background: #fff;
  border: 1px solid var(--hk-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.property-side h3 { font-size: 1.2rem; }
.property-side .price-big {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--hk-orange);
  font-weight: 600;
  margin-bottom: 1rem;
}
.property-side .btn { width: 100%; margin-top: 8px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 51, 0.94);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background var(--t-fast);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.78);
  font-size: 0.9rem;
}

/* ---------- Filter chips ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-chip {
  padding: 9px 22px;
  border: 1.5px solid var(--hk-border);
  background: #fff;
  color: var(--hk-text);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-chip:hover { border-color: var(--hk-orange); color: var(--hk-orange); }
.filter-chip.is-active {
  background: var(--hk-navy);
  border-color: var(--hk-navy);
  color: #fff;
}

/* ---------- About ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
}
.about-hero__visual {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--hk-navy) 0%, var(--hk-navy-deep) 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.about-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(229, 130, 23, 0.4), transparent 60%);
}
/* Ha valós fotó van beállítva (inline background-image), ne legyen rajta a
   narancs színátmenet-overlay — a kép tisztán, átmenet nélkül jelenjen meg.
   A fotó nélküli ikon-placeholdernél az overlay megmarad (díszítés). */
.about-hero__visual[style*="background-image"]::after { content: none; }
.about-hero__visual svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70%;
  height: auto;
  opacity: 0.15;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 3rem;
}
.badge-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--hk-border-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--hk-orange);
}
.badge-card h4 { color: var(--hk-navy); font-size: 1.05rem; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 700; }
.badge-card p { font-size: 0.92rem; color: var(--hk-text-mute); margin: 0; }

/* About — Elementor widget (homekey_about) elemei */
.homekey-about .about-intro > p { margin: 0 0 1.1rem; }
.homekey-about .about-intro > p:last-child { margin-bottom: 0; }
/* Nyitó mondat kiemelt lead-bekezdésként (iniciálé nélkül) */
.homekey-about .about-intro > p:first-of-type {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--hk-navy);
  margin-bottom: 1.6rem;
}
.about-sign {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hk-border-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-sign__mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(229, 130, 23, 0.12);
  color: var(--hk-orange);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-sign strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--hk-navy);
  display: block;
  line-height: 1.2;
}
.about-sign__role { color: var(--hk-text-mute); font-size: 0.92rem; }
.about-hero__visual i {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.30);
  z-index: 1;
}
.badge-card__icon {
  display: block;
  color: var(--hk-orange);
  margin-bottom: 12px;
  line-height: 1;
}
/* Az ikon lehet font (<i>) vagy Elementor inline SVG — mindkettőt méretre fogjuk. */
.badge-card__icon > i { font-size: 1.5rem; }
.badge-card__icon > svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  display: block;
}

/* ---------- Contact page grid (form + info) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: var(--hk-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info h3 { color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 1.2rem; margin: 0; }

/* ---------- Reviews / Map embed strip ---------- */
.embed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 880px) { .embed-grid { grid-template-columns: 1fr; } }
.embed-card {
  background: #fff;
  border: 1px solid var(--hk-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.embed-card__head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--hk-border-soft);
}
.embed-card__head h3 { margin: 0 0 4px; font-size: 1.2rem; font-family: var(--font-sans); font-weight: 700; }
.embed-card__head p { margin: 0; font-size: 0.9rem; color: var(--hk-text-mute); }
.embed-card iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
/* Google My Maps beágyazás: a térkép tetején lévő beépített Google fejléc-sávot
   levágjuk (csak a térkép látszik). A wrapper fix magasságú + overflow:hidden,
   az iframe magasabb és felfelé tolt, így a fejléc a látható terület fölé esik. */
.embed-card__map {
  position: relative;
  overflow: hidden;
  height: 420px;        /* alapért. látható magasság; az Elementor "Térkép magasság" ezt felülírja */
}
.embed-card__map iframe {
  height: calc(100% + 62px) !important;  /* wrapper + a Google My Maps fejléc-sáv; !important az Elementor felülírás ellen */
  margin-top: -62px !important;          /* a fejléc-sávot kitoljuk a látható rész fölé */
}

/* ---------- Reviews stars row (FA stars on home reviews block) ---------- */
.review-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.review-stars i { color: #F4B400; font-size: 1.05rem; }
.review-stars .score { font-weight: 700; color: var(--hk-navy); margin-left: 6px; }
.review-stars .count { color: var(--hk-text-mute); font-size: 0.88rem; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hk-text-mute);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--hk-border);
  border-radius: 10px;
  background: #fff;
  color: var(--hk-text);
  font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--hk-text-soft); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--hk-text-soft); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--hk-orange);
  box-shadow: 0 0 0 3px rgba(229, 130, 23, 0.15);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 11px;
}
.field--check input {
  width: 19px; height: 19px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--hk-orange);
  cursor: pointer;
}
.field--check label {
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hk-text-mute);
  cursor: pointer;
}

/* ---------- Contact Form 7 — illesztés a modern .field rendszerhez ---------- */
.wpcf7-form .field .wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7-form .field label { margin-bottom: 0; }
/* Adatkezelési hozzájárulás */
.hk-consent { font-size: 0.9rem; }
.hk-consent .wpcf7-list-item { margin: 0; }
.hk-consent .wpcf7-list-item label,
.hk-consent label {
  display: inline-flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 400;
  color: var(--hk-text-mute);
  cursor: pointer;
}
.hk-consent input[type="checkbox"] {
  accent-color: var(--hk-orange);
  width: 19px; height: 19px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.hk-consent a { color: var(--hk-navy); text-decoration: underline; }
.hk-consent a:hover { color: var(--hk-orange); }
/* Válasz-üzenet + validáció */
.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 13px 16px;
  border: 1px solid var(--hk-border);
  border-radius: 10px;
  font-size: 0.92rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e7d32;
  background: rgba(46, 125, 50, 0.08);
  color: #1b5e20;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #c62828;
  background: rgba(198, 40, 40, 0.07);
  color: #b71c1c;
}
.wpcf7-not-valid-tip { color: #c62828; font-size: 0.8rem; margin-top: 5px; display: block; }
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}
.wpcf7-spinner { margin: 0 0 0 12px; }

/* ---------- Partners ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--hk-border-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: all var(--t);
  text-decoration: none;
  color: var(--hk-navy);
  min-height: 200px;
  justify-content: center;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--hk-orange);
  box-shadow: var(--shadow);
  color: var(--hk-orange);
}
.partner-card__logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.partner-card__logo img { max-height: 64px; max-width: 160px; object-fit: contain; }
.partner-card__name { font-weight: 600; font-size: 0.95rem; }
.partner-card__cat {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hk-text-soft);
}
/* Logó nélküli (csak nevet tartalmazó) partner-kártyák elegáns wordmark-stílusa.
   Amíg nincs valódi logó-fájl, a partner neve igényes tipográfiával jelenik meg. */
.partner-card { min-height: 132px; justify-content: center; }
.partner-card > span:only-child {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--hk-navy);
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}
.partner-card:hover > span:only-child { color: var(--hk-orange); }

/* ---------- Settlements (chips) ---------- */
.settlements-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 2rem;
}
.settlement-chip {
  background: #fff;
  border: 1px solid var(--hk-border);
  color: var(--hk-navy);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all var(--t-fast);
}
.settlement-chip:hover {
  background: var(--hk-orange);
  border-color: var(--hk-orange);
  color: #fff;
}

/* ---------- Blog ----------
 * 4 layout variant a Customizer "Blog elrendezés" alapján:
 *   .posts-grid--grid-3   3 oszlopos rács (default)
 *   .posts-grid--grid-2   2 oszlopos rács (nagyobb kártyák)
 *   .posts-grid--list     vízszintes listsorok (kép balra, tartalom jobbra)
 *   .posts-grid--minimal  csak cím + dátum + kivonat, kép nélkül
 * Az alábbi `.blog-grid` régi alias — kompatibilitásból megtartva. */
.posts-grid,
.blog-grid {
  display: grid;
  gap: 28px;
}

/* Default + grid-3 */
.posts-grid--grid-3,
.blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* grid-2 — szélesebb kártyák, max 2 oszlop */
.posts-grid--grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  max-width: 1100px;
  margin-inline: auto;
}
@media (max-width: 720px) {
  .posts-grid--grid-2 { grid-template-columns: 1fr; }
}

/* list — egy oszlop, vízszintes elrendezésű kártyákkal */
.posts-grid--list {
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
}

/* minimal — egy oszlop, csak szöveg, finom választósorral */
.posts-grid--minimal {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 880px;
  margin-inline: auto;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--hk-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card__img {
  aspect-ratio: 16/9;
  background: var(--hk-navy);
  display: block;
}
.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-card__date {
  color: var(--hk-orange);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-card h3 {
  font-size: 1.15rem;
  margin: 4px 0 8px;
  line-height: 1.3;
}
.blog-card h3 a {
  color: var(--hk-navy);
  text-decoration: none;
  transition: color var(--t-fast);
}
.blog-card h3 a:hover {
  color: var(--hk-orange);
}
.blog-card p {
  color: var(--hk-text-mute);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 12px;
}
.blog-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--hk-orange);
  text-decoration: none;
  transition: gap var(--t-fast), color var(--t-fast);
}
.blog-card__cta i {
  font-size: 0.82em;
  transition: transform var(--t-fast);
}
.blog-card__cta:hover {
  color: var(--hk-orange-dark);
  gap: 10px;
}
.blog-card__cta:hover i {
  transform: translateX(2px);
}

/* ---------- Layout: list (image left, body right) ---------- */
.blog-card--list {
  flex-direction: row;
  align-items: stretch;
}
.blog-card--list .blog-card__img {
  flex: 0 0 38%;
  max-width: 38%;
  aspect-ratio: auto;
  min-height: 220px;
}
.blog-card--list .blog-card__body {
  flex: 1;
  padding: 28px 32px;
  justify-content: center;
}
.blog-card--list h3 {
  font-size: 1.4rem;
}
@media (max-width: 720px) {
  .blog-card--list { flex-direction: column; }
  .blog-card--list .blog-card__img {
    max-width: 100%;
    aspect-ratio: 16/9;
    min-height: 0;
  }
}

/* ---------- Layout: minimal (no image, divider rows) ---------- */
.blog-card--minimal {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--hk-border-soft);
  padding: 26px 0;
  flex-direction: column;
}
.blog-card--minimal:hover {
  transform: none;
  box-shadow: none;
}
.blog-card--minimal:last-child {
  border-bottom: 0;
}
.blog-card--minimal .blog-card__body {
  padding: 0;
}
.blog-card--minimal h3 {
  font-size: 1.55rem;
  margin: 6px 0 10px;
}
.blog-card--minimal p {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* ---------- Layout: grid-2 (bigger cards) ---------- */
.blog-card--grid-2 .blog-card__body { padding: 28px 32px; }
.blog-card--grid-2 h3 { font-size: 1.35rem; }
.blog-card--grid-2 p { font-size: 1rem; }

.blog-empty {
  text-align: center;
  background: var(--hk-bg-alt);
  border-radius: var(--radius);
  padding: 60px 32px;
}
.blog-empty svg { width: 64px; height: 64px; color: var(--hk-orange); margin: 0 auto 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(229, 130, 23, 0.10) 0%, transparent 55%),
    var(--hk-navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 76px 0 28px;
  font-size: 0.92rem;
  position: relative;
}
/* Vékony arany akcentus a footer tetején */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--hk-orange) 28%, var(--hk-orange-light) 50%, var(--hk-orange) 72%, transparent);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 32px; }
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.78); transition: color var(--t-fast); }
.footer-grid a:hover { color: var(--hk-orange-light); }

.footer-brand .site-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 4px;
}

.footer-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-doc i.fa-file-pdf,
.footer-doc i.fa-regular {
  color: var(--hk-orange);
}
.footer-doc.is-gated i.fa-lock {
  color: var(--hk-orange);
  margin-left: 6px;
  font-size: 0.85em;
}

/* Kapcsolat oszlop — ikonos sorok */
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
}
.footer-contact li i {
  color: var(--hk-orange);
  font-size: 0.95rem;
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  text-align: center;
}
.footer-contact a { color: rgba(255,255,255,0.82); }
.footer-contact a:hover { color: var(--hk-orange-light); }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.social-row a:hover { background: var(--hk-orange); transform: translateY(-2px); color: #fff; }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================
   Footer accordion (<details>) — collapsible on mobile,
   always-open on desktop. The HTML defaults to <details open>
   so the content shows even with no JS. JS manages the [open]
   attribute on resize: keeps it on desktop, removes on mobile.
   On desktop the summary is non-clickable so users can't
   accidentally collapse a section.
   ========================================================== */
.footer-section {
  display: block;
}
.footer-section > summary {
  list-style: none;
  display: block;
  padding: 0;
  margin: 0 0 18px;
}
.footer-section > summary::-webkit-details-marker { display: none; }
.footer-section > summary::marker { content: ''; }
.footer-section > summary > h4 {
  display: inline;
  margin: 0;
  /* inherits .site-footer h4 styling */
}

/* Desktop: lock-open (already [open] from PHP + JS), summary
   not clickable so accidental collapse impossible. */
@media (min-width: 769px) {
  .footer-section > summary {
    cursor: default;
    pointer-events: none;
  }
}

/* Mobile (<769px): collapsible accordion */
@media (max-width: 768px) {
  .footer-grid > .footer-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-grid > .footer-section:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-section > summary {
    cursor: pointer;
    position: relative;
    padding: 16px 28px 16px 0;
    margin: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-section > summary > h4 {
    margin: 0;
    line-height: 1;
  }
  .footer-section > summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-75%) rotate(45deg);
    transition: transform .25s ease;
  }
  .footer-section[open] > summary::after {
    transform: translateY(-25%) rotate(-135deg);
  }
  .footer-section[open] > summary > h4 {
    color: var(--hk-orange-light);
  }
  .footer-section__body {
    padding-bottom: 16px;
  }

  /* Brand block: centered + dividing border */
  .footer-brand {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 4px;
  }
  .footer-brand .site-logo {
    justify-content: center;
    margin-inline: auto;
  }
  .footer-brand__tagline {
    margin-inline: auto;
    max-width: 320px;
  }
  .footer-brand .social-row {
    justify-content: center;
    margin-top: 18px;
  }

  /* Footer bottom: stack + center */
  .footer-bottom {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    margin-top: 24px;
    font-size: 0.8rem;
  }

  .site-footer {
    padding: 48px 0 24px;
  }
  .site-footer h4 {
    margin-bottom: 0;
  }
}

/* ---------- Modal (gate) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 51, 0.78);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.modal h3 { margin-top: 0; }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  color: var(--hk-text-mute);
}
.modal .field { margin-bottom: 12px; }
.modal .err {
  color: #C0392B;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}
.modal.has-error .err { display: block; }

/* ---------- Page hero (smaller) ---------- */
.page-hero {
  background-color: var(--hk-navy-deep);
  color: #fff;
  /* A felső padding a fix (átlátszó) fejléc alá pozícionálja a tartalmat. */
  padding: clamp(132px, 13vw, 188px) 0 clamp(60px, 7vw, 84px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: -2;
  animation: heroZoom 22s ease-out forwards;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Modern gradient: sötétebb tetején (fejléc-olvashatóság) és alul (cím),
     középen látszik a kép — a főoldali hero-val egységesen. */
  background: linear-gradient(180deg, rgba(8, 26, 54, 0.86) 0%, rgba(8, 26, 54, 0.52) 52%, rgba(8, 26, 54, 0.80) 100%);
  z-index: -1;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(229, 130, 23, 0.22), transparent 70%);
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  letter-spacing: -0.018em;
  text-shadow: 0 2px 26px rgba(6, 18, 40, 0.35);
}
.page-hero .lead {
  color: rgba(255,255,255,0.88);
  font-family: var(--font-sans);
  font-style: normal;
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.78); }

/* ---------- Misc ---------- */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--hk-text-mute);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Property single — DRY classes (replacing inline styles) ---------- */
.breadcrumb--on-dark { color: rgba(255,255,255,0.65); }
.breadcrumb--on-dark a { color: rgba(255,255,255,0.78); }
.breadcrumb--on-dark a:hover { color: var(--hk-orange-light); }

.eyebrow--on-dark { color: var(--hk-orange-light); }

.property-detail__map-title { margin-top: 2rem; }

.embed-card__iframe--map { height: 380px; }

.property-side__title { margin-top: 6px; }

.property-side__stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--hk-border-soft);
  border-bottom: 1px solid var(--hk-border-soft);
  margin: 0 0 18px;
}
.property-side__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
}
.property-side__stat dt {
  color: var(--hk-text-mute);
  font-weight: 400;
}
.property-side__stat dd {
  margin: 0;
  font-weight: 700;
  color: var(--hk-navy);
}
.property-side__cta-label {
  font-size: 0.92rem;
  color: var(--hk-text-mute);
  margin-bottom: 1rem;
}

/* ---------- Ingatlan részletes adatok (bővített attribútumok) ---------- */
.property-specs {
  margin: 36px 0 8px;
}
.property-specs__title {
  font-size: 1.5rem;
  margin: 0 0 20px;
}
.property-specs__group {
  margin-bottom: 26px;
}
.property-specs__group:last-child {
  margin-bottom: 0;
}
.property-specs__group-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--hk-orange);
  margin: 0 0 4px;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  margin: 0;
}
.specs-grid__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hk-border-soft);
  font-size: 0.94rem;
}
.specs-grid__row dt {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 10px;
  color: var(--hk-text-mute);
  font-weight: 400;
}
.specs-grid__row dd {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--hk-navy);
  font-weight: 700;
  text-align: right;
}
.specs-grid__row--wide { grid-column: 1 / -1; }

/* ============================================================
   Főoldali szekciók: Miért minket? / Statisztika / Folyamat / CTA
   ============================================================ */

/* ---------- Miért minket? (érték-kártyák) ---------- */
.homekey-valueprops .valueprops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.valueprop-card {
  background: #fff;
  border: 1px solid var(--hk-border-soft);
  border-radius: 16px;
  padding: 34px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.valueprop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 52, 112, 0.10);
  border-color: transparent;
}
.valueprop-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(229, 130, 23, 0.12);
  color: var(--hk-orange);
  margin-bottom: 18px;
}
.valueprop-card__icon i { font-size: 1.6rem; }
.valueprop-card__icon svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.valueprop-card__title { font-size: 1.12rem; margin: 0 0 8px; color: var(--hk-navy); }
.valueprop-card__text { font-size: 0.92rem; line-height: 1.6; color: var(--hk-text-mute); margin: 0; }

/* ---------- Statisztika-sáv (navy, animált számlálók) ---------- */
.homekey-stats {
  background: linear-gradient(135deg, #0f3470 0%, #0b264f 100%);
}
.homekey-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__value {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: #fff;
}
.stat__suffix { color: var(--hk-orange-light); }
.stat__label {
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Folyamat-lépések (Hogyan zajlik?) ---------- */
.homekey-process .process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step {
  position: relative;
  text-align: center;
}
.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--hk-navy);
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.process-step__title { font-size: 1.05rem; margin: 0 0 6px; color: var(--hk-navy); }
.process-step__text { font-size: 0.9rem; line-height: 1.6; color: var(--hk-text-mute); margin: 0; }
@media (min-width: 861px) {
  .process-step::before {
    content: "";
    position: absolute;
    top: 29px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--hk-border);
    z-index: 0;
  }
  .process-step:last-child::before { display: none; }
}

/* ---------- Záró CTA-sáv ---------- */
.homekey-cta .cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f3470 0%, #0b264f 100%);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.homekey-cta .cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--hk-orange);
}
.cta-band__title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 8px; }
.cta-band__text { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 560px; line-height: 1.6; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--on-dark:hover { background: #fff; color: var(--hk-navy); border-color: #fff; }

/* ---------- Minősítések / tagságok (bizalmi sáv) ---------- */
.homekey-credentials .credentials {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
}
.credentials__intro { flex: 0 0 auto; max-width: 300px; }
.credentials__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--hk-navy);
  margin: 0;
}
.credentials__items {
  flex: 1 1 440px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: end;
}
.credential { text-align: center; }
.credential__logo {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.credential__logo img { max-height: 100px; max-width: 100%; width: auto; object-fit: contain; }
.credential__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--hk-navy);
}
.credential__caption {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--hk-orange);
}
@media (max-width: 860px) {
  .homekey-credentials .credentials { flex-direction: column; align-items: center; text-align: center; }
  .credentials__intro { max-width: none; }
  .credentials__title { text-align: center; }
  .credentials__items { grid-template-columns: repeat(2, 1fr); gap: 32px; width: 100%; }
}

/* ============================================================
   Főoldal — szekció-ritmus (háttér-váltakozás)
   ------------------------------------------------------------
   A főoldalon három fehér szekció követte egymást (érték-kártyák,
   bemutatkozás, ingatlan-rács), ami egybefolyt. A „Bemutatkozás"
   szekció krém hátteret kap, így tiszta cikkcakk-ritmus jön létre:
   hero → krém → fehér → krém → fehér → krém → fehér.
   Elementorban a szekció háttere bármikor felülírható; ez csak
   az alapértelmezett megjelenést adja.
   ============================================================ */
.elementor-element-hkabout1 { background-color: var(--hk-bg-alt); }

/* A „Bízza ránk ingatlanügyeit" bevezető-sáv kompaktabb függőleges
   térköze, hogy ne hasson üresnek (ornament + cím + egy mondat). */
.elementor-element-ce793ef { padding-top: 48px !important; padding-bottom: 48px !important; }

/* ---------- Reszponzív ---------- */
@media (max-width: 980px) {
  .homekey-valueprops .valueprops-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .homekey-process .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}
@media (max-width: 720px) {
  .homekey-stats .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .homekey-cta .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-band__actions { width: 100%; }
}
@media (max-width: 560px) {
  .homekey-valueprops .valueprops-grid { grid-template-columns: 1fr; }
  .homekey-process .process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .specs-grid { grid-template-columns: 1fr; column-gap: 0; }
}

/* ---------- Back-to-top button ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--hk-navy);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), background var(--t-fast);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--hk-orange);
  color: #fff;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--hk-orange-light);
  outline-offset: 3px;
}
@media (max-width: 540px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- Property archive results count ---------- */
.results-count {
  text-align: center;
  color: var(--hk-text-mute);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}
.results-count strong {
  color: var(--hk-navy);
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  margin-right: 6px;
}

/* ---------- Search result polish ---------- */
.search-result {
  padding: 18px 0;
  border-bottom: 1px solid var(--hk-border-soft);
}
.search-result:last-child {
  border-bottom: 0;
}
.search-result h3 {
  margin-bottom: 6px;
}
.search-result__meta {
  color: var(--hk-text-mute);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
