/* =====================================================================
   Site public - agentie imobiliara
   Tokens: hartie rece (calcar), cerneala verde-inchis, accent teal si
   eticheta de pret ochre (motivul "eticheta de pret" de pe chei).
   Display: Unbounded · Text: Onest (ambele cu diacritice RO + chirilic).
   ===================================================================== */
:root {
    --paper: #f4f6f9;
    --card: #ffffff;
    --ink: #0e1c2f;
    --muted: #566175;
    --subtle: #8a93a3;
    --line: #e2e7ee;
    --teal: #16407a;          /* culoarea principala (butoane, linkuri) */
    --teal-ink: #0d2b55;
    --teal-tint: #e7eef8;
    --ochre: #f3b23f;         /* eticheta de pret */
    --ochre-ink: #4a3204;
    --danger: #b42318;
    --hero-shade: rgba(9, 18, 33, .62);
    --display: 'Unbounded', 'Onest', system-ui, sans-serif;
    --text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --wrap: 1240px;
    --shadow: 0 1px 2px rgba(14, 28, 47, .06), 0 12px 32px -14px rgba(14, 28, 47, .28);

    --text-main: var(--ink);
    --text-muted: var(--muted);
    --text-subtle: var(--subtle);
    --border-glass: var(--line);
    --radius-full: 9999px;
    --transition-apple: all .25s ease;
}
/* Tema intunecata (comutatorul din footer) */
:root[data-theme="dark"] {
    --paper: #0b1320;
    --card: #121c2c;
    --ink: #e8edf5;
    --muted: #a4afc0;
    --subtle: #7b879a;
    --line: #233149;
    --teal: #5b9cf0;
    --teal-ink: #8db9f5;
    --teal-tint: #18263c;
    --ochre-ink: #3a2703;
    --hero-shade: rgba(4, 9, 17, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55; -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(--ochre); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.hp-field { position: absolute; left: -9999px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--card); color: var(--ink); }
.btn-light:hover { background: var(--teal-tint); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { color: var(--teal); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-family: var(--text); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted); }
.main-nav a:hover { color: var(--ink); background: var(--card); }
.main-nav a.is-active { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.header-phone:hover { background: var(--card); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.lang-switch a { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-switch a.is-active { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); align-items: center; justify-content: center; }
.mobile-nav { display: none; }
@media (max-width: 1040px) {
    .main-nav, .header-phone span { display: none; }
    .burger { display: inline-flex; }
    .mobile-nav { display: block; position: fixed; inset: 72px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; transform: translateY(-110%); visibility: hidden; transition: transform .25s ease, visibility .25s; z-index: 40; }
    .mobile-nav.open { transform: none; visibility: visible; }
    .mobile-nav a { display: block; padding: 12px 4px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
    .mobile-nav .btn { margin-top: 16px; width: 100%; }
}
@media (max-width: 520px) { .brand-text small { display: none; } .header-row { gap: 12px; } }

/* ---------- eticheta de pret (motivul vizual) ---------- */
.tag { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 16px 8px 26px; background: var(--ochre); color: var(--ochre-ink); font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.1; border-radius: 6px 10px 10px 6px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); white-space: nowrap; }
.tag::before { content: ''; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); }
.tag small { font-family: var(--text); font-size: 12px; font-weight: 600; opacity: .8; }
.tag-lg { font-size: 26px; padding: 12px 22px 12px 34px; clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%); }
.tag-lg::before { left: 15px; width: 9px; height: 9px; margin-top: -4.5px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5vw, 60px); letter-spacing: -.035em; line-height: 1.04; max-width: 13ch; }
.hero-lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-stats { display: flex; gap: 32px; margin-top: 28px; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 600; }
.hero-stats span { font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-photo { position: relative; aspect-ratio: 4 / 4.4; border-radius: 220px 220px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--teal-tint); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--teal); }
.hero-photo-empty svg { width: 46%; opacity: .5; }
.hero-caption { position: absolute; left: -24px; bottom: 28px; background: var(--card); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; max-width: 290px; }
.hero-caption-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.hero-caption-meta { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-photo { aspect-ratio: 4 / 3; border-radius: 160px 160px var(--r-lg) var(--r-lg); }
    .hero-caption { left: 12px; bottom: 12px; }
}

