/* ==========================================================================
   Disponibilitate — selector interactiv de blocuri, carduri de fază, pași
   ========================================================================== */

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.nw { white-space: nowrap; }
/* voal peste ștampilele „SOLD OUT” din randare: același viewBox ca imaginea, decupat „cover” ca ea (xMidYMid slice = object-position 50% 50%) */
.disp-hero__veil {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  pointer-events: none; animation: heroZoom 2.2s var(--ease) both;
}
.disp-hero::after {
  background:
    linear-gradient(180deg, rgba(10, 10, 9, .62) 0%, rgba(10, 10, 9, .12) 26%, rgba(10, 10, 9, .3) 55%, rgba(10, 10, 9, .9) 100%),
    linear-gradient(90deg, rgba(10, 10, 9, .8) 0%, rgba(10, 10, 9, .45) 48%, rgba(10, 10, 9, 0) 82%);
}

/* ---------- Intro: cele două faze ---------- */
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(56px, 7vw, 100px); }
.pick {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 340px; padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg); background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 24px 60px -40px rgba(0, 0, 0, .25);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.pick:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .35); }
.pick--ink { background: var(--ink); color: #fff; }
.pick__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pick__k { font: 600 .82rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pick--ink .pick__k { color: var(--muted-d); }
.pick__names {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px .34em;
  margin-top: auto;
  font: 600 clamp(2.8rem, 5.4vw, 5rem)/.95 var(--f-display); letter-spacing: -.05em;
}
.pick__names { max-width: 56%; }
.pick__names span { white-space: nowrap; }
.pick__names--sm { font-size: clamp(2.2rem, 3.7vw, 3.5rem); }
.pick__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .98rem; }
.pick__foot > span:first-child { max-width: 29ch; }
.pick--ink .pick__foot { color: var(--muted-d); }
.pick__go {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease);
}
.pick__go .ic { transform: rotate(90deg); }
.pick--ink .pick__go { border-color: var(--line-d); color: #fff; }
.pick:hover .pick__go { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: translateY(4px); }
.pick__img {
  position: absolute; z-index: -1; top: 0; right: 0; width: 48%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
  transition: transform 1.2s var(--ease);
}
.pick:hover .pick__img { transform: scale(1.05); }
.pick--ink .pick__img { opacity: .78; }
.pick__top .badge { box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.pick .badge--line { background: var(--white); border-color: transparent; }
.pick__go { background: var(--white); }
.pick--ink .pick__go { background: rgba(15, 15, 14, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.badge--line { background: transparent; color: var(--ink); border: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Selectorul de blocuri ---------- */
/* imaginile aeriene originale au doar 475 px lățime: coloana hărții e plafonată la 568 px (≈1,2×), ca să nu fie mărită prea mult */
.sel { display: grid; grid-template-columns: minmax(0, min(calc(50% - 7px), 568px)) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.sel__map {
  position: relative; align-self: start;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-2);
  -webkit-tap-highlight-color: transparent;
}
.sel__map img { width: 100%; height: auto; }
.sel__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sel__svg a { outline: none; cursor: pointer; }
.sel__dim { fill: rgba(10, 10, 9, .58); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.sel.is-on .sel__dim { opacity: 1; }
.sel__hole { fill: #000; }
.sel__poly {
  fill: rgba(250, 196, 29, 0);
  stroke: var(--yellow); stroke-width: 0; stroke-linejoin: round;
  transition: fill .35s var(--ease), stroke-width .3s var(--ease);
}
.sel__svg a.is-on .sel__poly { fill: rgba(250, 196, 29, .2); stroke-width: 3; }
.sel__svg a:focus-visible .sel__poly { stroke-width: 4.5; }

/* conturul fiecărei clădiri se trasează o dată, când selectorul intră în ecran */
@keyframes trace {
  0% { stroke-width: 2.6; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); fill: rgba(250, 196, 29, 0); }
  55% { stroke-width: 2.6; stroke-dasharray: var(--len); stroke-dashoffset: 0; fill: rgba(250, 196, 29, .16); stroke-opacity: 1; }
  100% { stroke-width: 2.6; stroke-dasharray: var(--len); stroke-dashoffset: 0; fill: rgba(250, 196, 29, 0); stroke-opacity: 0; }
}
.sel.in.is-ready:not(.is-touched) .sel__poly { animation: trace 2.2s var(--ease) calc(.55s + var(--i, 0) * .18s) backwards; }

/* eticheta flotantă a clădirii */
.sel__tip {
  position: absolute; left: 0; top: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 3px;
  padding: 13px 16px 14px; border-radius: 18px;
  background: rgba(15, 15, 14, .84); color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .7);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)) scale(.94);
  transition: opacity .25s, transform .4s var(--ease);
}
.sel.is-on .sel__tip { opacity: 1; transform: translate(var(--tx, 0), var(--ty, 0)); }
.sel.is-touch .sel__tip { pointer-events: auto; }
.sel__tip b { font: 600 1.7rem/1 var(--f-display); letter-spacing: -.04em; }
.sel__tip span { font: 500 .8rem/1.2 var(--f-display); color: var(--muted-d); }
.sel__tip em { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 .86rem/1 var(--f-display); font-style: normal; color: var(--yellow); }
.sel__tip .ic { width: 14px; height: 14px; }

.sel__hint {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 999px;
  background: rgba(15, 15, 14, .62); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 .84rem/1 var(--f-display);
  pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.sel.is-on .sel__hint { opacity: 0; transform: translateY(6px); }
.sel__hint .t-touch { display: none; }
@media (hover: none) {
  .sel__hint .t-mouse { display: none; }
  .sel__hint .t-touch { display: inline; }
}

/* coloana cu lista de blocuri */
.sel__side {
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--ink-2); border: 1px solid var(--line-d);
}
.sel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sel__k { display: block; margin-bottom: 10px; font: 600 .78rem/1.35 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.sel__head h3 { font: 600 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--f-display); letter-spacing: -.035em; }
.sel__head .badge { flex: none; }

.blds { border-top: 1px solid var(--line-d); }
.blds li { border-bottom: 1px solid var(--line-d); }
.bld {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 11px 0;
  transition: color .3s;
}
.bld::before {
  content: ""; position: absolute; z-index: -1; inset: 3px -14px;
  border-radius: 16px; background: var(--yellow);
  opacity: 0; transform: scaleX(.96);
  transition: opacity .3s, transform .45s var(--ease);
}
.bld.is-on, .bld:focus-visible { color: var(--ink); }
.bld.is-on::before, .bld:focus-visible::before { opacity: 1; transform: none; }
.bld:focus-visible { outline: none; }
.bld__name { font: 600 2.1rem/1 var(--f-display); letter-spacing: -.045em; }
.bld__meta { display: flex; flex-direction: column; gap: 5px; font: 500 .94rem/1.2 var(--f-display); color: var(--muted-d); transition: color .3s; }
.bld__meta small { font: 600 .68rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.bld.is-on .bld__meta, .bld:focus-visible .bld__meta { color: rgba(15, 15, 14, .7); }
.bld__go { display: inline-flex; align-items: center; gap: 12px; font: 600 .95rem/1 var(--f-display); }
.bld__go i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-d);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.bld__go .ic { width: 17px; height: 17px; }
.bld.is-on .bld__go i, .bld:focus-visible .bld__go i { background: var(--ink); border-color: var(--ink); color: var(--yellow); transform: rotate(45deg); }
/* blocul fără listă (spre contact): săgeata → rămâne dreaptă */
.bld--contact.is-on .bld__go i, .bld--contact:focus-visible .bld__go i { transform: translateX(2px); }

/* avantajele NZEB stau ca subsol al panoului; nota rămâne lângă lista pe care o explică */
.sel__ticks { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-d); }
.sel__ticks li { color: var(--muted-d); }
.sel__note { display: flex; gap: 10px; font-size: .86rem; line-height: 1.5; color: var(--muted-d); }
.sel__note .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--yellow); }

