/* =====================================================================
   City Centre Apartments – közös stíluslap (minden oldal ezt használja)
   ---------------------------------------------------------------------
   Színt, betűt, kerekítést a lenti :root részben érdemes állítani –
   az egész oldal ezekből a "változókból" dolgozik.
   ===================================================================== */

:root {
  /* --- Színek --- */
  --c-ink: #1d2a25;          /* fő szövegszín */
  --c-muted: #5d6b65;        /* halványabb szöveg */
  --c-bg: #faf7f1;           /* oldal háttere (meleg törtfehér) */
  --c-surface: #ffffff;      /* kártyák, dobozok háttere */
  --c-soft: #f1ece2;         /* halvány kiemelő háttér */
  --c-line: #e5ddcf;         /* vékony keretek, elválasztók */
  --c-brand: #1f5a46;        /* fő márkaszín (mélyzöld) */
  --c-brand-dark: #143e30;
  --c-brand-soft: #e3efe9;
  --c-accent: #c4862a;       /* kiemelő szín (arany/okker) – gombok */
  --c-accent-dark: #9f6a1b;
  --c-free: #2c7a4b;         /* "Szabad" címke */
  --c-taken: #a5432a;        /* "Nem bérelhető" címke */
  --c-info: #2f5f8a;

  /* --- Betűk --- */
  --f-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  /* --- Méretek --- */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px -16px rgba(20, 45, 35, .35);
  --shadow-sm: 0 4px 14px -8px rgba(20, 45, 35, .3);
  --header-h: 72px;
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-wrap: break-word;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-accent-dark); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--f-serif); line-height: 1.2; color: var(--c-brand-dark); margin: 1.6em 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-top: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; font-family: var(--f-sans); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .3em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.5rem 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--c-muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-brand); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--f-sans); text-decoration: none; cursor: pointer;
  background: var(--c-brand); color: #fff; transition: background .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--c-brand-dark); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--c-accent); }
.btn-accent:hover { background: var(--c-accent-dark); }
.btn-ghost { background: transparent; color: var(--c-brand); border-color: currentColor; }
.btn-ghost:hover { background: var(--c-brand); color: #fff; }
.btn-light { background: #fff; color: var(--c-brand-dark); }
.btn-light:hover { background: var(--c-soft); color: var(--c-brand-dark); }
.btn-sm { padding: .5em 1em; font-size: .92rem; }

/* ---------- Fejléc és menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-brand-dark); margin-right: auto; min-width: 0; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--f-serif); font-weight: 700; font-size: 1.15rem; line-height: 1.1; display: block; white-space: nowrap; }
.brand-sub { font-size: .78rem; color: var(--c-muted); letter-spacing: .04em; display: block; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { margin: 0; position: relative; }
.main-nav a, .main-nav .nav-parent {
  display: block; padding: .55em .8em; border-radius: var(--radius-sm);
  color: var(--c-ink); text-decoration: none; font-weight: 550; font-size: .97rem;
  background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.main-nav a:hover, .main-nav .nav-parent:hover, .main-nav a[aria-current="page"] { background: var(--c-brand-soft); color: var(--c-brand-dark); }
.nav-parent::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.main-nav .submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%;
  min-width: 260px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow); display: none;
}
.main-nav .submenu a { white-space: normal; font-weight: 500; }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu, .main-nav li.open > .submenu { display: block; }

.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; padding: .5em .8em; border: 1px solid var(--c-line); border-radius: 999px;
  font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .4em; background: #fff;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch ul {
  list-style: none; margin: 8px 0 0; padding: 8px; position: absolute; right: 0; top: 100%; z-index: 60;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 190px;
}
.lang-switch li { margin: 0; }
.lang-switch a { display: flex; justify-content: space-between; gap: 12px; padding: .45em .7em; border-radius: var(--radius-sm); text-decoration: none; color: var(--c-ink); }
.lang-switch a:hover, .lang-switch a[aria-current="true"] { background: var(--c-brand-soft); }
.lang-switch a span { color: var(--c-muted); font-size: .8rem; text-transform: uppercase; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.header-cta-mobile { display: none; }
@media (max-width: 1220px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    /* A panel pontosan a fejléc alja alatt kezdődik, és a képernyő aljáig tart (--hh-t a main.js méri). */
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--hh, var(--header-h))); height: calc(100dvh - var(--hh, var(--header-h)));
    background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 24px -12px rgba(20, 45, 35, .25);
    padding: 12px 20px 40px; display: none; border-top: 1px solid var(--c-line);
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .main-nav .nav-parent { padding: .8em .6em; font-size: 1.05rem; width: 100%; text-align: left; white-space: normal; }
  .main-nav .nav-parent { pointer-events: none; color: var(--c-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 1.2em; }
  .main-nav .nav-parent::after { display: none; }
  .main-nav .submenu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; }
  .header-cta-mobile { display: block; margin-top: 16px; }
  html.nav-lock { overflow: hidden; }
}
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .72rem; }
  .lang-switch summary { padding: .45em .6em; }
  .container { padding: 0 16px; }
}
.header-cta-mobile .btn { width: 100%; }