/* ---------- cautare ---------- */
.search { margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow); }
.search-tabs { display: flex; gap: 4px; padding: 4px 4px 10px; }
.search-tabs label { cursor: pointer; }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs span { display: inline-block; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); }
.search-tabs input:checked + span { background: var(--ink); color: var(--paper); }
.search-tabs input:focus-visible + span { outline: 3px solid var(--ochre); }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font-size: 15px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235c6763' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.textarea { min-height: 110px; resize: vertical; }
.search-fields .input, .search-fields .select { background-color: var(--paper); border-color: transparent; }
.search-fields .btn { min-height: 46px; padding: 0 26px; }
@media (max-width: 760px) { .search-fields { grid-template-columns: 1fr 1fr; } .search-fields .field-q { grid-column: 1 / -1; } .search-fields .btn { grid-column: 1 / -1; } }

/* ---------- sectiuni ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.025em; }
.section-head p { margin-top: 8px; color: var(--muted); max-width: 56ch; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-teal { background: var(--teal-ink); color: #fff; }

/* ---------- card proprietate ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cards, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards, .cards-4 { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); transition: border-color .15s, box-shadow .2s; }
.pcard:hover { border-color: #c5ccc8; box-shadow: var(--shadow); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--teal-tint); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.pcard-noimg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--teal); font-size: 13px; }
.pcard-noimg svg { width: 64px; margin: 0 auto 6px; opacity: .6; }
.pcard-flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.flag { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .94); color: var(--ink); }
.flag-rent { background: var(--ink); color: var(--paper); }
.flag-reserved { background: #fff4e0; color: var(--ochre-ink); }
.flag-featured { background: var(--ochre); color: var(--ochre-ink); }
.pcard-photos { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(23, 32, 30, .6); padding: 3px 9px; border-radius: 999px; }
.pcard-price { position: absolute; left: 0; bottom: 14px; }
.pcard-price .tag { border-radius: 0 10px 10px 0; clip-path: none; padding-left: 14px; }
.pcard-price .tag::before { display: none; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-title { font-weight: 600; font-size: 17px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-loc { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pcard-specs { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink); border-top: 1px dashed var(--line); }
.pcard-specs span { display: inline-flex; align-items: center; gap: 6px; }
.pcard-specs i { color: var(--subtle); font-size: 13px; }
.pcard-sqm { font-size: 12px; color: var(--subtle); }

/* ---------- tipuri ---------- */
.types { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.type { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); transition: border-color .15s; }
.type:hover { border-color: var(--teal); }
.type i { font-size: 22px; color: var(--teal); }
.type strong { font-weight: 600; }
.type span { font-size: 13px; color: var(--muted); }

/* ---------- de ce noi ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; gap: 20px; } }
.why-item { padding-top: 18px; border-top: 2px solid var(--teal); }
.why-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.why-item p { color: var(--muted); }
.about-text { font-size: 19px; line-height: 1.6; max-width: 62ch; margin-bottom: 36px; }

/* ---------- agenti ---------- */
.agents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .agents { grid-template-columns: 1fr; } }
.agent { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.agent-photo { aspect-ratio: 1 / 1; background: var(--teal-tint); position: relative; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 42px; font-weight: 600; color: var(--teal); }
.agent-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.agent-name { font-weight: 600; font-size: 17px; }
.agent-role { font-size: 14px; color: var(--muted); }
.agent-meta { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--muted); }
.agent-actions { display: flex; gap: 8px; padding: 0 18px 18px; }
.agent-actions .btn { flex: 1; min-height: 40px; font-size: 14px; padding: 0 12px; }

/* ---------- CTA proprietar ---------- */
.owner-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.owner-cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.025em; }
.owner-cta p { margin-top: 14px; color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 48ch; }
.owner-form { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; }
@media (max-width: 860px) { .owner-cta { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- recenzii, blog, faq ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: var(--ochre); letter-spacing: 2px; }
.review-text { font-size: 16px; }
.review-author { margin-top: auto; font-weight: 600; }
.review-author span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .15s; }
.post-card:hover { border-color: var(--teal); }
.post-card time { font-size: 13px; color: var(--subtle); }
.post-card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 15px; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform .2s; color: var(--teal); margin-top: 4px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--muted); max-width: 70ch; white-space: pre-line; }

