/* =====================================================================
   Tóth Ingatlan Pont — arculat
   Bordó #4B1412 · Arany #DFB88A · Krém #F3EEE7
   Cinzel (címsorok) + EB Garamond (szöveg)
   ===================================================================== */

/* ---------- Tokenek: VILÁGOS (alap) ---------- */
:root {
  --bg:        #F3EEE7;
  --bg-2:      #EAE1D2;
  --surface:   #FBF8F2;
  --surface-2: #F4ECDF;

  --ink:       #2A1613;
  --ink-soft:  #5C4A44;
  --muted:     #8B7A70;
  --line:      #E0D4C1;
  --line-soft: #ECE3D4;

  --wine:      #4B1412;
  --wine-2:    #691E1A;
  --wine-ink:  #F5E7D6;

  --gold:      #A9793F;   /* mélyebb arany — jó kontraszt világos háttéren */
  --gold-2:    #8A6231;
  --gold-lite: #DFB88A;   /* a logó aranya — sötét felületeken, dekor */

  --focus:     #A9793F;
  --shadow:    0 1px 2px rgba(43,22,19,.05), 0 10px 30px -12px rgba(43,22,19,.18);
  --shadow-lg: 0 24px 60px -24px rgba(43,22,19,.35);
  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1280px;

  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body:    "EB Garamond", Georgia, "Times New Roman", serif;
  --f-ui:      "Cinzel", Georgia, serif;
}

/* Az oldal ALAPÉRTELMEZETTEN VILÁGOS — a sötét téma NEM követi a rendszerbeállítást,
   csak a fejléc kapcsolójával (data-theme="dark") kapcsolható be. */

/* ---------- Tokenek: SÖTÉT (kézi kapcsoló) ---------- */
:root[data-theme="dark"] {
  --bg:        #1A0D0B;
  --bg-2:      #22110E;
  --surface:   #241512;
  --surface-2: #2C1A16;
  --ink:       #F2E7D8;
  --ink-soft:  #CDBBA9;
  --muted:     #9C8877;
  --line:      #3B231E;
  --line-soft: #301B17;
  --wine:      #7A2721;
  --wine-2:    #93332B;
  --wine-ink:  #F7EBDA;
  --gold:      #DFB88A;
  --gold-2:    #C99F6E;
  --gold-lite: #E9CBA0;
  --focus:     #DFB88A;
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 12px 34px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 70px -28px rgba(0,0,0,.7);
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: clip;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
p { margin: 0 0 1rem; max-width: 68ch; }

a { color: var(--wine); text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:root[data-theme="dark"] a { color: var(--gold-lite); }
:root[data-theme="dark"] a:hover { color: #fff; }
img { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--wine); color: var(--wine-ink);
  padding: .6rem 1rem; border-radius: 8px; z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Elrendezés ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--bg-2); }

/* ---------- Tipográfiai finomságok ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 1rem;
  font-weight: 600;
}
:root[data-theme="dark"] .eyebrow { color: var(--gold); }
.h-xl { font-size: clamp(2.4rem, 6vw, 4rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.section-lead { color: var(--ink-soft); font-size: 1.18rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; max-width: none; }

/* Dísz-elválasztó (◆), a névjegykártya motívuma */
.ornament {
  display: flex; align-items: center; gap: .8rem;
  color: var(--gold); margin: 0 0 1.4rem;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; background: currentColor; opacity: .5; flex: 1; max-width: 70px;
}
.ornament span { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

/* ---------- Gombok ---------- */
.btn {
  --btn-bg: var(--wine); --btn-fg: var(--wine-ink); --btn-bd: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-ui); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 1.7rem; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine); color: var(--gold-lite); border-color: var(--wine); }
.btn-primary:hover { background: var(--wine-2); color: #fff; border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--gold); box-shadow: none; }
.btn-ghost:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--ink); }
.btn-gold { background: var(--gold-lite); color: var(--wine); border-color: var(--gold-lite); }
.btn-gold:hover { background: #fff; color: var(--wine); }
.btn-sm { padding: .6rem 1.05rem; font-size: .72rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--f-ui); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-2); text-decoration: none; font-weight: 600;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 84px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { color: var(--wine); display: inline-flex; }
:root[data-theme="dark"] .brand-mark { color: var(--gold); }
.brand-mark svg { display: block; height: 46px; width: auto; }
.brand-mark img.brand-logo { display: block; height: 60px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wine); white-space: nowrap; }
:root[data-theme="dark"] .brand-name { color: var(--gold-lite); }
.brand-sub { font-family: var(--f-ui); font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }

.nav { margin-left: auto; display: flex; gap: 1.9rem; }
.nav a {
  font-family: var(--f-ui); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; position: relative; padding: .3rem 0;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold); transition: width .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--wine); }