/* ---------- Főoldali nagy kép (hero) ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 38, 30, .88) 0%, rgba(14, 38, 30, .6) 50%, rgba(14, 38, 30, .2) 100%); }
.hero-inner { padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 110px); max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: rgba(255, 255, 255, .92); margin-bottom: 1.6em; }
.hero .eyebrow { color: #f3d29b; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: .4em .9em; border-radius: 999px; font-size: .92rem; margin: 0; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-dark); margin-bottom: .7em; }

/* ---------- Aloldali fejléc ---------- */
.page-head { background: linear-gradient(180deg, var(--c-brand-soft), var(--c-bg)); padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--c-line); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { font-size: 1.15rem; color: var(--c-muted); max-width: 820px; margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); }

/* ---------- Szakaszok ---------- */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section-alt { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head h2 { margin-top: 0; }
.content > *:first-child { margin-top: 0; }

/* ---------- Kártyák (főoldali ajánlatok) ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: .2em 0 .4em; font-size: 1.25rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--c-muted); margin-bottom: .8em; }
.card .card-more { margin-top: auto; font-weight: 600; color: var(--c-brand); }
.card .price { font-weight: 650; color: var(--c-ink); }

/* ---------- Címkék ---------- */
.badge { display: inline-flex; align-items: center; gap: .4em; padding: .25em .75em; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; background: var(--c-soft); color: var(--c-ink); width: fit-content; }
.badge::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-free { background: #e2f3e8; color: var(--c-free); }
.badge-taken { background: #f8e6df; color: var(--c-taken); }
.badge-info { background: #e3edf6; color: var(--c-info); }

/* ---------- Kiemelt ("figyelem") dobozok ---------- */
.note { border-left: 4px solid var(--c-accent); background: #fdf5e7; padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 1.5em; }
.note > *:last-child { margin-bottom: 0; }
.note-warn { border-color: var(--c-taken); background: #fbede8; }
.note-info { border-color: var(--c-info); background: #eaf1f8; }
.note strong:first-child { color: var(--c-brand-dark); }

/* ---------- Lakás-hirdetés blokk ---------- */
.listing {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 36px); margin: 0 0 28px; box-shadow: var(--shadow-sm);
}
.listing-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.listing-head h2, .listing-head h3 { margin: 0; }
.listing .address { color: var(--c-muted); margin: .3em 0 0; font-size: .98rem; }
.listing > *:last-child { margin-bottom: 0; }
.cards > .listing, .grid-2 > .listing { margin-bottom: 0; }

.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; }
.facts li { background: var(--c-soft); border-radius: 999px; padding: .3em .85em; font-size: .9rem; margin: 0; }

.grid-2 { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

/* Ártáblázat */
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .98rem; background: var(--c-surface); }
.price-table caption { text-align: left; font-weight: 700; padding-bottom: .5em; color: var(--c-brand-dark); }
.price-table th, .price-table td { padding: .6em .8em; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 650; }
.price-table thead th { background: var(--c-brand-soft); color: var(--c-brand-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.price-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin: 0 0 1.2em; }
.table-wrap .price-table { margin: 0; }
.table-wrap .price-table caption { padding: .75em .8em .25em; }

/* Dokumentum- és videólinkek */
.doc-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2em; }
.doc-links li { margin: 0; }
.doc-links a {
  display: inline-flex; align-items: center; gap: .55em; padding: .55em 1em; border-radius: var(--radius-sm);
  border: 1px solid var(--c-line); background: #fff; text-decoration: none; font-weight: 550; font-size: .95rem;
}
.doc-links a:hover { border-color: var(--c-brand); background: var(--c-brand-soft); color: var(--c-brand-dark); }
.doc-links a::before {
  content: "→"; font-size: .75rem; font-weight: 800; background: var(--c-brand); color: #fff;
  border-radius: 4px; padding: .15em .45em; letter-spacing: .04em; line-height: 1.3;
}
.doc-links a[href$=".pdf" i]::before { content: "PDF"; font-size: .68rem; background: var(--c-taken); }
.doc-links a[href$=".mp4" i]::before { content: "▶"; font-size: .7rem; }
.doc-links a[href^="http"]::before { content: "↗"; background: var(--c-muted); }
.doc-links a[href$=".jpg" i]::before, .doc-links a[href$=".jpeg" i]::before, .doc-links a[href$=".png" i]::before {
  content: ""; width: 1.6em; height: 1.25em; padding: 0;
  background: var(--c-info) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M4 7h3l2-3h6l2 3h3v13H4z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.videos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0 0 1.2em; }
.videos figure { margin: 0; }
.videos video { width: 100%; max-height: 560px; border-radius: var(--radius-sm); background: #000; }
.videos figcaption { font-size: .9rem; color: var(--c-muted); margin-top: 6px; }

/* ---------- Képgaléria ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 0 0 1.5em; padding: 0; list-style: none; }
.gallery-lg { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery li { margin: 0; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--c-soft); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption, .gallery .cap { font-size: .85rem; color: var(--c-muted); padding: 6px 2px 0; line-height: 1.35; }

figure.photo { margin: 0 0 1.5em; }
figure.photo img { border-radius: var(--radius); width: 100%; }
figure.photo figcaption { font-size: .9rem; color: var(--c-muted); margin-top: 8px; }

/* Szövegben lévő fényképlinkek (lightboxban nyílnak) */
a.photo-link { text-decoration-style: dotted; }

/* ---------- Szövegoldalak (pl. megközelítés) ---------- */
.prose { max-width: 820px; }
.prose h2 { border-top: 1px solid var(--c-line); padding-top: 1.2em; }
.prose h2:first-child { border-top: 0; padding-top: 0; }
.prose img { border-radius: var(--radius-sm); margin: 1em 0; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--c-brand); background: var(--c-surface); }

.toc { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 2em; }
.toc strong { display: block; margin-bottom: .4em; }
.toc ul { margin: 0; columns: 2 220px; }

/* ---------- Előnyök sáv ---------- */
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.features li { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; margin: 0; }
.features strong { display: block; font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-brand-dark); margin-bottom: .2em; }
.features span { color: var(--c-muted); font-size: .95rem; }

/* ---------- "Írjon nekem" sáv az oldalak alján ---------- */
.cta-band { background: var(--c-brand); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 640px; }

/* ---------- Lábléc ---------- */
.site-footer { background: #10251d; color: rgba(255, 255, 255, .78); padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f3d29b; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-grid h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .7em; font-family: var(--f-sans); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45em; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-family: var(--f-serif); font-weight: 700; font-size: 1.15rem; }
.footer-brand img { width: 38px; height: 38px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 20px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Kapcsolat-űrlap ---------- */
.contact-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .req { color: var(--c-taken); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--c-ink); padding: .7em .85em;
  border: 1px solid #cfc6b6; border-radius: var(--radius-sm); background: #fff;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(31, 90, 70, .18); }
.field .hint { font-size: .85rem; color: var(--c-muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--c-brand); }

.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.captcha-row img { border-radius: var(--radius-sm); border: 1px solid var(--c-line); width: 180px; height: 60px; background: #fff; }
.captcha-row input { max-width: 180px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.captcha-refresh { background: none; border: 1px solid var(--c-line); border-radius: 999px; padding: .45em .9em; cursor: pointer; font: inherit; font-size: .9rem; color: var(--c-brand); }
.captcha-refresh:hover { background: var(--c-brand-soft); }

/* A "hp" mező a robotoknak szóló csapda – embernek nem látszik */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; padding: 16px 20px; border-radius: var(--radius-sm); margin: 0 0 20px; font-weight: 550; }
.form-status:target, .form-status.show { display: block; }
.form-status.ok { background: #e2f3e8; color: #1d5b36; border: 1px solid #b9e0c7; }
.form-status.err { background: #fbede8; color: #8a3520; border: 1px solid #f0c8bb; }
.btn[disabled] { opacity: .6; cursor: wait; }

.contact-aside .listing { padding: 24px; }
.contact-aside h3 { margin-top: 0; }

/* ---------- Képnézegető (lightbox) ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 16, 12, .92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox-cap { color: rgba(255, 255, 255, .85); margin-top: 14px; text-align: center; font-size: .95rem; max-width: 900px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox-inner { padding: 56px 8px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 0; }
.notfound .big { font-family: var(--f-serif); font-size: 5rem; color: var(--c-brand); line-height: 1; margin: 0; }

@media print {
  .site-header, .cta-band, .site-footer, .lang-switch, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