/* varianta pe fundal deschis (Faza 4) */
.sel--light .sel__map { background: #E7E4DC; }
.sel--light .sel__side { background: var(--white); border-color: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 24px 60px -40px rgba(0, 0, 0, .25); }
.sel--light .sel__k, .sel--light .bld__meta, .sel--light .sel__note { color: var(--muted); }
.sel--light .sel__note .ic { color: var(--ink); }
.sel--light .blds, .sel--light .blds li { border-color: var(--line); }
.sel--light .bld__go i { border-color: var(--line); }
.phase--light { padding-bottom: clamp(84px, 11vw, 150px); }

/* ---------- Cum cumperi ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.step { min-height: 340px; }
.step__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; }
.step__n { font: 600 clamp(2.4rem, 3.4vw, 3.2rem)/.9 var(--f-display); letter-spacing: -.05em; color: var(--yellow); }
.step .ic-wrap { margin: 0; }
.step__link { align-self: flex-start; margin-top: auto; padding-top: 14px; }
.step p + .step__link { margin-top: auto; }
.step__gift { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 8px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 600 .8rem/1.1 var(--f-display); }
.step__gift .ic { width: 16px; height: 16px; }

/* ---------- Continuă explorarea: spațiu până la footer, ca pe celelalte subpagini ---------- */
.next { padding-bottom: clamp(36px, 5vw, 72px); }

/* ---------- Lista apartamentelor (#apartamente; o completează serverul, altfel rămâne ascunsă) ---------- */
/* blocurile cu listă pe pagină: săgeata arată în jos, spre listă */
.bld--here .bld__go .ic { transform: rotate(135deg); transition: transform .4s var(--ease); }
.bld--here.is-on .bld__go i, .bld--here:focus-visible .bld__go i { transform: translateY(2px); }
.sel__note--here .ic { transform: rotate(90deg); }

.avl { padding-top: 0; }   /* Faza 4 are deja spațiu generos dedesubt */
.avl [hidden] { display: none !important; }
.avl__sum { margin-top: 16px; font: 600 1.02rem/1.4 var(--f-display); color: var(--ink); }
.avl__sum:empty { display: none; }

/* filtre */
.avl__filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px;
  padding: 18px 22px; border-radius: var(--r);
  background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 24px 60px -40px rgba(0, 0, 0, .25);
}
html:not(.js) .avl__filters, html:not(.js) .avl__count { display: none; }
.avl__bar { scroll-margin-top: 104px; }
.avl__seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.avl__seg legend, .avl__sel > span {
  display: block; margin-bottom: 9px; padding: 0;
  font: 600 .72rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.avl__opts { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); }
