/* Layout: hero foto pe tot ecranul cu căutare pe tab-uri, carusele, mozaic de zone, listare cu hartă pe jumătate, fișă cu sidebar lipicios */
:root {
  --navy: #0f1f33;
  --navy-2: #182c47;
  --gold: #d9a55b;
  --gold-d: #b9853b;
  --ink: #1b2430;
  --muted: #6b7685;
  --line: #e6e8ec;
  --bg2: #f5f6f8;
  --paper: #ffffff;
  --ok: #2e9e6a;
  --sold: #8a94a3;
  --font-h: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-b: "Inter", "Segoe UI", system-ui, sans-serif;
  --r: 12px;
  --sh: 0 12px 32px rgba(15, 31, 51, .10);
  --sh-lg: 0 24px 60px rgba(15, 31, 51, .18);
  --wrap: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15.5px/1.6 var(--font-b); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-h); margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.num { font-variant-numeric: tabular-nums; }
.ico { width: 18px; height: 18px; flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.muted { color: var(--muted); }

/* Bare de sus */
.demo-note { background: var(--gold); color: var(--navy); text-align: center; font-size: .8rem; font-weight: 600; padding: 5px 16px; }
.topbar { background: var(--navy); color: #c7d0dc; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar .l, .topbar .r { display: flex; gap: 22px; align-items: center; }
.topbar span, .topbar a { display: inline-flex; gap: 7px; align-items: center; }
.topbar .ico { width: 14px; height: 14px; color: var(--gold); }
.topbar a:hover { color: #fff; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 80; background: var(--navy); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 70; background: var(--paper); transition: background .3s, box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(15, 31, 51, .08); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.is-home .header:not(.scrolled) { background: transparent; color: #fff; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .14); }
.is-home main { margin-top: -78px; }
.is-home .header:not(.scrolled) .logo-sub { color: var(--gold); }
.is-home .header:not(.scrolled) .nav a:hover, .is-home .header:not(.scrolled) .nav a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 42px; height: 42px; }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font-family: var(--font-h); font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.logo-sub { font-size: .6rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-d); margin-top: 5px; font-weight: 600; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: .93rem; transition: background .2s, color .2s; }
.nav a:hover, .nav a.on { background: var(--bg2); color: var(--gold-d); }
.h-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; border-color: rgba(127, 127, 127, .3); background: transparent; display: grid; place-items: center; }
.icon-btn .cnt { position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 800; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 10px; padding: 13px 22px; font-weight: 700; font-size: .93rem; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e4b46c; box-shadow: 0 10px 24px rgba(217, 165, 91, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-wa { background: #25a35a; color: #fff; }

/* Hero */
.hero { position: relative; min-height: 760px; color: #fff; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.06); }
.hero-slides img.on { opacity: 1; animation: kb 9s ease-out forwards; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 21, 36, .82) 0%, rgba(10, 21, 36, .45) 55%, rgba(10, 21, 36, .2) 100%), linear-gradient(0deg, rgba(10, 21, 36, .6), transparent 45%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 70px; }
.hero .kicker { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; max-width: 13ch; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 1.15rem; max-width: 50ch; color: #dbe2ec; margin: 0 0 34px; }
.hero-dots { position: absolute; z-index: 3; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 40px; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); padding: 0; }
.hero-dots button.on { background: var(--gold); }

/* Căutare */
.search { max-width: 1040px; }
.s-tabs { display: inline-flex; background: rgba(15, 31, 51, .55); backdrop-filter: blur(8px); border-radius: 12px 12px 0 0; padding: 6px 6px 0; gap: 4px; }
.s-tabs button { border: 0; background: transparent; color: #fff; font-weight: 700; padding: 11px 22px; border-radius: 9px 9px 0 0; font-size: .92rem; }
.s-tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.s-box { background: #fff; color: var(--ink); border-radius: 0 14px 14px 14px; padding: 18px; box-shadow: var(--sh-lg); }
.s-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 0; align-items: stretch; }
.s-f { display: flex; flex-direction: column; gap: 2px; padding: 4px 16px; border-right: 1px solid var(--line); min-width: 0; }
.s-f:last-of-type { border-right: 0; }
.s-f label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.s-f select, .s-f input { border: 0; padding: 6px 0; background: transparent; font-weight: 600; font-size: .98rem; width: 100%; outline: none; }
.s-grid .btn { padding: 0 30px; min-height: 58px; }
.s-more { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: .88rem; }
.s-more .tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: #fff; font-size: .84rem; font-weight: 600; }
.chip:hover, .chip.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.adv-toggle { border: 0; background: none; font-weight: 700; color: var(--gold-d); display: inline-flex; gap: 6px; align-items: center; }
.adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.range { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.range input[type=range] { accent-color: var(--gold-d); width: 100%; }
.hero-stats { display: flex; gap: 44px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-h); font-size: 2rem; font-weight: 800; }
.hero-stats span { color: #c9d3df; font-size: .88rem; }

/* Secțiuni */
.sec { padding-block: 96px; }
.sec-alt { background: var(--bg2); }
.sec-dark { background: var(--navy); color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; margin-top: 12px; }
.sec-head p { margin: 10px 0 0; color: var(--muted); max-width: 56ch; }
.sec-dark .sec-head p { color: #b8c3d1; }
.center { text-align: center; justify-content: center; }
.center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; transition: all .2s; }
.arrows button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Carduri */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 26px; margin: -6px -2px 0; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { position: relative; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 10px rgba(15, 31, 51, .06); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; min-width: 0; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.c-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg2); display: block; }
.c-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover .c-media img { transform: scale(1.07); }
.c-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 21, 36, .7), transparent 45%); pointer-events: none; }
.c-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.bd { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--navy); color: #fff; }
.bd-tx { background: rgba(255, 255, 255, .95); color: var(--navy); }
.bd-Exclusiv { background: var(--gold); color: var(--navy); }
.bd-Recomandat { background: var(--navy); }
.bd-Nou { background: var(--ok); }
.bd-Investiție { background: #6d5bd0; }
.bd-Vândut { background: var(--sold); }
.c-tools { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 2; opacity: 0; transform: translateY(-6px); transition: all .3s; }
.card:hover .c-tools, .c-tools:focus-within { opacity: 1; transform: none; }
.c-tools button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: var(--navy); }
.c-tools button:hover, .c-tools button.on { background: var(--gold); }
.c-tools .ico { width: 16px; height: 16px; }
.c-price { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-family: var(--font-h); font-weight: 800; font-size: 1.35rem; }
.c-price small { font-family: var(--font-b); font-weight: 500; font-size: .8rem; opacity: .85; }
.c-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; color: #fff; font-size: .78rem; font-weight: 600; display: flex; gap: 5px; align-items: center; background: rgba(0, 0, 0, .35); padding: 4px 8px; border-radius: 6px; }
.c-count .ico { width: 14px; height: 14px; }
.c-body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c-type { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-d); }
.c-body h3 { font-size: 1.1rem; font-weight: 700; }
.c-body h3 a:hover { color: var(--gold-d); }
.c-loc { color: var(--muted); font-size: .88rem; display: flex; gap: 6px; align-items: center; }
.c-loc .ico { width: 15px; height: 15px; }
.c-specs { display: flex; gap: 18px; margin-top: 10px; font-size: .88rem; color: var(--ink); flex-wrap: wrap; }
.c-specs span { display: flex; gap: 7px; align-items: center; }
.c-specs .ico { color: var(--gold-d); width: 17px; height: 17px; }
.c-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.c-agent { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.c-agent img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.card.sold .c-media img { filter: grayscale(.8); }

/* Tab-uri categorii */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: #fff; padding: 6px; border-radius: 12px; border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 8px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Zone mozaic */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 20px; }
.zone { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; display: flex; align-items: flex-end; border: 0; padding: 0; text-align: left; background: var(--navy); }
.zone:first-child { grid-row: span 2; }
.zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.zone:hover img { transform: scale(1.08); }
.zone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 21, 36, .85), rgba(10, 21, 36, .05) 60%); }
.zone > div { position: relative; z-index: 2; padding: 24px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.zone b { font-family: var(--font-h); font-size: 1.45rem; font-weight: 800; display: block; }
.zone span { font-size: .88rem; color: #d6dde7; }
.zone .go { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; flex: none; transform: translateX(-8px); opacity: 0; transition: all .3s; }
.zone:hover .go { transform: none; opacity: 1; }

/* Statistici */
.stats-band { position: relative; color: #fff; overflow: hidden; }
.stats-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: rgba(12, 25, 42, .82); }
.stats-band .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 72px; }
.stat b { font-family: var(--font-h); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); display: block; }
.stat span { color: #d3dbe6; }

/* Servicii */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc { background: #fff; border-radius: var(--r); padding: 32px; border: 1px solid var(--line); transition: all .3s; position: relative; overflow: hidden; }
.svc:hover { background: var(--navy); color: #fff; transform: translateY(-4px); box-shadow: var(--sh-lg); }
.svc .i { width: 60px; height: 60px; border-radius: 14px; background: #fbf3e6; color: var(--gold-d); display: grid; place-items: center; margin-bottom: 20px; transition: all .3s; }
.svc:hover .i { background: var(--gold); color: var(--navy); }
.svc .i svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.15rem; margin-bottom: 8px; }
.svc p { margin: 0; color: var(--muted); font-size: .94rem; transition: color .3s; }
.svc:hover p { color: #c2ccd8; }
.svc .n { position: absolute; right: 24px; top: 20px; font-family: var(--font-h); font-weight: 800; font-size: 2.6rem; color: var(--line); transition: color .3s; }
.svc:hover .n { color: rgba(255, 255, 255, .08); }

/* Agent split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ag-photo { position: relative; }
.ag-photo img { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ag-badge { position: absolute; right: -24px; bottom: 40px; background: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: var(--sh-lg); display: flex; gap: 14px; align-items: center; }
.ag-badge b { font-family: var(--font-h); font-size: 2rem; color: var(--gold-d); line-height: 1; }
.ag-badge span { font-size: .85rem; color: var(--muted); max-width: 12ch; display: block; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.checks .ico { color: #fff; background: var(--gold); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.sig { display: flex; gap: 16px; align-items: center; margin-top: 8px; flex-wrap: wrap; }

/* Recenzii */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 2); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.rev { scroll-snap-align: start; background: var(--navy-2); border-radius: 16px; padding: 36px; position: relative; }
.rev .q { position: absolute; right: 30px; top: 18px; font-family: var(--font-h); font-size: 5rem; color: var(--gold); opacity: .3; line-height: 1; }
.rev .stars { color: var(--gold); letter-spacing: 3px; }
.rev p { font-size: 1.08rem; margin: 14px 0 24px; color: #e3e9f1; }
.rev .who { display: flex; gap: 14px; align-items: center; }
.rev .who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.rev .who b { display: block; }
.rev .who span { color: #a9b5c5; font-size: .88rem; }

/* Ghiduri */
.post { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: all .3s; }
.post:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.post .pm { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.post .pm img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post:hover .pm img { transform: scale(1.06); }
.post .pc { position: absolute; left: 16px; top: 16px; }
.post .pb { padding: 22px; }
.post .pb small { color: var(--muted); }
.post h3 { font-size: 1.12rem; margin: 8px 0 12px; }
.post .more { color: var(--gold-d); font-weight: 700; font-size: .9rem; }

/* CTA */
.cta { position: relative; border-radius: 20px; overflow: hidden; color: #fff; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 25, 42, .92) 30%, rgba(12, 25, 42, .4)); }
.cta > div { position: relative; z-index: 2; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 18ch; }
.cta p { color: #cfd8e3; margin: 12px 0 0; max-width: 48ch; }

/* Footer */
.footer { background: #0a1626; color: #aab6c6; padding-block: 72px 26px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer .logo-t b { color: #fff; }
.footer .logo-sub { color: var(--gold); }
.mini { display: flex; gap: 12px; align-items: center; }
.mini img { width: 64px; height: 50px; border-radius: 8px; object-fit: cover; }
.mini b { color: #fff; font-size: .88rem; display: block; line-height: 1.3; }
.mini span { color: var(--gold); font-size: .85rem; font-weight: 700; }
.news { display: flex; margin-top: 14px; background: #13233a; border-radius: 10px; overflow: hidden; }
.news input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; color: #fff; }
.news button { border: 0; background: var(--gold); color: var(--navy); padding: 0 16px; font-weight: 700; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #2a3b54; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.socials a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid #1d2d45; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; }

/* Pagina de listări: hartă pe jumătate */
.page-head { background: var(--navy); color: #fff; padding-block: 44px 40px; position: relative; overflow: hidden; }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-head .wrap { position: relative; }
.crumbs { font-size: .85rem; color: #b8c3d1; }
.crumbs a:hover { color: var(--gold); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-top: 8px; }
.filterbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 78px); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.filterbar .wrap { display: flex; gap: 10px; align-items: center; padding-block: 12px; flex-wrap: wrap; max-width: none; }
.fsel { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: #fff; font-weight: 600; font-size: .9rem; min-width: 0; }
.halfmap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: calc(100vh - 150px); }
.hm-list { padding: 24px max(20px, env(safe-area-inset-left, 0px)) 60px; background: var(--bg2); }
.hm-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.hm-top h2 { font-size: 1.2rem; }
.view-tg { display: flex; gap: 4px; }
.view-tg button { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.view-tg button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.hm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.hm-grid.list { grid-template-columns: minmax(0, 1fr); }
.hm-grid.list .card { flex-direction: row; }
.hm-grid.list .c-media { width: 42%; aspect-ratio: auto; min-height: 220px; flex: none; }
.card.hl { box-shadow: 0 0 0 3px var(--gold), var(--sh-lg); }
.hm-map { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 140px); height: calc(100vh - 140px); background: #dfe7ee; overflow: hidden; }
.map-svg { width: 100%; height: 100%; display: block; }
.pin { cursor: pointer; }
.pin rect { fill: var(--navy); transition: fill .2s; }
.pin text { fill: #fff; font: 700 12px var(--font-b); }
.pin path { fill: var(--navy); transition: fill .2s; }
.pin.on rect, .pin:hover rect, .pin.on path, .pin:hover path { fill: var(--gold-d); }
.map-pop { position: absolute; width: 250px; background: #fff; border-radius: 12px; box-shadow: var(--sh-lg); overflow: hidden; z-index: 5; }
.map-pop img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.map-pop div { padding: 12px 14px; }
.map-pop b { display: block; font-family: var(--font-h); }
.map-pop span { color: var(--gold-d); font-weight: 800; }
.map-ctrl { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 6px; z-index: 4; }
.map-ctrl button { width: 40px; height: 40px; border-radius: 9px; border: 0; background: #fff; box-shadow: var(--sh); font-weight: 800; font-size: 1.1rem; }
.map-note { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .92); border-radius: 8px; padding: 6px 10px; font-size: .75rem; color: var(--muted); }
.empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line); border-radius: var(--r); padding: 48px; text-align: center; }

/* Fișa proprietății */
.p-gallery { position: relative; background: var(--navy); }
.pg-track { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pg-track::-webkit-scrollbar { display: none; }
.pg-track button { border: 0; padding: 0; height: 540px; scroll-snap-align: start; overflow: hidden; background: var(--navy); cursor: zoom-in; }
.pg-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.pg-track button:hover img { transform: scale(1.04); }
.pg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: 3; box-shadow: var(--sh); }
.pg-prev { left: 24px; } .pg-next { right: 24px; }
.pg-all { position: absolute; right: 24px; bottom: 24px; z-index: 3; }
.p-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; padding-block: 34px 26px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.p-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin: 12px 0 10px; }
.p-price { text-align: right; }
.p-price b { font-family: var(--font-h); font-size: 2.3rem; font-weight: 800; color: var(--navy); display: block; line-height: 1.1; }
.p-price small { color: var(--muted); }
.p-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.p-actions button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.p-actions button.on { background: var(--gold); border-color: var(--gold); }
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 78px); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 16px 14px; font-weight: 700; font-size: .9rem; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--navy); border-color: var(--gold); }
.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-block: 36px 80px; }
.blk { padding: 30px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 24px; background: #fff; scroll-margin-top: 170px; }
.blk h2 { font-size: 1.35rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.blk h2::before { content: ""; width: 4px; height: 22px; background: var(--gold); border-radius: 2px; }
.ov { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 18px; }
.ov div { display: flex; gap: 12px; align-items: center; }
.ov .i { width: 48px; height: 48px; border-radius: 12px; background: var(--bg2); display: grid; place-items: center; color: var(--gold-d); flex: none; }
.ov b { display: block; font-family: var(--font-h); font-size: 1.1rem; }
.ov span { font-size: .8rem; color: var(--muted); }
.desc { position: relative; max-height: 140px; overflow: hidden; transition: max-height .4s; }
.desc.open { max-height: 800px; }
.desc:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #fff); }
.readmore { border: 0; background: none; color: var(--gold-d); font-weight: 700; padding: 8px 0 0; }
.dt { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.dt div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); gap: 12px; }
.dt span { color: var(--muted); }
.feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feats li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.feats .ico { color: var(--ok); }
.near { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.near div { background: var(--bg2); border-radius: 10px; padding: 12px 14px; font-size: .88rem; }
.near b { display: block; }
.p-map { border-radius: 12px; overflow: hidden; height: 320px; background: #dfe7ee; }
.calc { display: grid; grid-template-columns: 1fr 220px; gap: 30px; align-items: center; }
.calc .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fld input, .fld select, .fld textarea { border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; background: #fff; width: 100%; }
.fld textarea { min-height: 96px; resize: vertical; }
.donut { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.donut > div { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut b { font-family: var(--font-h); font-size: 1.5rem; display: block; }
.donut span { font-size: .78rem; color: var(--muted); }
.legend { display: flex; gap: 14px; justify-content: center; font-size: .8rem; margin-top: 10px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 82px; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.day { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 6px; text-align: center; }
.day small { display: block; font-size: .72rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.day b { font-family: var(--font-h); font-size: 1.5rem; display: block; }
.day[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.day[aria-pressed="true"] small { color: var(--gold); }
.tour-type { display: flex; gap: 10px; margin: 16px 0; }
.tour-type button { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 11px; font-weight: 700; }
.tour-type button[aria-pressed="true"] { border-color: var(--gold-d); color: var(--gold-d); background: #fbf3e6; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 150px); align-self: start; display: flex; flex-direction: column; gap: 20px; }
.ac { border-radius: 16px; overflow: hidden; box-shadow: var(--sh-lg); background: #fff; }
.ac-top { background: var(--navy); color: #fff; padding: 22px; display: flex; gap: 14px; align-items: center; }
.ac-top img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.ac-top b { display: block; font-family: var(--font-h); font-size: 1.1rem; }
.ac-top span { color: #b8c3d1; font-size: .85rem; }
.ac-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ac-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg2); padding: 5px; border-radius: 10px; }
.ac-tabs button { border: 0; background: transparent; padding: 9px; border-radius: 7px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.ac-tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.consent { font-size: .78rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.ok-msg { background: #e6f5ee; color: #1d6b47; border-radius: 9px; padding: 12px; font-size: .9rem; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(7, 14, 24, .96); display: flex; flex-direction: column; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb-main { flex: 1; display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; min-height: 0; }
.lb-main img { max-height: 78vh; margin: 0 auto; border-radius: 8px; }
.lb button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 50%; width: 52px; height: 52px; font-size: 1.5rem; }
.lb-x { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding-top: 14px; overflow-x: auto; }
.lb-thumbs img { width: 90px; height: 60px; object-fit: cover; border-radius: 6px; opacity: .45; cursor: pointer; flex: none; }
.lb-thumbs img.on { opacity: 1; outline: 2px solid var(--gold); }
.lb-c { color: #c7d0dc; text-align: center; font-size: .9rem; }

/* Compară + toast */
.cmp-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 10px 10px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--sh-lg); max-width: calc(100% - 32px); }
.cmp-bar .th { display: flex; gap: 6px; }
.cmp-bar .th img { width: 46px; height: 34px; object-fit: cover; border-radius: 6px; }
.modal { position: fixed; inset: 0; z-index: 210; background: rgba(7, 14, 24, .7); display: grid; place-items: center; padding: 20px; }
.modal-box { background: #fff; border-radius: 16px; max-width: 980px; width: 100%; max-height: 86vh; overflow: auto; padding: 28px; position: relative; }
.modal-box .x { position: absolute; right: 16px; top: 14px; border: 0; background: var(--bg2); width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; }
.cmp-tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cmp-tbl th, .cmp-tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-tbl thead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.toast { position: fixed; left: 50%; top: calc(96px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 10px; z-index: 220; font-weight: 600; font-size: .9rem; box-shadow: var(--sh-lg); }
.wa-float { position: fixed; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25a35a; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 163, 90, .45); }
.wa-float svg { width: 30px; height: 30px; }
.totop { position: fixed; right: calc(30px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; }

/* Pagini simple */
.panel { background: #fff; border-radius: 16px; padding: 32px; box-shadow: var(--sh-lg); }
.panel h2 { font-size: 1.4rem; margin-bottom: 18px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; counter-increment: s; }
.steps li::before { content: "0" counter(s); width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; }
.steps h3 { font-size: 1.08rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.clist { list-style: none; padding: 0; margin: 26px 0; display: flex; flex-direction: column; gap: 18px; }
.clist li { display: flex; gap: 16px; align-items: center; }
.clist .i { width: 52px; height: 52px; border-radius: 14px; background: #fbf3e6; color: var(--gold-d); display: grid; place-items: center; flex: none; }
.clist span { display: block; font-size: .8rem; color: var(--muted); }
.clist b { font-size: 1.02rem; }

/* Responsive */
@media (max-width: 1100px) {
  .s-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .s-f { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
  .s-grid .btn { grid-column: 1 / -1; }
  .track { grid-auto-columns: calc((100% - 28px) / 2); }
  .grid3, .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-layout, .split { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .halfmap { grid-template-columns: minmax(0, 1fr); }
  .hm-map { position: relative; top: 0; height: 420px; order: -1; }
  .filterbar { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .ag-badge { right: 16px; }
  .stats-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-track { grid-auto-columns: 80%; }
  .pg-track button { height: 420px; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; color: var(--ink); flex-direction: column; padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); box-shadow: var(--sh); }
  .nav.open { display: flex; }
  .is-home .header:not(.scrolled) .nav a { color: var(--ink); }
  .burger { display: grid; }
  .h-actions .btn { display: none; }
  .topbar .l span:nth-child(n+2) { display: none; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
  .zone:first-child { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 120px; padding-bottom: 60px; }
  .s-grid, .adv { grid-template-columns: minmax(0, 1fr); }
  .s-tabs button { padding: 10px 14px; }
  .hero-stats { gap: 26px; }
  .track { grid-auto-columns: 86%; }
  .grid3, .services, .hm-grid, .reviews, .checks, .feats, .near, .dt, .calc, .calc .fields { grid-template-columns: minmax(0, 1fr); }
  .reviews { grid-auto-flow: row; }
  .hm-grid.list .card { flex-direction: column; }
  .hm-grid.list .c-media { width: 100%; aspect-ratio: 3 / 2; min-height: 0; }
  .sec { padding-block: 64px; }
  .cta > div { padding: 36px 26px; }
  .footer .cols { grid-template-columns: minmax(0, 1fr); }
  .p-head { flex-direction: column; gap: 14px; }
  .p-head > div { width: 100%; }
  .p-price { text-align: left; }
  .p-actions { justify-content: flex-start; }
  .pg-track { grid-auto-columns: 100%; }
  .pg-track button { height: 300px; }
  .blk { padding: 22px; }
  .topbar .r { display: none; }
  .ag-badge { right: 12px; bottom: 12px; padding: 12px 16px; }
  .split { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