/* ---------- lista (filtre + rezultate) ---------- */
.page-head { padding: 36px 0 20px; }
.page-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; }
.page-head p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.listing { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 64px; }
.filters { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 110px); overflow: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head strong { font-family: var(--display); font-weight: 600; font-size: 17px; }
.filters-close { display: none; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--paper); border-radius: 999px; padding: 3px; }
.seg label { cursor: pointer; text-align: center; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 7px 6px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg input:focus-visible + span { outline: 3px solid var(--ochre); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks { display: grid; gap: 6px; }
.checks label { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--teal); }
.filters-more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--teal); list-style: none; }
.filters-more summary::-webkit-details-marker { display: none; }
.filters-more[open] summary { margin-bottom: 10px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.toolbar-count { font-weight: 600; }
.toolbar-right { display: flex; align-items: center; gap: 8px; }
.toolbar .select { min-height: 40px; width: auto; }
.view-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.view-switch a { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.view-switch a.is-active { background: var(--ink); color: var(--paper); }
.filters-open { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); font-size: 14px; font-weight: 500; }
.chip:hover { background: #d3e6e0; }
.map-full { height: 640px; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; z-index: 0; }
.map-pop { width: 220px; font-family: var(--text); }
.map-pop img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.map-pop strong { display: block; font-size: 14px; line-height: 1.3; }
.map-pop span { display: block; margin-top: 4px; font-weight: 700; color: var(--teal); }
.empty { text-align: center; padding: 56px 24px; background: var(--card); border: 1px dashed #c5ccc8; border-radius: var(--r-md); }
.empty h2 { font-family: var(--display); font-weight: 600; font-size: 22px; }
.empty p { color: var(--muted); margin: 10px auto 20px; max-width: 48ch; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 15px; }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .is-disabled { color: var(--subtle); }
@media (max-width: 960px) {
    .listing { grid-template-columns: 1fr; }
    .filters { position: fixed; inset: 0; z-index: 80; border-radius: 0; max-height: none; transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    .filters.open { transform: none; visibility: visible; }
    .filters-close, .filters-open { display: inline-flex; }
    .map-full { height: 70vh; }
}

/* ---------- pagina proprietatii ---------- */
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-end; padding: 8px 0 24px; }
.prop-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -.025em; max-width: 26ch; }
.prop-loc { margin-top: 10px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.prop-loc span { display: inline-flex; gap: 6px; align-items: center; }
.prop-price-box { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.prop-price-box small { color: var(--muted); font-size: 14px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(560px, 60vw); border-radius: var(--r-lg); overflow: hidden; }
.gallery button { position: relative; padding: 0; border: 0; background: var(--teal-tint); overflow: hidden; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.02); }
.gallery .g-main { grid-row: 1 / 3; }
.gallery-1 { grid-template-columns: 1fr; }
.gallery-1 .g-main { grid-row: auto; }
.gallery-2 { grid-template-rows: 1fr; }
.gallery-2 .g-main { grid-row: auto; }
.g-more { position: absolute; inset: 0; background: rgba(23, 32, 30, .55); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 17px; }
.gallery-empty { height: 320px; border-radius: var(--r-lg); background: var(--teal-tint); display: grid; place-items: center; color: var(--teal); text-align: center; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .gallery button:not(.g-main) { display: none; } .gallery .g-main { aspect-ratio: 4 / 3; grid-row: auto; } }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding: 32px 0 64px; align-items: start; }
@media (max-width: 1000px) { .prop-layout { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.facts > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts span { display: block; font-size: 13px; color: var(--muted); }
.facts strong { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; margin-top: 2px; }
@media (max-width: 620px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(2) { border-right: 0; } .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.block { margin-top: 36px; }
.block h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin-bottom: 16px; }
.richtext { font-size: 17px; line-height: 1.7; max-width: 70ch; }
.richtext p { margin: 0 0 1em; }
.richtext ul, .richtext ol { padding-left: 1.3em; margin: 0 0 1em; }
.richtext a { color: var(--teal); text-decoration: underline; }
.richtext h2, .richtext h3 { font-family: var(--display); font-weight: 600; margin: 1.4em 0 .6em; line-height: 1.25; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 620px) { .specs { grid-template-columns: 1fr; } }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.features li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.features i { color: var(--teal); }
.features { padding: 0; margin: 0; }
@media (max-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
.map-box { height: 360px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); z-index: 0; }
.note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.video-box { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.video-box iframe { width: 100%; height: 100%; border: 0; }
.aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.panel h2, .panel h3 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.015em; margin-bottom: 14px; }
.agent-mini { display: flex; gap: 14px; align-items: center; }
.agent-mini img, .agent-mini .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar { background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 20px; }
.agent-mini strong { display: block; font-size: 17px; }
.agent-mini span { font-size: 14px; color: var(--muted); }
.contact-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.contact-buttons .btn { min-height: 42px; font-size: 14px; padding: 0 10px; }
.form { display: grid; gap: 12px; }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 999px; padding: 3px; margin-bottom: 4px; }
.form-tabs button { border: 0; background: transparent; padding: 8px; border-radius: 999px; font-weight: 600; color: var(--muted); font-size: 14px; }
.form-tabs button.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { color: var(--danger); font-size: 14px; }
.form-ok { text-align: center; padding: 18px 6px; }
.form-ok i { font-size: 34px; color: var(--teal); }
.form-ok strong { display: block; font-family: var(--display); font-size: 18px; margin: 10px 0 6px; }
.form-ok p { color: var(--muted); }
.ref-line { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-row a, .share-row button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: inline-grid; place-items: center; color: var(--ink); }
.share-row a:hover, .share-row button:hover { border-color: var(--ink); }
.mobile-cta { display: none; }
@media (max-width: 1000px) {
    .aside { position: static; }
    .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--card) 96%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
    .mobile-cta .btn { flex: 1; }
    body.has-mobile-cta { padding-bottom: 76px; }
    body.has-mobile-cta .chatw { bottom: 86px; }
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 17, 16, .94); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: #fff; font-size: 15px; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 64px 24px; min-height: 0; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; font-size: 18px; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (max-width: 620px) { .lb-stage { padding: 0 8px 70px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* ---------- agent profil, contact ---------- */
.agent-hero { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: center; padding: 24px 0 40px; }
.agent-hero .agent-photo { border-radius: var(--r-lg); overflow: hidden; }
.agent-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; }
.agent-hero .agent-role { font-size: 18px; margin-top: 6px; }
.agent-hero .bio { margin-top: 18px; max-width: 62ch; font-size: 17px; white-space: pre-line; }
.agent-hero .contact-buttons { max-width: 440px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
@media (max-width: 760px) { .agent-hero { grid-template-columns: 1fr; gap: 24px; } .agent-hero .agent-photo { max-width: 240px; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 18px; }
.info-list div span { display: block; font-size: 14px; color: var(--muted); }
.info-list div strong, .info-list div a { font-size: 18px; font-weight: 600; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: inline-grid; place-items: center; }
.socials a:hover { border-color: var(--ink); }
.article { max-width: 760px; padding-bottom: 64px; }
.article h1 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; }
.article .richtext { margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 56px 0 28px; margin-top: 0; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-about { margin-top: 16px; font-size: 15px; max-width: 36ch; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.site-footer .socials a { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: 15px; opacity: 0; transition: all .25s; z-index: 120; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.leaflet-container { font-family: var(--text); }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.cookie-banner{ position: fixed; left: 0; right: 0; bottom: 0; min-height: 30vh; z-index: 3000; background: rgba(255,255,255,.97); backdrop-filter: blur(24px); border-top: 1px solid var(--border-glass); box-shadow: 0 -20px 50px rgba(0,0,0,.12); display: none; align-items: center; padding: 28px 0; }
.cookie-banner.show{ display: flex; }
.cookie-banner .container{ width: 100%; display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px){
.cookie-banner .container{ grid-template-columns: auto 1fr auto; gap: 32px; }
}
.cookie-banner .cookie-icon{ width: 56px; height: 56px; border-radius: 16px; background: #f5f5f7; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cookie-banner h4{ font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.cookie-banner p{ font-size: 14.5px; color: var(--text-muted); line-height: 1.55; max-width: 720px; }
.cookie-banner p a{ color: var(--text-main); font-weight: 600; text-decoration: underline; }
.cookie-actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button{ padding: 13px 22px; border-radius: var(--radius-full); font-weight: 600; font-size: 14px; }
.cookie-actions .accept{ background: var(--text-main); color: #fff; }
.cookie-actions .necessary{ background: #f0f0f3; color: var(--text-main); }
@media (max-width: 640px){
.cookie-banner{ padding: 16px 0; min-height: 30vh; }
.cookie-banner .container{ gap: 12px; }
.cookie-banner .cookie-icon{ display: none; }
.cookie-banner h4{ font-size: 16px; margin-bottom: 4px; }
.cookie-banner p{ font-size: 12.5px; line-height: 1.45; }
.cookie-actions{ flex-wrap: nowrap; }
.cookie-actions button{ flex: 1; padding: 11px 12px; font-size: 13px; }
}
.chatw{ position: fixed; right: 20px; bottom: 20px; z-index: 2500; font-size: 14px; }
.chatw-fab{ display: inline-flex; align-items: center; gap: 10px; background: var(--text-main); color: #fff; border-radius: var(--radius-full); padding: 14px 20px; font-size: 15px; font-weight: 600; box-shadow: 0 14px 36px rgba(0,0,0,.25); position: relative; transition: var(--transition-apple); }
.chatw-fab:hover{ transform: translateY(-2px); }
.chatw-fab i{ font-size: 18px; }
.chatw-ico-close, .chatw.open .chatw-ico-open, .chatw.open .chatw-fab-label{ display: none; }
.chatw.open .chatw-ico-close{ display: inline; }
.chatw.open .chatw-fab{ padding: 14px 16px; }
.chatw-dot{ position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.chatw-panel{ position: absolute; right: 0; bottom: 70px; width: 370px; max-width: calc(100vw - 32px); height: min(580px, calc(100vh - 120px)); background: var(--card); border: 1px solid var(--border-glass); border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.22); display: flex; flex-direction: column; overflow: hidden; animation: modIn .3s cubic-bezier(0.16, 1, 0.3, 1); }
.chatw-panel[hidden]{ display: none; }
.chatw-head{ display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--text-main); color: #fff; }
.chatw-avatar{ width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.chatw-head-text{ flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chatw-head-text strong{ font-size: 15px; }
.chatw-head-text span{ font-size: 12px; color: rgba(255,255,255,.7); }
.chatw-x{ background: rgba(255,255,255,.12); color: #fff; width: 32px; height: 32px; border-radius: 50%; }
.chatw-body{ flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f7f7f9; }
.chatw-msg{ display: flex; flex-direction: column; max-width: 86%; }
.chatw-msg.visitor{ align-self: flex-end; align-items: flex-end; }
.chatw-msg.system{ align-self: center; max-width: 94%; }
.chatw-who{ font-size: 11px; font-weight: 700; color: var(--text-subtle); margin: 0 0 3px 4px; }
.chatw-bubble{ padding: 10px 13px; border-radius: 16px; background: var(--card); border: 1px solid var(--border-glass); line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.chatw-msg.visitor .chatw-bubble{ background: var(--text-main); color: #fff; border-color: var(--text-main); border-bottom-right-radius: 5px; }
.chatw-msg.ai .chatw-bubble, .chatw-msg.agent .chatw-bubble{ border-bottom-left-radius: 5px; }
.chatw-msg.agent .chatw-bubble{ border-color: rgba(0,0,0,.25); }
.chatw-msg.system .chatw-bubble{ background: transparent; border: 1px dashed rgba(0,0,0,.18); font-size: 12.5px; color: var(--text-muted); text-align: center; }
.chatw-pending{ opacity: .6; }
.chatw-time{ font-size: 10.5px; color: var(--text-subtle); margin: 3px 4px 0; }
.chatw-typing{ display: inline-flex; gap: 4px; padding: 13px 14px; }
.chatw-typing span{ width: 6px; height: 6px; border-radius: 50%; background: var(--text-subtle); animation: chatwDot 1.2s infinite ease-in-out; }
.chatw-typing span:nth-child(2){ animation-delay: .15s; }
.chatw-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes chatwDot{ 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chatw-actions{ padding: 8px 12px 0; background: var(--card); }
.chatw-actions[hidden]{ display: none; }
.chatw-actions button{ width: 100%; font-size: 13px; font-weight: 600; padding: 8px; border-radius: var(--radius-full); background: #f0f0f3; color: var(--text-main); }
.chatw-actions button:hover{ background: #e6e6ea; }
.chatw-contact{ padding: 12px; background: var(--card); border-top: 1px solid var(--border-glass); display: grid; gap: 8px; }
.chatw-contact[hidden]{ display: none; }
.chatw-contact p{ font-size: 12.5px; color: var(--text-muted); }
.chatw-contact-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chatw-contact input{ width: 100%; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--border-glass); font: inherit; font-size: 13px; outline: none; }
.chatw-contact input:focus{ border-color: rgba(0,0,0,.3); }
.chatw-contact button{ justify-self: end; padding: 8px 16px; border-radius: var(--radius-full); background: var(--text-main); color: #fff; font-weight: 600; font-size: 13px; }
.chatw-form{ display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 12px; background: var(--card); }
.chatw-form textarea{ flex: 1; resize: none; border: 1px solid var(--border-glass); background: #f5f5f7; border-radius: 18px; padding: 10px 14px; font: inherit; font-size: 14px; line-height: 1.4; max-height: 110px; outline: none; }
.chatw-form textarea:focus{ background: var(--card); border-color: rgba(0,0,0,.25); }
.chatw-form button{ width: 40px; height: 40px; border-radius: 50%; background: var(--text-main); color: #fff; flex-shrink: 0; }
.chatw-form button:disabled{ opacity: .5; }
.chatw-error{ font-size: 12px; color: #b91c1c; padding: 0 14px 10px; background: var(--card); }
.chatw-error[hidden]{ display: none; }
@media (max-width: 520px){
.chatw{ right: 12px; bottom: 12px; }
.chatw-fab-label{ display: none; }
.chatw-fab{ padding: 15px; }
.chatw.open{ left: 12px; }
.chatw-panel{ position: fixed; left: 8px; right: 8px; bottom: 80px; width: auto; max-width: none; height: calc(100vh - 100px); }
.chatw.open .chatw-fab{ position: absolute; right: 0; bottom: 0; }
}
@keyframes modIn{ from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }.container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hero-photo { display: block; }
.cookie-banner { min-height: 0 !important; padding: 18px 0 !important; }
.cookie-banner .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.listing > * { min-width: 0; }
.toolbar-right { flex-wrap: wrap; }
@media (max-width: 520px) { .view-switch a span { display: none; } .toolbar .select { flex: 1; min-width: 0; } .toolbar-right { width: 100%; } }

/* =====================================================================
   v2 - pagina principala cu slider, dock de cautare si sectiuni pe benzi
   ===================================================================== */
.btn-accent { background: var(--ochre); color: var(--ochre-ink); }
.btn-accent:hover { background: #ffc65c; }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.header-cta { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 1180px) { .header-cta { display: none; } }

/* Hero cu slider pe toata latimea */
.hero2 { position: relative; min-height: min(86vh, 760px); color: #fff; background: #0e1c2f; overflow: hidden; }
.hero2-slides { position: absolute; inset: 0; }
.hero2-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: flex; align-items: center; }
.hero2-slide.is-active { opacity: 1; visibility: visible; }
.hero2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s ease; }
.hero2-slide.is-active .hero2-bg { transform: scale(1); }
.hero2-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-shade) 0%, rgba(9, 18, 33, .35) 60%, rgba(9, 18, 33, .15) 100%); }
.hero2-noimg { background: radial-gradient(120% 120% at 80% 10%, #1f4a86 0%, #0e1c2f 60%); }
.hero2-noimg::after { display: none; }
.hero2-inner { position: relative; z-index: 2; width: 100%; padding-top: 40px; padding-bottom: 150px; }
.hero2-copy { max-width: 640px; }
.hero2 h1, .hero2-title { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -.035em; }
.hero2-lead { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 48ch; }
.hero2-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero2-property { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.hero2-property-title { font-weight: 600; font-size: 15px; max-width: 30ch; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.hero2-property:hover .hero2-property-title { text-decoration-color: #fff; }
.hero2-property .tag::before { background: var(--ink); }
.hero2-nav { position: absolute; left: 0; right: 0; bottom: 110px; z-index: 3; display: flex; align-items: center; gap: 14px; }
.hero2-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: #fff; display: inline-grid; place-items: center; }
.hero2-arrow:hover { background: rgba(255, 255, 255, .2); }
.hero2-arrow.dark { border-color: var(--line); background: var(--card); color: var(--ink); }
.hero2-arrow.dark:hover { border-color: var(--ink); }
.hero2-dots { display: flex; gap: 8px; }
.hero2-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); }
.hero2-dots button.is-active { background: var(--ochre); }

.search-dock { position: relative; z-index: 5; margin-top: -86px; }
.search2 { padding: 14px 16px 18px; }
.search2-fields { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search2 .field > span { font-size: 12px; }
.search2 .input, .search2 .select { background-color: var(--paper); border-color: transparent; }
.search2 .btn { min-height: 46px; padding: 0 26px; }
@media (max-width: 960px) { .search2-fields { grid-template-columns: 1fr 1fr; } .search2-fields .field:first-child, .search2 .btn { grid-column: 1 / -1; } }
@media (max-width: 700px) { .hero2 { min-height: 620px; } .hero2-inner { padding-bottom: 170px; } .hero2-nav { bottom: 120px; } }

/* Vizionari */
.open-house { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.open-house-media, .split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--teal-tint); }
.open-house-media img, .split-media img { width: 100%; height: 100%; object-fit: cover; }
.media-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--teal); }
.media-empty svg { width: 34%; opacity: .5; }
.play-badge { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--ochre); color: var(--ochre-ink); display: grid; place-items: center; font-size: 24px; box-shadow: 0 0 0 12px rgba(243, 178, 63, .28); transition: transform .2s; }
.play-badge:hover { transform: scale(1.06); }
.open-house-copy h2, .split-copy h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.025em; line-height: 1.12; }
.open-house-copy p, .split-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 54ch; }
.checklist { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist i { width: 24px; height: 24px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: inline-grid; place-items: center; font-size: 12px; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 860px) { .open-house, .split { grid-template-columns: 1fr !important; gap: 28px !important; } .split-reverse .split-media { order: 0 !important; } }

/* Cumparatori / proprietari */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split + .split { margin-top: 72px; }
.split-reverse .split-media { order: 2; }
.split-badge { position: absolute; left: 20px; bottom: 20px; background: var(--card); color: var(--ink); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow); font-size: 14px; color: var(--muted); }
.split-badge strong { display: block; font-family: var(--display); font-size: 28px; color: var(--ink); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); margin-bottom: 14px; }
.section-head-center { justify-content: center; text-align: center; }
.section-head-center p { margin-left: auto; margin-right: auto; }
.center-cta { text-align: center; margin-top: 36px; }

/* Categorii pe imagine */
.categories { position: relative; padding: 88px 0; color: #fff; background: #0e1c2f; background-image: linear-gradient(rgba(9, 18, 33, .78), rgba(9, 18, 33, .78)), var(--cat-bg, none); background-size: cover; background-position: center; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255, 255, 255, .78); }
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.cat:hover { background: rgba(255, 255, 255, .16); border-color: var(--ochre); }
.cat i { font-size: 26px; color: var(--ochre); margin-bottom: 10px; }
.cat strong { font-weight: 600; font-size: 16px; }
.cat span { font-size: 13px; color: rgba(255, 255, 255, .72); }

/* Carusel recenzii */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
@media (max-width: 900px) { .carousel { grid-auto-columns: 82%; } }
.carousel-arrows { display: flex; gap: 8px; }
.review-quote { font-size: 28px; color: var(--ochre); }

/* Agenti cu retele sociale */
.agents-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .agents-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .agents-3 { grid-template-columns: 1fr; } }
.agent { position: relative; }
.agent-socials { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1 / 1; display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding-bottom: 16px; opacity: 0; transition: opacity .2s; background: linear-gradient(transparent 55%, rgba(9, 18, 33, .55)); pointer-events: none; }
.agent:hover .agent-socials, .agent:focus-within .agent-socials { opacity: 1; pointer-events: auto; }
.agent-socials a { width: 38px; height: 38px; border-radius: 50%; background: var(--card); color: var(--ink); display: inline-grid; place-items: center; }
.agent-socials a:hover { background: var(--ochre); color: var(--ochre-ink); }
@media (hover: none) { .agent-socials { opacity: 1; pointer-events: auto; } }

/* Evaluare CTA */
.estimate { background: linear-gradient(110deg, var(--teal-ink), var(--teal)); color: #fff; padding: 56px 0; }
.estimate-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.estimate h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.estimate p { margin-top: 8px; color: rgba(255, 255, 255, .82); max-width: 56ch; }

/* Footer v2 */
.footer-contacts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; }
.news-form { position: relative; display: flex; margin-top: 14px; }
.news-form input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 56px 0 18px; }
.news-form input::placeholder { color: rgba(255, 255, 255, .5); }
.news-form button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ochre); color: var(--ochre-ink); }
.news-form .form-error { position: absolute; top: 54px; left: 0; color: #ffb4a8; font-size: 13px; }
.news-ok { color: #fff; margin-top: 14px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer-legal a:hover { color: #fff; }
.theme-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px; }
.theme-switch button { width: 34px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .7); }
:root:not([data-theme="dark"]) .theme-switch [data-theme-set="light"], :root[data-theme="dark"] .theme-switch [data-theme-set="dark"] { background: #fff; color: var(--ink); }
:root[data-theme="dark"] .site-footer { background: #060b13; }
:root[data-theme="dark"] .band-teal { background: #0a1a33; }
:root[data-theme="dark"] .flag { background: var(--card); color: var(--ink); }
:root[data-theme="dark"] .btn-primary { color: #06101e; }
.band-teal { background: var(--teal-ink); }
.page-home .site-header { position: sticky; }

:root[data-theme="dark"] .chatw-fab { background: var(--teal); color: #06101e; }
:root[data-theme="dark"] .hero2-property .tag::before { background: #0e1c2f; }

/* ---------- responsive: protectii pentru ecrane mici ---------- */
html, body { overflow-x: clip; }
h1, h2, h3, .pcard-title, .agent-name, .hero2-property-title { overflow-wrap: anywhere; }
.section-head { flex-wrap: wrap; }
.agent-hero > *, .footer-grid > *, .contact-grid > *, .prop-layout > *, .listing > *, .split > *, .open-house > *, .owner-cta > *, .hero2-copy { min-width: 0; }
.footer-grid a, .info-list a, .footer-contacts li { overflow-wrap: anywhere; }
.agent-actions { flex-wrap: wrap; }
.agent-actions .btn { min-width: 0; white-space: normal; text-align: center; }
@media (max-width: 620px) {
    .btn { white-space: normal; text-align: center; }
    .section { padding: 48px 0; }
    .section-head { margin-bottom: 20px; }
    .section-head .btn { width: 100%; }
    .hero2 h1, .hero2-title { font-size: clamp(28px, 8.4vw, 40px); }
    .hero2-lead { font-size: 16px; }
    .hero2-actions { gap: 14px; }
    .hero2-actions .btn { width: 100%; }
    .split + .split { margin-top: 48px; }
    .categories { padding: 56px 0; }
    .estimate-inner .btn-row, .estimate-inner .btn-row .btn, .open-house .btn-row .btn { width: 100%; }
    .prop-head { flex-direction: column; align-items: flex-start; }
    .prop-price-box { align-items: flex-start; text-align: left; }
    .tag-lg { font-size: 22px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .header-row { height: 64px; }
    .mobile-nav { inset: 64px 0 auto 0; }
    .wrap { padding: 0 16px; }
}
@media (max-width: 380px) {
    .lang-switch a { padding: 4px 8px; }
    .brand { font-size: 15px; }
    .brand-mark { width: 34px; height: 34px; }
}
@media (max-width: 700px) {
    .hero2 { min-height: 0; }
    .hero2-slides { position: relative; display: grid; }
    .hero2-slide { position: relative; grid-area: 1 / 1; }
    .hero2-inner { padding-top: 48px; padding-bottom: 150px; }
    .hero2-nav { bottom: 104px; }
    .hero2-nav .hero2-arrow { display: none; }
}