.avl__opts label { position: relative; cursor: pointer; }
.avl__opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.avl__opts span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 999px;
  font: 600 .9rem/1 var(--f-display); color: var(--muted); white-space: nowrap;
  transition: background .25s, color .25s;
}
.avl__opts label:hover span { color: var(--ink); }
.avl__opts input:checked + span { background: var(--ink); color: #fff; }
.avl__opts input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.avl__sels { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.avl__sel { display: block; }
.avl__sel select {
  height: 46px; min-width: 156px; padding: 0 40px 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230F0F0E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 17px center;
  font: 600 .92rem/1 var(--f-display); color: var(--ink);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  transition: border-color .25s;
}
.avl__sel select:hover { border-color: var(--ink); }
.avl__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 18px; flex-wrap: wrap; margin: 16px 6px 0; }
html:not(.js) .avl__foot { display: none; }
.avl__count { font-size: .92rem; color: var(--muted); }
.avl__reset { font: 600 .9rem/1 var(--f-display); color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.avl__reset:hover { color: var(--ink); }

/* blocuri */
.avl__groups { display: grid; gap: 14px; margin-top: 14px; }
.avl__group {
  padding: clamp(20px, 2.6vw, 34px); border-radius: var(--r-lg);
  background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 24px 60px -40px rgba(0, 0, 0, .25);
  scroll-margin-top: 104px;
}
.avl__ghead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.avl__gname { display: flex; align-items: baseline; gap: 14px; }
.avl__gname b { font: 600 clamp(2rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -.045em; }
.avl__gname span { font: 600 .76rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.avl__gcounts { display: flex; flex-wrap: wrap; gap: 6px; }
.avl__gcounts li {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px;
  background: var(--paper); font: 500 .86rem/1 var(--f-display); color: var(--muted);
}
.avl__gcounts b { font-weight: 700; color: var(--ink); }
.avl__gcounts .is-d { background: #E3F4EA; color: #12733F; }
.avl__gcounts .is-d b { color: #0E5E33; }
.avl__gnote { width: 100%; padding: 11px 15px; border-radius: 14px; background: var(--yellow-soft); font-size: .93rem; line-height: 1.45; }
.avl__gempty { padding: 22px 4px 4px; color: var(--muted); font-size: .95rem; }
.avl__gempty button { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.avl__empty {
  display: grid; justify-items: center; gap: 16px; margin-top: 14px; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg); background: var(--white); text-align: center; color: var(--muted);
}
.avl__empty b { display: block; margin-bottom: 4px; font: 600 1.15rem/1.3 var(--f-display); color: var(--ink); }
.avl__empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* tabel (carduri pe telefon) */
.avl-t__wrap { margin-top: 4px; overflow-x: auto; }
.avl-t { width: 100%; border-collapse: collapse; font-size: .95rem; table-layout: fixed; }
.avl-t .w-nr { width: 72px; } .avl-t .w-floor { width: 100px; } .avl-t .w-area { width: 176px; } .avl-t .w-or { width: 112px; }
.avl-t .w-price { width: 132px; } .avl-t .w-st { width: 126px; } .avl-t .w-act { width: 176px; } .avl-t .w-act--plan { width: 262px; }
.avl-t thead th {
  padding: 16px 12px 12px; text-align: left; white-space: nowrap;
  font: 600 .7rem/1 var(--f-display); letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.avl-t td, .avl-t tbody th { padding: 11px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.avl-t th:first-child, .avl-t td:first-child { padding-left: 4px; }
.avl-t th:last-child, .avl-t td:last-child { padding-right: 4px; }
.avl-t tbody tr { transition: background .2s; }
.avl-t tbody tr:hover { background: #FBFAF6; }
.avl-t__nr { font: 600 1.3rem/1 var(--f-display) !important; letter-spacing: -.03em; white-space: nowrap; }
.avl-t__k { display: none; }
.avl-t__type { font: 600 1rem/1.25 var(--f-display); }
.avl-t__type small { margin-left: 2px; font: 400 .84rem/1.3 var(--f-body); color: var(--muted); white-space: nowrap; }
/* „Arată toate”: primele rânduri ale fiecărui bloc, restul la cerere (doar cu JS și „toate blocurile”) */
.avl-t tr.is-more { display: none; }
.avl__more {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 14px;
  border-radius: 16px; background: var(--paper); font: 600 .95rem/1.2 var(--f-display);
  transition: background .25s;
}
.avl__more:hover { background: var(--yellow-soft); }
.avl__more .ic { width: 16px; height: 16px; transform: rotate(90deg); }
.avl-t__floor, .avl-t__area, .avl-t__or { color: #3A3935; }
.avl-t__area span { display: block; }
.avl-t__area small { font-size: .8rem; color: var(--muted); }
.avl-t__area .avl-t__x { margin-top: 2px; font-size: .84rem; color: var(--muted); }
.avl-t__na { color: var(--muted-d); }
.avl-t__price { font: 600 1.02rem/1.2 var(--f-display); white-space: nowrap; }
.avl-t__price.is-ask { font: 500 .9rem/1.2 var(--f-display); color: var(--muted); }
.avl-t__act { text-align: right !important; white-space: nowrap; }
.avl-t__act .btn { --h: 42px; padding: 0 16px 0 18px; font-size: .9rem; }
.avl-t__act .btn__ic { width: 26px; height: 26px; margin-right: -9px; }
.avl-t__plan {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px; margin-right: 6px; vertical-align: middle;
  border: 1px solid var(--line); border-radius: 999px; font: 600 .88rem/1 var(--f-display);
  transition: border-color .25s, background .25s;
}
.avl-t__plan:hover { border-color: var(--ink); background: var(--paper); }
.avl-t__plan .ic { width: 16px; height: 16px; }
.avl-t tr.is-vandut > * { color: var(--muted); }
.avl-t tr.is-vandut .avl-t__nr, .avl-t tr.is-vandut .avl-t__type { color: var(--muted); }
.st {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px;
  font: 600 .8rem/1 var(--f-display); white-space: nowrap;
}
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--disponibil { background: #E3F4EA; color: #12733F; }
.st--rezervat { background: var(--yellow-soft); color: #7A5600; }
.st--vandut { background: #ECEAE4; color: #6B6963; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 0; }
}
@media (max-width: 960px) {
  .sel { grid-template-columns: 1fr; }
  .sel__map { width: 100%; max-width: 640px; justify-self: center; }
}
@media (max-width: 760px) {
  .disp-hero::after {
    background:
      linear-gradient(180deg, rgba(10, 10, 9, .6) 0%, rgba(10, 10, 9, .5) 30%, rgba(10, 10, 9, .7) 55%, rgba(10, 10, 9, .93) 100%);
  }
  .picks { grid-template-columns: 1fr; }
  .pick { min-height: 0; gap: 16px; }
  .pick__img {
    position: relative; z-index: 0; order: -1;
    width: calc(100% + 48px); max-width: none; height: 170px; margin: -24px -24px 4px;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .pick--ink .pick__img { opacity: .85; }
  .pick__names { margin-top: 6px; max-width: none; }
  .pick__foot > span:first-child { max-width: 34ch; }
  .pick__go { width: 46px; height: 46px; }
  .sel__side { gap: 18px; }
  .sel__head h3 { font-size: 1.6rem; }
  .bld { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; }
  .bld::before { inset: 2px -10px; border-radius: 14px; }
  .bld__name { font-size: 1.75rem; }
  /* textul acțiunii rămâne în numele accesibil al rândului, doar vizual ascuns */
  .bld__txt { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .bld__go i { width: 40px; height: 40px; }
  .sel__tip { padding: 10px 13px 11px; border-radius: 14px; }
  .sel__tip b { font-size: 1.35rem; }
  .sel__tip em { margin-top: 6px; font-size: .8rem; }
  .sel__hint { left: 10px; bottom: 10px; font-size: .78rem; padding: 8px 12px 8px 10px; }
  .steps { grid-template-columns: 1fr; }
  .step__top { margin-bottom: 18px; }
}
/* lista apartamentelor pe telefon: filtre pe toată lățimea, fiecare apartament devine un card */
@media (max-width: 760px) {
  .avl__filters { gap: 16px; padding: 16px; border-radius: 22px; }
  .avl__seg { width: 100%; }
  .avl__opts { border-radius: 18px; }
  .avl__opts label { flex: 1 1 auto; }
  .avl__opts span { justify-content: center; width: 100%; height: 38px; padding: 0 11px; font-size: .88rem; }
  .avl__sels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-left: 0; }
  .avl__sel select { width: 100%; min-width: 0; }
  .avl__foot { margin-inline: 4px; }
}

/* tabelul devine carduri sub 960 px (pe tabletă coloanele nu mai încap) */
@media (max-width: 960px) {
  .avl__group { padding: 24px 22px 10px; }
  .avl__ghead { gap: 12px; padding-bottom: 14px; }
  .avl__gname b { font-size: 2rem; }
  .avl__gcounts li { height: 30px; padding: 0 11px; font-size: .82rem; }
  .avl-t thead { display: none; }
  .avl-t, .avl-t tbody { display: block; }
  .avl-t tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 16px 0; border-top: 1px solid var(--line); }
  .avl-t tbody tr:first-child { border-top: 0; }
  .avl-t tbody tr:hover { background: none; }
  /* rândurile cardului: [nr · tip · stare] / [etaj · suprafață · exterior · orientare] / [preț · plan · cere detalii] */
  .avl-t tbody tr::before, .avl-t tbody tr::after { content: ""; flex-basis: 100%; height: 0; }
  .avl-t tbody tr::before { order: 4; }
  .avl-t tbody tr::after { order: 6; }
  .avl-t td, .avl-t tbody th { display: block; padding: 0 !important; border: 0; }
  .avl-t__nr { order: 1; font-size: 1.5rem !important; }
  .avl-t__type small { display: block; margin: 3px 0 0; white-space: normal; }
  .avl-t__k { display: inline; margin-right: 5px; font: 600 .68rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); vertical-align: 4px; }
  .avl-t__type { order: 2; flex: 1 1 0; min-width: 0; }
  .avl-t__st { order: 3; }
  /* etajul, suprafețele și orientarea: pastile mici pe un rând */
  .avl-t td.avl-t__floor, .avl-t td.avl-t__area:not(.is-na) > span, .avl-t td.avl-t__or {
    order: 5; padding: 5px 11px !important; border-radius: 999px; background: var(--paper);
    font-size: .86rem; line-height: 1.35; color: #3A3935;
  }
  /* fiecare suprafață devine o pastilă separată (celula nu mai formează o cutie) */
  .avl-t td.avl-t__area:not(.is-na) { display: contents; }
  .avl-t td.avl-t__area .avl-t__x { margin: 0; font-size: .86rem; color: #3A3935; }
  .avl-t td.avl-t__or::before { content: attr(data-l) " "; color: var(--muted); }
  .avl-t td.is-na { display: none; }
  .avl-t__price { order: 7; flex: 1 1 auto; font-size: 1.08rem; }
  .avl-t__act { order: 8; display: flex !important; gap: 6px; }
  .avl-t__plan { margin-right: 0; padding: 0 13px; }
  .avl-t__act .btn { padding: 0 14px 0 16px; }
}
@media (max-width: 760px) {
  .avl__group { padding: 20px 16px 8px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .sel .sel__poly { animation: none !important; }
}

/* numărul unui apartament disponibil duce la pagina lui */
.avl-t__nr a { color: inherit; text-decoration: underline; text-decoration-color: rgba(15, 15, 14, .25); text-underline-offset: 3px; }
.avl-t__nr a:hover { text-decoration-color: currentColor; }