:root[data-theme="dark"] .nav a:hover, :root[data-theme="dark"] .nav a[aria-current="page"] { color: var(--gold-lite); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .7rem; }
.phone-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  white-space: nowrap;
}
.phone-link svg { color: var(--gold-2); }
.phone-link:hover { color: var(--wine); }

.theme-toggle, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s;
}
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--gold); }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 12vw, 8rem); }
.hero-seal {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(46vw, 560px); opacity: .06; color: var(--wine); pointer-events: none;
}
:root[data-theme="dark"] .hero-seal { opacity: .09; color: var(--gold); }
.hero-inner { position: relative; max-width: 40rem; }
.hero-title { font-size: clamp(2rem, 6.4vw, 4.6rem); color: var(--wine); margin-bottom: 1.2rem; }
:root[data-theme="dark"] .hero-title { color: var(--gold-lite); }
.hero-lead { font-size: 1.3rem; color: var(--ink-soft); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; gap: .2rem; }
.stat-num { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--wine); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .stat-num { color: var(--gold-lite); }
.hero-stats dd { margin: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Hero kétoszlopos: fotó balra, szöveg jobbra */
.hero-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-grid .hero-inner { max-width: none; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: block; }
.hero-photo-ph { aspect-ratio: 4 / 5; border-radius: 18px; display: grid; place-items: center; border: 1px solid var(--line);
  color: color-mix(in srgb, var(--wine) 34%, var(--line));
  background: repeating-linear-gradient(45deg, transparent, transparent 14px, color-mix(in srgb, var(--gold) 7%, transparent) 14px, color-mix(in srgb, var(--gold) 7%, transparent) 15px), var(--surface-2); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-photo { max-width: 340px; }
}

/* ---------- Kártyák (szolgáltatások) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s, box-shadow .2s; position: relative;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: var(--radius) var(--radius) 0 0; opacity: 0; transition: opacity .25s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.1rem;
  background: color-mix(in srgb, var(--wine) 10%, transparent); color: var(--wine);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}
:root[data-theme="dark"] .card-ico { color: var(--gold-lite); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.card h3 { font-size: 1.32rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }

/* ---------- Ingatlanlista ---------- */
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.listing {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s; text-decoration: none; color: inherit;
}
.listing:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.listing-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing:hover .cc-single img { transform: scale(1.04); transition: transform .4s ease; }

/* Kártya képkarusszel */
.listing a { text-decoration: none; color: inherit; }
.cc, .cc-single { position: absolute; inset: 0; display: block; }
.cc-single img, .cc-single .photo-slot { width: 100%; height: 100%; object-fit: cover; }
.cc-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.cc-track::-webkit-scrollbar { display: none; }
.cc-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; height: 100%; }
.cc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: var(--wine); font-size: 1.35rem; line-height: 1; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.listing-media:hover .cc-arrow { opacity: 1; }
.cc-arrow:hover { background: #fff; }
.cc-prev { left: .55rem; }
.cc-next { right: .55rem; }
.cc-dots { position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%); display: flex; gap: .3rem; z-index: 3; }
.cc-dot { width: 7px; height: 7px; border-radius: 999px; border: none; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s, background .2s; }
.cc-dot.active { background: #fff; width: 16px; }
@media (hover: none) { .cc-arrow { display: none; } }
.photo-slot {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  color: var(--muted); background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, color-mix(in srgb, var(--gold) 8%, transparent) 12px, color-mix(in srgb, var(--gold) 8%, transparent) 13px),
    var(--surface-2);
}
.photo-slot span { font-family: var(--f-ui); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }

