/* Tema 6 — Corporate modern, dezvoltată. Alb + gri foarte deschis, albastru închis, delimitări fine. */
:root {
  --blue: #0B3D91;
  --blue-d: #082D6B;
  --blue-l: #EAF0FA;
  --bg: #F4F6F9;
  --panel: #FFFFFF;
  --line: #DDE2EA;
  --line-2: #EEF1F5;
  --head: #FAFBFC;
  --text: #172030;
  --text-2: #4A5568;
  --muted: #6B7686;
  --ok: #11734B;
  --ok-l: #E3F4EC;
  --red: #B3261E;
  --mono: 'Roboto Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 'Roboto', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.r { text-align: right; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 4px; border: 1px solid transparent; font: 500 14px/1 'Roboto', sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; font-weight: 700; letter-spacing: .04em; }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost { background: #fff; color: var(--text); border-color: #C9D1DD; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-xl { width: 100%; height: 52px; font-size: 16px; letter-spacing: .06em; }
.btn:disabled { opacity: .45; cursor: default; pointer-events: none; }
/* „Contul meu · COD”: spațiu normal între punct și cod */
.btn[data-account] { gap: .3em; }

/* ---------- banda DEMO ---------- */
.demo-bar { background: #FFF5DB; border-bottom: 1px solid #EBCB7C; color: #6B4A00; font-size: 12.5px; }
.demo-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
.demo-bar b { display: inline-block; background: #8A5A00; color: #fff; font-size: 10.5px; letter-spacing: .1em; padding: 2px 7px; border-radius: 3px; margin-right: 8px; }
.demo-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.demo-bar a, .demo-reset { color: #6B4A00; font: 500 12.5px 'Roboto', sans-serif; text-decoration: underline; text-underline-offset: 2px; }
.demo-reset { padding: 0; border: 0; background: none; cursor: pointer; }
@media (max-width: 560px) { .demo-long { display: none; } }

/* ---------- antet ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo { width: 34px; height: 34px; border-radius: 6px; background: var(--blue); display: grid; place-items: center; flex: none; }
.logo svg { width: 20px; height: 20px; fill: #fff; }
.brand-t { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; line-height: 1.15; color: var(--blue); }
.brand-t small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.menu { display: flex; gap: 2px; margin-left: auto; }
.menu a { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 4px; }
.menu a:hover { color: var(--blue); background: var(--bg); }
.menu a.on { color: var(--blue); background: var(--blue-l); }
.hdr-act { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid #C9D1DD; border-radius: 4px; background: #fff; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; stroke: var(--text); stroke-width: 1.8; fill: none; }
.mmenu { display: grid; border-top: 1px solid var(--line); padding: 6px 16px 10px; background: #fff; }
.mmenu a { padding: 11px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--text); font-weight: 500; }

/* ---------- titlu ---------- */
.titlebar { background: #fff; border-bottom: 1px solid var(--line); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 6.4px 0 0; font-size: 12.5px; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 3.2px 0 9.6px; }
.title-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 2.4px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { color: var(--ok); background: var(--ok-l); }
.badge-inv { color: #fff; background: rgba(255, 255, 255, .16); }
.lot { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
h1 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.loc { display: flex; align-items: center; gap: 6px; margin-top: 1.6px; color: var(--text-2); font-size: 14px; }
.loc svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.title-kpi { display: flex; margin: 0; border: 1px solid var(--line); border-radius: 6px; flex: none; }
.title-kpi div { padding: 9px 18px; }
.title-kpi div + div { border-left: 1px solid var(--line); }
.title-kpi dt { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.title-kpi dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; }

/* ---------- structură ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 352px; gap: 20px; align-items: start; padding-top: 20px; padding-bottom: 48px; }
.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 13px 20px; border-bottom: 1px solid var(--line-2); background: var(--head); border-radius: 6px 6px 0 0; }
.panel-h h2 { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.panel-note { font-size: 12.5px; color: var(--muted); }
.panel-link { font-size: 13px; font-weight: 500; text-decoration: none; }
.panel-link:hover { text-decoration: underline; }
.panel-b { padding: 20px; }
.panel-foot { padding: 12px 20px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.panel-foot-act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- galerie ---------- */
.gallery { padding: 12px; }
.g-main { position: relative; border-radius: 4px; overflow: hidden; background: #E9EDF2; }
.g-stage { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-stage img { width: 100%; height: 100%; object-fit: cover; }
/* stratul pozei noi la estompare (crossfade ~0,4 s) */
.xf { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.xf.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .xf { transition: none; } }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 4px; border: 1px solid var(--line); background: rgba(255, 255, 255, .94); cursor: pointer; display: grid; place-items: center; }
.g-nav:hover { background: #fff; border-color: var(--blue); }
.g-nav svg { width: 18px; height: 18px; stroke: var(--text); stroke-width: 2; fill: none; }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-cap { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 10px; align-items: center; background: rgba(23, 32, 48, .82); color: #fff; font-size: 12.5px; padding: 6px 10px; border-radius: 4px; }
.g-cap #gNum { font-family: var(--mono); color: #C3CCDA; }
.g-thumbs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.g-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 4 / 3; }
.g-thumbs button img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.g-thumbs button:hover img { opacity: 1; }
.g-thumbs button[aria-current="true"] { border-color: var(--blue); }
.g-thumbs button[aria-current="true"] img { opacity: 1; }

/* ---------- despre ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.about p { color: var(--text-2); }
.about p + p { margin-top: 12px; }
.lead { font-size: 16px; color: var(--text) !important; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; align-self: start; }
.specs th { text-align: left; font-weight: 400; color: var(--muted); padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line-2); width: 44%; vertical-align: top; }
.specs td { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.specs tr:first-child th, .specs tr:first-child td { border-top: 1px solid var(--line-2); }
.specs small { color: var(--muted); font-weight: 400; }

/* ---------- tabele ---------- */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th.r { text-align: right; }
.tbl td { padding: 12px 20px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #F8FAFC; }
.tbl-compact td { padding: 9px 20px; }
.c-pos { width: 64px; }
.pos { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: var(--bg); font-size: 13px; font-weight: 700; color: var(--text-2); }
.lead-row .pos { background: var(--blue); color: #fff; }
.lead-row td { background: #F6F9FE; }
.lead-row .amt { color: var(--blue); }
.who b { font-weight: 500; }
.code { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 6px; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; margin-left: 8px; vertical-align: 1px; }
.tag-lead { color: var(--blue); background: var(--blue-l); }
.tag-max { color: var(--ok); background: var(--ok-l); }
.tag-me { color: #8A5A00; background: #FFF5DB; }
.amt .tag { margin: 0 10px 0 0; font-family: 'Roboto', system-ui, sans-serif; }
.max-row td { background: #F3FBF6; }
.max-row .amt { color: var(--ok); }
.me-note { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .hist-tbl td, .hist-tbl th { padding-left: 12px; padding-right: 12px; }
  .hist-tbl .when { font-size: 12.5px; line-height: 1.4; }
  .hist-tbl .when span { display: block; }
  .hist-tbl .who { white-space: normal; }
  .hist-tbl .who .tag { margin-left: 0; }
  .hist-tbl .me-note { display: block; font-size: 12px; }
  .hist-tbl .amt .tag { display: block; width: max-content; margin: 0 0 4px auto; }
}
.amt { font-family: var(--mono); font-weight: 500; }
.diff, .when { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- participare ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; }
.steps li { counter-increment: s; padding: 14px 16px 16px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: grid; gap: 4px; align-content: start; }
.steps li:nth-child(3n) { border-right: 0; }
.steps li:nth-child(n+4) { border-bottom: 0; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--blue-l); color: var(--blue); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-bottom: 4px; }
.steps b { font-size: 14px; }
.steps span { font-size: 13px; color: var(--text-2); }
.deposit { margin-top: 16px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 6px; padding: 16px 18px; }
.deposit-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.deposit-h svg { width: 22px; height: 22px; stroke: var(--blue); stroke-width: 1.8; fill: none; flex: none; }
.deposit-h h3 { font-size: 16px; }
.red { color: var(--red); font-weight: 700; }
.deposit p + p { margin-top: 6px; color: var(--text-2); }
.facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.facts li { padding: 12px 14px 0 0; display: grid; gap: 1px; }
.facts li + li { padding-left: 14px; border-left: 1px solid var(--line-2); }
.facts span { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts b { font-size: 14px; font-weight: 500; }
.facts small { font-size: 12.5px; color: var(--muted); }

/* ---------- reguli ---------- */
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rules li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-2); }
.rules li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.rules b { color: var(--text); font-weight: 500; }
.rules-b > .deposit { margin: 0 0 16px; }
.rule-grid { margin: 0; padding: 0; list-style: none; counter-reset: rule; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rule-grid li { counter-increment: rule; position: relative; padding: 14px 16px 14px 52px; border: 1px solid var(--line); border-radius: 6px; background: var(--head); }
.rule-grid li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 4px; background: var(--blue); color: #fff; font: 600 11px/24px var(--mono); text-align: center; }
.rule-grid h3 { margin: 2px 0 5px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--blue-d); }
.rule-grid p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.cal-t { margin: 22px 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.cal-strip { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.cal-strip div { padding: 12px 14px; border-left: 1px solid var(--line-2); }
.cal-strip div:first-child { border-left: 0; }
.cal-strip dt { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.cal-strip dd { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text); }
.cal-strip small { color: var(--muted); font-weight: 400; white-space: nowrap; }
@media (max-width: 860px) {
  .rule-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rule-grid li { padding: 13px 14px 13px 48px; }
  .rule-grid li::before { left: 14px; top: 13px; }
  .cal-strip { grid-template-columns: 1fr; }
  .cal-strip div { border-left: 0; }
  .cal-strip div + div { border-top: 1px solid var(--line-2); }
}

/* ---------- caracteristici ---------- */
.about-text { margin: 0; }
.feat-t { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.area-grid { margin: 0 0 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.area-grid div { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--head); }
.area-grid dt { font-size: 12.5px; color: var(--muted); }
.area-grid dd { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--blue); }
.area-grid small { font-size: 14px; color: var(--muted); font-family: 'Roboto', system-ui, sans-serif; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feat { padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; }
.feat-wide { grid-column: 1 / -1; }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 5px; }
.chips li { padding: 3px 9px; border: 1px solid #D3DEF0; border-radius: 4px; background: var(--blue-l); font-size: 13.5px; color: var(--text); }

/* ---------- localizare ---------- */
.loc-b { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.loc-addr { display: flex; gap: 12px; align-items: flex-start; flex: 1 1 320px; }
.loc-addr svg { width: 24px; height: 24px; flex: none; margin-top: 1px; stroke: var(--blue); stroke-width: 1.8; fill: none; }
.loc-street { margin: 0; font-size: 15px; font-weight: 500; color: var(--text); }
.loc-near { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }
.loc-btn { flex: none; }
@media (max-width: 560px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid { grid-template-columns: 1fr; }
  .loc-btn { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- pagină de document (termeni) ---------- */
.doc-page { max-width: 860px; padding-top: 24px; padding-bottom: 40px; }
.doc-h { padding: 22px 28px 18px; border-bottom: 1px solid var(--line-2); background: var(--head); border-radius: 6px 6px 0 0; }
.doc-h h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.doc-date { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.doc-b { padding: 8px 28px 24px; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.doc-b h2 { margin: 22px 0 6px; font-size: 16px; font-weight: 700; color: var(--blue-d); }
.doc-b p { margin: 0 0 10px; }
.doc-b ul { margin: 0 0 10px; padding-left: 22px; }
.doc-b li { margin-bottom: 6px; }
.doc-b li::marker { color: var(--blue); }
.doc-f { padding: 14px 28px 20px; border-top: 1px solid var(--line-2); }
@media (max-width: 560px) {
  .doc-h, .doc-b, .doc-f { padding-left: 16px; padding-right: 16px; }
  .doc-h h1 { font-size: 18px; }
}

/* ---------- contact ---------- */
.contact-in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.contact h2 { font-size: 17px; margin-bottom: 4px; }
.contact p { color: var(--text-2); font-size: 14px; }
.contact-list { display: flex; border: 1px solid var(--line); border-radius: 6px; }
.contact-list > * { display: grid; padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; }
.contact-list > * + * { border-left: 1px solid var(--line); }
.contact-list span span, .contact-list a span { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list a:hover { color: var(--blue); }

/* ---------- panoul licitației ---------- */
.side { position: sticky; top: 84px; display: grid; gap: 12px; }
.status { overflow: hidden; }
.status-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status-b { padding: 18px; display: grid; gap: 16px; }
/* eticheta de stare „vie”: verde cu punct care pulsează; gri, fără puls, când licitația nu e activă */
.live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 10px; border-radius: 999px; background: #16A34A; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 2px 8px -2px rgba(0, 0, 0, .35); white-space: nowrap; }
.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; }
.live i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: live-pulse 1.6s ease-out infinite; }
@keyframes live-pulse { 0% { transform: scale(1); opacity: .75; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
.live.off { background: #6B7686; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.live.off i::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .live i::after { animation: none; opacity: 0; } }
.status-upd { padding: 7px 18px; border-bottom: 1px solid var(--line-2); background: var(--head); font-size: 12px; color: var(--muted); }
.lbl { display: block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.big { display: block; font-size: 34px; line-height: 1.15; color: var(--blue); margin: 4px 0 2px; }
.lead-by { font-size: 13px; color: var(--muted); }
.lead-by b { font-weight: 500; color: var(--text); }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.cd div { border: 1px solid var(--line); border-radius: 4px; padding: 7px 0 6px; text-align: center; background: var(--head); }
.cd b { display: block; font-family: var(--mono); font-weight: 500; font-size: 20px; line-height: 1.1; }
.cd span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kv { margin: 0; border-top: 1px solid var(--line-2); }
.kv div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.hint { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: -4px; }
.side-note { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 12.5px; color: var(--text-2); }
.side-note svg { width: 18px; height: 18px; flex: none; stroke: var(--muted); stroke-width: 1.8; fill: none; margin-top: 1px; }

/* ---------- bara fixă pe telefon ---------- */
.mcta { display: none; }

/* ---------- subsol ---------- */
.foot { background: #0E1B33; color: #AEB9CB; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.brand-inv .brand-t { color: #fff; }
.brand-inv .logo { background: #fff; }
.brand-inv .logo svg { fill: var(--blue); }
.foot-brand p { margin-top: 14px; max-width: 42ch; line-height: 1.6; }
.foot h3 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot-in > div:not(.foot-brand) { display: grid; gap: 8px; align-content: start; }
.foot a { color: #AEB9CB; text-decoration: none; }
.foot-in > div a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: #8593A9; }

/* ---------- dialoguri ---------- */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 80px 16px 76px; border: 0; background: rgba(10, 16, 28, .96); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(10, 16, 28, .6); }
.lb[open] { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.lb-stage { position: relative; width: 100%; height: 100%; place-self: stretch; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-bar { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 14px; }
.lb-ctrl { display: flex; gap: 8px; }
/* închidere: colțul din stânga sus, mare și vizibil pe orice poză */
.lb-x { position: absolute; top: 16px; left: 16px; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(0, 0, 0, .55); cursor: pointer; transition: background .15s; }
.lb-x svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.lb-x:hover { background: rgba(0, 0, 0, .8); }
.lb-x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-num { position: absolute; top: 26px; right: 20px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 500 14px/1.2 var(--mono); }
.lb-ctrl button { width: 42px; height: 42px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.lb-ctrl button:hover { background: #fff; color: var(--text); }
.dlg { width: min(440px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 8px; padding: 24px; color: var(--text); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35); }
.dlg::backdrop { background: rgba(23, 32, 48, .45); }
.dlg h2 { font-size: 18px; margin-bottom: 8px; }
.dlg p { color: var(--text-2); font-size: 14px; margin-bottom: 18px; }
.dlg form { display: flex; justify-content: flex-end; }

/* ---------- rezumat și indicator live: vizibilitate desktop ---------- */
@media (min-width: 861px) {
  .titlebar .title-row { display: grid; grid-template-columns: minmax(0, 1fr) 226px; align-items: center; gap: 20px; }
  .titlebar .title-row > div { min-width: 0; }
  .title-kpi { display: grid; grid-template-columns: auto auto; width: 100%; min-height: 60px; border-color: #C5D2E6; border-top: 3px solid var(--blue); background: var(--head); box-shadow: 0 3px 10px rgba(11, 61, 145, .06); }
  .title-kpi div { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 6px 8px; }
  .title-kpi dt { font-size: 10px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
  .title-kpi dd { margin: 0; color: var(--blue-d); font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; white-space: nowrap; }
  .title-kpi div:last-child dd { font-size: 13px; letter-spacing: 0; }
  /* prețul de pornire: același verde ca eticheta „Licitație deschisă” */
  .title-kpi div:first-child dd { color: var(--ok); animation: price-pulse 1.6s ease-in-out infinite; }
  .title-meta .badge.is-live i { position: relative; box-shadow: 0 0 5px currentColor; }
  .title-meta .badge.is-live i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: auction-live-wave 1.15s ease-out infinite; }
  .title-meta .badge.is-live i::before { content: ''; position: absolute; inset: -1px; border: 1px solid currentColor; border-radius: 50%; opacity: 0; animation: auction-live-wave 1.15s .55s ease-out infinite; }
  .status-h { padding: 14px; gap: 10px; flex-wrap: wrap; font-size: 12px; letter-spacing: .035em; }
  .status-h .live { padding: 8px 14px; gap: 12px; border: 1px solid rgba(255, 255, 255, .65); background: #087D36; font-size: 13px; letter-spacing: .055em; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 3px 12px rgba(0, 0, 0, .25); }
  .status-h .live i { width: 10px; height: 10px; box-shadow: 0 0 8px rgba(255, 255, 255, .8); }
  .status-h .live i::after { animation: auction-live-wave 1.15s ease-out infinite; }
  .status-h .live i::before { content: ''; position: absolute; inset: -2px; border: 2px solid #fff; border-radius: 50%; opacity: 0; animation: auction-live-wave 1.15s .55s ease-out infinite; }
  .status-h .live.off { padding: 6px 11px; background: #6B7686; font-size: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
  .status-h .live.off i { box-shadow: none; }
  .status-h .live.off i::before, .status-h .live.off i::after { animation: none; opacity: 0; }
}
/* pulsație ușoară a prețului de pornire: o strălucire verde, fără mișcarea textului */
@keyframes price-pulse {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 9px color-mix(in srgb, var(--ok) 55%, transparent); }
}
@keyframes auction-live-wave {
  0% { transform: scale(.8); opacity: .9; }
  85%, 100% { transform: scale(3.2); opacity: 0; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .titlebar .title-row { grid-template-columns: minmax(0, 1fr) 205px; }
  .title-kpi div { padding-left: 6px; padding-right: 6px; }
  .title-kpi dt { font-size: 9.5px; }
  .title-kpi dd { font-size: 17px; }
  .title-kpi div:last-child dd { font-size: 12px; }
}
@media (min-width: 861px) and (prefers-reduced-motion: reduce) {
  .title-meta .badge.is-live i::before, .title-meta .badge.is-live i::after { animation: none; opacity: 0; }
  .title-kpi div:first-child dd { animation: none; }
  .status-h .live i::before, .status-h .live i::after { animation: none; opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hdr-act { margin-left: auto; }
  .layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .about, .two { grid-template-columns: 1fr; }
  .g-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding-top: 16px; padding-bottom: 96px; }
  .side { position: static; order: -1; }
  .side-note { display: none; }
  .title-row { flex-direction: column; align-items: flex-start; }
  .title-kpi { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
  .steps li:last-child { border-bottom: 0 !important; }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: 10px; }
  .contact-in { grid-template-columns: 1fr; }
  .contact-list { flex-direction: column; }
  .contact-list > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .hide-s { display: none; }
  .mcta:not(.show) { display: none !important; }
  .mcta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(0, 0, 0, .25); }
  .mcta span { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .mcta b { display: block; font-size: 19px; color: var(--blue); line-height: 1.2; }
  .mcta small { font-size: 12px; color: var(--muted); }
  .mcta .btn { height: 46px; padding: 0 18px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hdr-act .btn-ghost { display: none; }
  .brand-t small { display: none; }
  h1 { font-size: 22px; }
  .gallery { padding: 8px; }
  .g-stage { aspect-ratio: 4 / 3; }
  .g-thumbs { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .g-thumbs button { flex: 0 0 72px; }
  .g-nav { width: 36px; height: 36px; }
  .panel-h, .panel-b { padding-left: 16px; padding-right: 16px; }
  .tbl th, .tbl td { padding-left: 14px; padding-right: 14px; }
  .panel-foot { padding-left: 16px; padding-right: 16px; }
  .big { font-size: 30px; }
}

/* ---------- telefon (sub 768 px): zonă de apăsare minimum 44×44 px și text minimum 12 px ----------
   Butoanele cresc la 44 px; la linkurile din text, zona se mărește prin padding compensat cu margine
   negativă, ca textul să rămână exact pe loc. */
@media (max-width: 767px) {
  .btn:not(.btn-xl) { height: 44px; }
  .menu-btn { width: 44px; height: 44px; }
  .g-nav { width: 44px; height: 44px; }
  .lb-ctrl button { width: 44px; height: 44px; }
  .skip { padding: 12px 14px; }
  .brand { padding: 5px 0; margin: -5px 0; }
  .crumbs a { display: inline-block; padding: 15px 5px; margin: -15px -5px; }
  .panel-link { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .foot-in > div:not(.foot-brand) a { padding: 12px 0; margin: -12px 0; }
  .loc-btn { height: auto; min-height: 44px; }
  .badge, .tag, .lbl, .cd span, .tbl th, .mcta span, .brand-t small,
  .contact-list span span, .contact-list a span, .facts span { font-size: 12px; }
}

/* ---------- client autentificat: meniu scurt (Licitația · Contul meu · Ieșire); restul linkurilor în subsol ---------- */
html:not(.logged) .menu-logged, html:not(.logged) .mm-lic { display: none; }
html.logged .menu:not(.menu-logged), html.logged .hdr-back { display: none; }
html.logged .mmenu > a:not(.mm-lic):not([data-account]):not([data-account-logout]) { display: none; }
.mmenu a[data-account] { color: var(--blue); font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; }
.foot-links a { color: #AEB9CB; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
/* pe telefon, contul și ieșirea sunt în meniul mobil (butonul ☰) */
@media (max-width: 560px) { .hdr-act .btn[data-account] { display: none; } }
@media (max-width: 767px) { .foot-links a { display: inline-block; padding: 12px 0; margin: -12px 0; } }

/* ---------- bara de anunț (prima pagină): etichetă fixă · text care curge · buton fix ---------- */
.ann { position: relative; display: flex; align-items: stretch; height: 42px; background: #0A2357; color: #fff; cursor: pointer; overflow: hidden; }
.ann-tag { flex: none; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #E8590C; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 4px 0 12px rgba(0, 0, 0, .25); z-index: 2; }
.ann-track { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.ann-move { display: flex; flex: none; white-space: nowrap; font-size: 14px; font-weight: 500; letter-spacing: .01em; animation: ann-scroll 38s linear infinite; will-change: transform; }
.ann-move span { padding-right: 40px; }
.ann:hover .ann-move, .ann:focus-within .ann-move { animation-play-state: paused; }
@keyframes ann-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ann-btn { flex: none; align-self: center; margin: 0 12px 0 8px; height: 30px; padding: 0 14px; border: 0; border-radius: 6px; background: #FFD43B; color: #0A2357; font: 800 13.5px/1 'Roboto', sans-serif; letter-spacing: .02em; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; animation: ann-pulse 4s ease-in-out infinite; z-index: 2; }
.ann-btn:hover { background: #FFE066; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); animation-play-state: paused; }
.ann-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@keyframes ann-pulse { 0%, 82%, 100% { transform: scale(1); } 88% { transform: scale(1.07); } 94% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .ann-btn { animation: none; }
  .ann-move { animation: none; }
}
/* telefon: eticheta devine doar „📢”; butonul rămâne vizibil, cu zonă de apăsare de 44 px */
@media (max-width: 767px) {
  .ann { height: 48px; }
  .ann-tag { padding: 0 12px; font-size: 18px; }
  .ann-tag-t { display: none; }
  .ann-move { font-size: 13px; animation-duration: 30s; }
  .ann-btn { height: 44px; margin: 0 6px 0 4px; padding: 0 12px; font-size: 13px; }
}

/* formularul „vânzare casă” */
.sell-dlg { width: min(480px, calc(100% - 32px)); }
.sell-dlg form.sell-form { display: grid; gap: 12px; justify-content: stretch; }
.sell-dlg p { margin-bottom: 4px; }
.sell-fld { display: grid; gap: 5px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.sell-fld input, .sell-fld textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #C9D1DD; border-radius: 4px; font: 400 15px 'Roboto', sans-serif; color: var(--text); background: #fff; }
.sell-fld textarea { resize: vertical; line-height: 1.45; }
.sell-fld input:focus, .sell-fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-l); }
.sell-err { margin: 0; font-size: 13px; font-weight: 500; color: var(--red); }
.sell-act { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.account-deposit-status { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 18px 20px; border: 1px solid #E7BA62; border-left: 5px solid #A85B00; border-radius: 6px; background: #FFF4DB; color: #704000; }
.account-deposit-status > span { font-size: 15px; font-weight: 500; }
.account-deposit-status > strong { font-size: 21px; line-height: 1.35; overflow-wrap: anywhere; }
.account-deposit-status[data-state="declarat"] { border-color: #93B4E6; border-left-color: #0B3D91; background: #EDF4FF; color: #0B3D91; }
.account-deposit-status[data-state="confirmat"] { border-color: #9ACCB2; border-left-color: #17663E; background: #EAF7EF; color: #17663E; }
.account-deposit-status[data-state="respins"] { border-color: #E3A8A8; border-left-color: #A52222; background: #FFF0F0; color: #A52222; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); background: #172030; color: #fff; font-size: 14px; padding: 11px 16px; border-radius: 6px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