.pill {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-family: var(--f-ui); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600;
  padding: .38rem .7rem; border-radius: 999px; color: #fff; backdrop-filter: blur(4px);
}
.pill-sale { background: color-mix(in srgb, var(--wine) 92%, #000); }
.pill-rent { background: color-mix(in srgb, var(--gold-2) 92%, #000); }
.pill-status { top: auto; bottom: .9rem; left: .9rem; background: rgba(20,10,8,.72); }

.listing-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.listing-loc { display: flex; align-items: center; gap: .35rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.listing-loc svg { color: var(--gold-2); flex: 0 0 auto; }
.listing-title { font-size: 1.24rem; margin: .1rem 0 .2rem; line-height: 1.2; }
.listing-price { font-family: var(--f-display); font-size: 1.32rem; font-weight: 700; color: var(--wine); margin: 0; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .listing-price { color: var(--gold-lite); }
.listing-specs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; padding: .8rem 0 0; margin: auto 0 0; border-top: 1px solid var(--line-soft); font-size: .92rem; color: var(--ink-soft); }
.listing-specs li { display: flex; align-items: center; gap: .38rem; }
.listing-specs svg { color: var(--gold-2); flex: 0 0 auto; }
.listings-note { text-align: center; color: var(--muted); font-style: italic; margin-top: 2rem; }
.empty-note { text-align: center; color: var(--ink-soft); padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }

/* ---------- Szűrő sáv ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 2rem; box-shadow: var(--shadow); }
.filters .field { margin: 0; flex: 1 1 150px; }
.filters .field label { font-size: .7rem; }
.filters .btn { flex: 0 0 auto; }

/* ---------- Rólunk ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.about-copy > p { color: var(--ink-soft); font-size: 1.15rem; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--wine); color: var(--gold-lite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DFB88A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.about-side { display: grid; gap: 1rem; }
.value { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; }
.value-num { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1; }
.value h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Sötét szekció (folyamat) ---------- */
.section-dark { background: var(--wine); color: var(--wine-ink); position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-lite); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.step { position: relative; padding: 1.8rem 1.6rem; border: 1px solid color-mix(in srgb, var(--gold-lite) 30%, transparent); border-radius: var(--radius); background: color-mix(in srgb, #000 12%, transparent); }
.step-num { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; color: var(--gold-lite); display: block; line-height: 1; margin-bottom: .7rem; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step p { color: color-mix(in srgb, var(--wine-ink) 85%, transparent); margin: 0; }

/* ---------- Kapcsolat / űrlap ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-intro h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.contact-intro > p { color: var(--ink-soft); font-size: 1.12rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.ci { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--wine) 9%, transparent); color: var(--wine); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
:root[data-theme="dark"] .ci { color: var(--gold-lite); }
.ci-label { display: block; font-family: var(--f-ui); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--wine); }

.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-lg); position: relative; }
.contact-form-wrap::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--wine), var(--gold), var(--wine)); border-radius: var(--radius) var(--radius) 0 0; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-family: var(--f-ui); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 1.05rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: .8rem .9rem;
  width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.field-check input { width: auto; margin-top: .35rem; }
.field-check label { text-transform: none; letter-spacing: normal; font-family: var(--f-body); font-size: .92rem; font-weight: 400; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fineprint { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
.muted-link { color: var(--gold-2); }

.form-status { padding: .85rem 1rem; border-radius: 9px; margin-bottom: 1.1rem; font-size: .98rem; }
.form-status.ok  { background: color-mix(in srgb, #1f7a4d 16%, var(--surface)); border: 1px solid #1f7a4d; color: #1f7a4d; }
.form-status.err { background: color-mix(in srgb, var(--wine) 12%, var(--surface)); border: 1px solid var(--wine); color: var(--wine); }
:root[data-theme="dark"] .form-status.ok { color: #6fd39b; }
:root[data-theme="dark"] .form-status.err { color: #f0a6a0; }

/* ---------- Ingatlan részletező ---------- */
.detail { padding-block: clamp(1.2rem, 3vw, 2rem) clamp(3.5rem, 7vw, 5.5rem); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--gold-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--wine); }
.breadcrumb span { color: var(--line); }

/* --- Kép-hero galéria --- */
.detail-gallery { display: grid; grid-template-columns: 1.9fr 1fr; gap: .7rem; height: clamp(300px, 40vw, 500px); margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.dg-main { position: relative; border: 0; padding: 0; margin: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface-2); grid-row: 1 / -1; }
.dg-main:only-child { grid-column: 1 / -1; }
.dg-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dg-main:hover img { transform: scale(1.03); }
.dg-empty { cursor: default; }
.dg-empty .photo-slot { position: static; height: 100%; }
.dg-badge { position: absolute; right: .9rem; bottom: .9rem; display: inline-flex; align-items: center; gap: .4rem; background: rgba(20,10,8,.72); color: #fff; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px; backdrop-filter: blur(4px); }
.dg-thumbs { display: grid; grid-template-rows: repeat(2, 1fr); gap: .7rem; height: 100%; min-height: 0; }
.dg-thumb { border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface-2); position: relative; }
.dg-thumb:nth-child(n+3) { display: none; }
.dg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.dg-thumb:hover img { transform: scale(1.05); }
.dg-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20,10,8,.55); color: #fff; font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; }

/* --- Elrendezés: fő + sidebar --- */
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.detail-head { margin-bottom: 1.6rem; }
.detail-head .pill { position: static; display: inline-flex; margin-bottom: .9rem; }
.detail-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0 0 .5rem; }
.detail-loc { display: flex; align-items: center; gap: .4rem; color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 1rem; }
.detail-loc svg { color: var(--gold-2); flex: 0 0 auto; }
.detail-price { font-family: var(--f-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; color: var(--wine); font-variant-numeric: tabular-nums; margin: 0; }
:root[data-theme="dark"] .detail-price { color: var(--gold-lite); }
.detail-share { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; flex-wrap: wrap; }
.detail-share .ds-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.share-fb { display: inline-flex; align-items: center; gap: .5rem; background: #1877F2; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: .5rem .95rem; border-radius: 8px; transition: background .2s, transform .15s; }
.share-fb:hover { background: #0f63d6; color: #fff; transform: translateY(-1px); }

.detail-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .9rem; margin: 0 0 2.2rem; padding: 0; list-style: none; }
.detail-specs li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem .8rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.ds-ico { color: var(--gold-2); margin-bottom: .25rem; }
.ds-val { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1; }
.ds-key { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.detail-section { margin-bottom: 2rem; }
.detail-section h2 { display: flex; align-items: center; gap: .55rem; font-size: 1.5rem; margin: 0 0 1rem; }
.ds-sec-ico { color: var(--gold-2); display: inline-flex; }
.detail-desc { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.75; }
.detail-back { margin-top: 1.5rem; }

/* --- Sidebar: kapcsolat-kártya --- */
.detail-sidebar { position: sticky; top: 100px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.contact-card::before { content: ""; display: block; height: 3px; margin: -1.5rem -1.5rem 1.3rem; background: linear-gradient(90deg, var(--wine), var(--gold), var(--wine)); border-radius: var(--radius) var(--radius) 0 0; }
.cc-agent { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.agent-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--wine); color: var(--gold-lite); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; flex: 0 0 auto; }
.cc-agent strong { display: block; font-size: 1.05rem; }
.cc-title { color: var(--muted); font-size: .88rem; }
.cc-lead { color: var(--ink-soft); font-size: .96rem; margin: 0 0 1.1rem; }
.cc-call, .cc-mail { margin-bottom: .6rem; }
.cc-divider { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.cc-divider::before, .cc-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cc-form .field { margin-bottom: .7rem; }
.cc-form input, .cc-form textarea { width: 100%; font-family: var(--f-body); font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: .7rem .85rem; }
.cc-form textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.cc-form input:focus, .cc-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.cc-form .fe { color: var(--wine); font-size: .8rem; }
.cc-consent { display: flex; align-items: flex-start; gap: .5rem; font-size: .84rem; color: var(--ink-soft); margin: .3rem 0 .9rem; cursor: pointer; }
.cc-consent input { margin-top: .2rem; accent-color: var(--wine); width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--wine); color: var(--wine-ink); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid color-mix(in srgb, var(--gold-lite) 25%, transparent); }
.footer-brand .brand-name { color: var(--gold-lite); }
.footer-brand .brand-mark { color: var(--gold-lite); }
.site-footer .brand-logo { height: 54px; width: auto; object-fit: contain; display: block; }
.footer-tag { color: color-mix(in srgb, var(--wine-ink) 80%, transparent); margin-top: 1rem; max-width: 34ch; font-style: italic; }
.footer-col h4 { font-family: var(--f-ui); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lite); margin: 0 0 1rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a, .footer-col span { color: color-mix(in srgb, var(--wine-ink) 88%, transparent); text-decoration: none; font-size: .98rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; font-size: .84rem; color: color-mix(in srgb, var(--wine-ink) 65%, transparent); }

/* ---------- Reveal animáció (progresszív: JS nélkül minden látszik) ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(15,7,6,.92); display: none; align-items: center; justify-content: center; z-index: 300; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; z-index: 2; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; z-index: 2; }
.lightbox-nav:hover { background: rgba(255,255,255,.24); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-counter { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--f-ui); font-size: .82rem; letter-spacing: .1em; background: rgba(0,0,0,.45); padding: .35rem .85rem; border-radius: 999px; }
@media (max-width: 560px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .lightbox img { max-width: 96vw; }
}

/* ---------- Reszponzív ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .detail-gallery { display: block; height: auto; }
  .dg-main { height: clamp(240px, 58vw, 380px); }
  .dg-thumbs { display: grid; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 42%; gap: .5rem; height: auto; margin-top: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; }
  .dg-thumb { height: 90px; scroll-snap-align: start; }
  .dg-thumb:nth-child(n+3) { display: block; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem 1.2rem 1.2rem; margin: 0;
    transform: translateY(calc(-100% - 100px)); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .phone-link span { display: none; }
  .nav-cta { display: none; }
  .section-head-row { align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 1.06rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.4rem 2rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main { grid-column: auto; }
  .eyebrow { letter-spacing: .16em; }
  .hero-lead { font-size: 1.12rem; }
  .section-lead { font-size: 1.08rem; }
  .btn { padding: .85rem 1.3rem; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 480px) {
  .header-inner { gap: .55rem; }
  .phone-link { display: none; }
  .brand-mark img.brand-logo { height: 50px; }
  .brand-name { font-size: 1rem; }
  .hero-title { font-size: 1.85rem; }
  .wrap { padding-inline: 1.05rem; }
}
