.availability-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) 4rem;
  color: #fbfcf9;
  background:
    radial-gradient(circle at 82% 5%, rgba(104, 155, 65, .22), transparent 26rem),
    linear-gradient(135deg, #012d1c 0%, #045433 68%, #0a633f 100%);
}

.availability-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image:
    linear-gradient(to right, transparent calc(100% - 1px), rgba(251, 252, 249, .25) 1px),
    linear-gradient(to bottom, transparent calc(100% - 1px), rgba(251, 252, 249, .18) 1px);
  background-size: 12.5vw 100%, 100% 6rem;
}

.availability-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, .62fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  max-width: 1450px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}

.availability-head h2 {
  max-width: 12ch;
  margin-bottom: 0;
  color: #fbfcf9;
  font-size: clamp(3rem, 5.7vw, 6.8rem);
}

.availability-head h2 em { color: #8fba6d; font-style: normal; font-weight: 380; }
.availability-head-copy { max-width: 36rem; color: #dcddde; font-size: .98rem; line-height: 1.8; }

.availability-kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
  color: #a9cf8a;
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.availability-kicker::before { content: ''; width: 2.4rem; height: 1px; background: #689b41; }

.availability-shell {
  display: flex;
  align-items: flex-start;
  max-width: 1450px;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
}

.availability-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(251, 252, 249, .22);
  background: #082f22;
  box-shadow: 0 2.5rem 7rem rgba(0, 18, 10, .3);
}
.availability-view { position: relative; animation: availability-reveal .62s var(--ease) both; }
.availability-media { position: relative; aspect-ratio: 996 / 358; overflow: hidden; background: #082f22; }

.availability-building-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .55s var(--ease), transform 1.2s var(--ease), filter .55s ease;
}

.building-exterior { opacity: 1; filter: saturate(.72) contrast(1.04) brightness(.84); }
.building-aerial { opacity: 0; filter: saturate(.7) contrast(1.04) brightness(.8); transform: scale(1.03); }
.availability-shell[data-angle="aerial"] .building-exterior { opacity: 0; transform: scale(1.035); }
.availability-shell[data-angle="aerial"] .building-aerial { opacity: 1; transform: scale(1); }

.availability-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 45, 28, .42), transparent 45%, rgba(1, 45, 28, .18));
  mix-blend-mode: multiply;
}

.availability-media::after {
  content: '';
  position: absolute;
  z-index: 5;
  top: -15%;
  bottom: -15%;
  width: 2px;
  pointer-events: none;
  opacity: .6;
  background: linear-gradient(180deg, transparent, #a9cf8a 35%, #fbfcf9 50%, #a9cf8a 65%, transparent);
  box-shadow: 0 0 1.8rem rgba(143, 186, 109, .9);
  animation: availability-scan 4.8s ease-in-out infinite;
}

.availability-angle-nav {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 9;
  display: flex;
  padding: .25rem;
  border: 1px solid rgba(251, 252, 249, .22);
  background: rgba(1, 45, 28, .72);
  backdrop-filter: blur(14px);
}

.availability-angle-nav button {
  border: 0;
  padding: .65rem .9rem;
  color: rgba(251, 252, 249, .66);
  background: transparent;
  font-size: .61rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.availability-shell[data-angle="exterior"] [data-angle-button="exterior"],
.availability-shell[data-angle="aerial"] [data-angle-button="aerial"] { color: #012d1c; background: #a9cf8a; }

.zone-hit {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(104, 155, 65, .46);
  transition: background .3s ease, filter .3s ease;
}

.zone-hit:hover,
.zone-hit:focus-visible { background: rgba(143, 186, 109, .65); filter: drop-shadow(0 0 1rem rgba(143, 186, 109, .85)); outline: none; }
.zone-hit--exterior { clip-path: polygon(66.8% 45.8%, 84.5% 57%, 87.8% 65.6%, 87.8% 89.1%, 73% 83.5%, 70.5% 68%); }
.zone-hit--aerial { display: none; clip-path: polygon(60.5% 24.4%, 76% 24.4%, 83.6% 36.5%, 83.6% 50%, 60.4% 50.5%); }
.availability-shell[data-angle="aerial"] .zone-hit--exterior { display: none; }
.availability-shell[data-angle="aerial"] .zone-hit--aerial { display: block; }

.zone-outline {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 0 7px rgba(143, 186, 109, .95));
}

.zone-outline polygon { fill: rgba(104, 155, 65, .13); stroke: #d5f0bf; stroke-width: 3; vector-effect: non-scaling-stroke; }
.zone-outline--aerial { display: none; }
.availability-shell[data-angle="aerial"] .zone-outline--exterior { display: none; }
.availability-shell[data-angle="aerial"] .zone-outline--aerial { display: block; }

.zone-label {
  position: absolute;
  z-index: 8;
  top: 65%;
  left: 78%;
  display: grid;
  min-width: 9.4rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(251, 252, 249, .45);
  color: #fbfcf9;
  background: rgba(1, 45, 28, .88);
  box-shadow: 0 1rem 2.8rem rgba(0, 24, 13, .4), 0 0 0 .42rem rgba(143, 186, 109, .13);
  transform: translate(-50%, -50%);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.zone-label::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  z-index: -1;
  border: 1px solid rgba(169, 207, 138, .75);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: zone-radar 2.2s ease-out infinite;
}

.availability-shell[data-angle="aerial"] .zone-label { top: 38%; left: 72%; }
.zone-label small { color: #a9cf8a; font-size: .53rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.zone-label strong { margin-top: .18rem; font-size: 1.18rem; font-weight: 760; letter-spacing: -.025em; }
.zone-label span { margin-top: .2rem; color: #dcddde; font-size: .62rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

.availability-plan-view { display: none; background: #f2f4ef; }
.availability-shell[data-view="plan"] .availability-building-view { display: none; }
.availability-shell[data-view="plan"] .availability-plan-view { display: block; }

.plan-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--line);
  color: #045433;
  background: rgba(251, 252, 249, .96);
}

.plan-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  color: #045433;
  background: transparent;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
}

.plan-toolbar span { color: #808285; font-size: .58rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.plan-canvas { position: relative; overflow: hidden; background: #fbfcf9; }
.plan-canvas > img { display: block; width: 100%; height: auto; filter: saturate(.72) contrast(1.04); }

.plan-unit {
  position: absolute;
  border: 2px solid;
  cursor: pointer;
  transition: background .3s ease, box-shadow .3s ease, transform .3s var(--ease);
}

.plan-unit:hover,
.plan-unit:focus-visible { z-index: 4; transform: translateY(-3px); outline: none; }
.plan-unit.is-selected { z-index: 3; box-shadow: inset 0 0 4rem rgba(104, 155, 65, .2), 0 0 0 5px rgba(104, 155, 65, .2); }
.plan-unit--two { top: 7.8%; left: 5.2%; width: 60.5%; height: 83.5%; border-color: #689b41; background: rgba(104, 155, 65, .18); box-shadow: inset 0 0 3.5rem rgba(104, 155, 65, .13); }
.plan-unit--one { top: 7.8%; left: 65.7%; width: 24.2%; height: 83.5%; border-color: #808285; background: rgba(88, 89, 91, .26); }

.plan-split {
  position: absolute;
  z-index: 2;
  top: 7.8%;
  left: 29.15%;
  height: 83.5%;
  border-left: 2px dashed rgba(4, 84, 51, .58);
  pointer-events: none;
}

.plan-split::before,
.plan-split::after {
  position: absolute;
  left: .7rem;
  width: max-content;
  padding: .42rem .58rem;
  color: #fbfcf9;
  background: rgba(4, 84, 51, .92);
  font-size: .55rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.plan-split::before { content: '165,91 m²'; top: 36%; transform: translateX(-105%); }
.plan-split::after { content: '252,64 m²'; top: 54%; }

.unit-map-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  gap: .18rem;
  min-width: 7.8rem;
  padding: .7rem .8rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-align: left;
}

.plan-unit--two .unit-map-label { color: #fbfcf9; background: rgba(4, 84, 51, .94); }
.plan-unit--one .unit-map-label { color: #fbfcf9; background: rgba(88, 89, 91, .94); }
.unit-map-label small { font-size: .5rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.unit-map-label strong { font-size: 1rem; font-weight: 750; }
.unit-map-label span { font-size: .55rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

.availability-panel {
  position: relative;
  display: flex;
  flex: 0 0 25rem;
  min-height: 0;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--future-ink);
  background: #fbfcf9;
  border: 1px solid var(--line);
  box-shadow: 0 2.5rem 7rem rgba(0, 18, 10, .3);
}

.availability-panel-view { display: flex; height: 100%; flex-direction: column; animation: availability-reveal .45s var(--ease) both; }
.availability-panel-plan { display: none; }
.availability-shell[data-view="plan"] .availability-panel-building { display: none; }
.availability-shell[data-view="plan"] .availability-panel-plan { display: flex; }

.availability-live {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .55rem;
  padding: .48rem .7rem;
  border: 1px solid rgba(104, 155, 65, .32);
  color: #045433;
  background: rgba(104, 155, 65, .1);
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.availability-live::before { content: ''; width: .48rem; height: .48rem; border-radius: 50%; background: #689b41; box-shadow: 0 0 0 .3rem rgba(104, 155, 65, .15); animation: live-dot 1.8s ease-in-out infinite; }
.availability-panel h3 { margin: 1.7rem 0 .8rem; color: #045433; font-size: clamp(1.7rem, 2.6vw, 2.65rem); font-weight: 680; line-height: 1.02; letter-spacing: -.045em; }
.availability-panel-lead { color: #58595b; font-size: .87rem; line-height: 1.72; }

.campaign-thumb { position: relative; overflow: hidden; margin: 1.5rem 0; aspect-ratio: 16 / 9; background: #045433; }
.campaign-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.82); }
.campaign-thumb::after { content: 'KAMPANJSKI DEL · 573,2 m²'; position: absolute; right: .65rem; bottom: .65rem; padding: .45rem .55rem; color: #fbfcf9; background: rgba(4, 84, 51, .9); font-size: .51rem; font-weight: 750; letter-spacing: .1em; }

.availability-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.availability-facts div { padding: .85rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.availability-facts small { display: block; margin-bottom: .18rem; color: #808285; font-size: .5rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.availability-facts strong { color: #045433; font-size: .89rem; font-weight: 730; }

.availability-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: auto;
  border: 0;
  padding: 1rem 1.1rem;
  color: #fbfcf9;
  background: #045433;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.availability-action:hover { background: #689b41; transform: translateY(-2px); }
.availability-action i { font-style: normal; font-size: 1rem; }

.unit-cards { display: grid; gap: .72rem; margin: 1.2rem 0 1.5rem; }
.unit-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .65rem 1rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  color: var(--future-ink);
  background: #f7f8f4;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease);
}

.unit-card:hover { transform: translateX(-3px); }
.unit-card.is-selected { border-color: #689b41; background: rgba(104, 155, 65, .1); box-shadow: inset 3px 0 #689b41; }
.unit-card--occupied { opacity: .76; }
.unit-card strong { color: #045433; font-size: .9rem; }
.unit-card > span { align-self: start; padding: .3rem .45rem; font-size: .48rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.unit-card--available > span { color: #045433; background: rgba(104, 155, 65, .22); }
.unit-card--occupied > span { color: #58595b; background: #dcddde; }
.unit-card small { grid-column: 1 / -1; color: #58595b; font-size: .68rem; line-height: 1.55; }
.unit-card b { color: #045433; }
.unit-card-options { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .35rem; }
.unit-card-options em { padding: .34rem .45rem; border: 1px solid rgba(4, 84, 51, .18); color: #045433; background: #fbfcf9; font-size: .52rem; font-style: normal; font-weight: 720; }

@keyframes availability-reveal { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes availability-scan { 0%, 100% { left: -5%; opacity: 0; } 16%, 84% { opacity: .58; } 50% { left: 105%; opacity: .72; } }
@keyframes zone-radar { 0% { opacity: .85; transform: translate(-50%, -50%) scale(.5); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.8); } }
@keyframes live-dot { 50% { opacity: .45; transform: scale(.8); } }

@media (max-width: 1060px) {
  .availability-section { padding-right: 1.5rem; padding-left: 1.5rem; }
  .availability-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .availability-shell { flex-direction: column; }
  .availability-stage,
  .availability-panel { width: 100%; }
  .availability-panel { flex-basis: auto; border-top: 1px solid var(--line); }
  .availability-panel-view { min-height: 28rem; }
}

@media (max-width: 620px) {
  .availability-section { padding: 4.5rem 0; }
  .availability-head { padding: 0 1.5rem; }
  .availability-head h2 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .availability-head-copy { font-size: .88rem; }
  .availability-shell { border-right: 0; border-left: 0; }
  .availability-media { aspect-ratio: 4 / 3; }
  .building-exterior { object-position: 77% center; }
  .building-aerial { object-position: 72% center; }
  .zone-hit--exterior { clip-path: polygon(40% 29%, 80% 43%, 94% 55%, 94% 88%, 55% 80%, 48% 55%); }
  .zone-outline { display: none !important; }
  .zone-label { top: 62%; left: 72%; min-width: 8.2rem; padding: .7rem .75rem; }
  .availability-shell[data-angle="aerial"] .zone-label { top: 42%; left: 70%; }
  .zone-label strong { font-size: 1rem; }
  .availability-angle-nav { top: .65rem; left: .65rem; }
  .availability-angle-nav button { padding: .55rem .62rem; font-size: .52rem; }
  .plan-toolbar span { display: none; }
  .plan-canvas { overflow: hidden; }
  .unit-map-label { min-width: 4.2rem; padding: .35rem .4rem; }
  .unit-map-label small { font-size: .36rem; letter-spacing: .09em; }
  .unit-map-label strong { font-size: .66rem; }
  .unit-map-label span { font-size: .4rem; }
  .plan-split::before,
  .plan-split::after { left: .28rem; padding: .25rem .3rem; font-size: .38rem; }
  .availability-panel { padding: 1.5rem; }
  .availability-panel-view { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .availability-media::after,
  .zone-label::before,
  .availability-live::before { animation: none; }
}

/* Refined FUTU-RE unit explorer */
.unit-explorer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 5rem;
  padding: clamp(5.5rem, 9vw, 9rem) 4rem;
  color: #fbfcf9;
  background:
    radial-gradient(circle at 76% 4%, rgba(104, 155, 65, .28), transparent 29rem),
    linear-gradient(136deg, #012d1c 0%, #045433 72%, #0b633f 100%);
}

.unit-explorer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(rgba(251, 252, 249, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 252, 249, .18) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.unit-explorer__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .65fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  max-width: 1480px;
  margin: 0 auto clamp(2.8rem, 5vw, 4.6rem);
}

.unit-explorer__head h2 {
  max-width: 12ch;
  margin: 0;
  color: #fbfcf9;
  font-size: clamp(3.2rem, 5.8vw, 7rem);
  line-height: .92;
  letter-spacing: -.055em;
}

.unit-explorer__head h2 em { color: #9cc77a; font-style: normal; font-weight: 380; }
.unit-explorer__head > p { max-width: 35rem; margin: 0; color: #dcddde; font-size: .96rem; line-height: 1.8; }

.unit-explorer__kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.15rem;
  color: #b1d594;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.unit-explorer__kicker::before { content: ''; width: 2.6rem; height: 1px; background: #83b85c; }

.unit-explorer__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 25rem);
  align-items: stretch;
  max-width: 1480px;
  min-height: 42rem;
  margin: 0 auto;
  box-shadow: 0 3rem 8rem rgba(0, 21, 12, .36);
}

.unit-explorer__stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(251, 252, 249, .2);
  background: #edf1eb;
}

.unit-explorer__view { height: 100%; animation: availability-reveal .65s var(--ease) both; }
.unit-explorer__plan { display: none; background: #f5f7f3; }
.unit-explorer__shell[data-view="plan"] .unit-explorer__building { display: none; }
.unit-explorer__shell[data-view="plan"] .unit-explorer__plan { display: flex; flex-direction: column; }

.building-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 42rem;
  margin: 0;
  overflow: hidden;
  background: #dfe7da;
}

.building-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(1, 45, 28, .16));
}

.building-map > img {
  width: 100%;
  height: 100%;
  min-height: 42rem;
  object-fit: cover;
  object-position: center;
  transition: transform 1.3s var(--ease), filter .5s ease;
}

.building-map:hover > img { transform: scale(1.018); }

.building-map__target {
  position: absolute;
  z-index: 3;
  top: 21.5%;
  left: 59.2%;
  width: 26.3%;
  height: 25.5%;
  border: 0;
  padding: 0;
  background: rgba(169, 207, 138, .001);
  clip-path: polygon(0 0, 66% 0, 100% 42%, 100% 100%, 0 100%);
  cursor: pointer;
}

.building-map__target::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  background: rgba(209, 242, 184, 0);
  clip-path: inherit;
  transition: background .3s ease;
}

.building-map__target:hover::before,
.building-map__target:focus-visible::before { background: rgba(213, 240, 191, .14); }
.building-map__target:focus-visible { outline: 3px solid #fbfcf9; outline-offset: 4px; }

.building-map__target span {
  position: absolute;
  top: 58%;
  left: 54%;
  width: .76rem;
  height: .76rem;
  border: 3px solid #fbfcf9;
  border-radius: 50%;
  background: #045433;
  box-shadow: 0 0 0 .35rem rgba(251, 252, 249, .28), 0 0 1.8rem rgba(251, 252, 249, .85);
}

.building-map__target span::after {
  content: '';
  position: absolute;
  inset: -.65rem;
  border: 1px solid rgba(251, 252, 249, .9);
  border-radius: 50%;
  animation: zone-radar 2.1s ease-out infinite;
}

.building-map figcaption {
  position: absolute;
  z-index: 4;
  left: 1.4rem;
  bottom: 1.4rem;
  display: grid;
  gap: .15rem;
  min-width: 12rem;
  padding: .9rem 1.05rem;
  color: #fbfcf9;
  background: rgba(1, 45, 28, .86);
  backdrop-filter: blur(12px);
}

.building-map figcaption span { font-size: .78rem; font-weight: 750; letter-spacing: .04em; }
.building-map figcaption small { color: #b9d5a5; font-size: .52rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.unit-plan__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: #045433;
  background: rgba(251, 252, 249, .94);
}

.unit-plan__toolbar button {
  border: 0;
  padding: .6rem 0;
  color: #045433;
  background: transparent;
  font: inherit;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.unit-plan__toolbar button:hover { color: #689b41; }
.unit-plan__toolbar span { color: #808285; font-size: .55rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.unit-plan__canvas {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 0;
  padding: clamp(1rem, 2.5vw, 2.4rem);
  overflow: hidden;
  background: #edf1eb;
}

.unit-plan__disclaimer {
  margin: 0;
  padding: .75rem 1.25rem .9rem;
  border-top: 1px solid rgba(4, 84, 51, .1);
  color: #6f7471;
  background: #f5f7f3;
  font-size: .58rem;
  line-height: 1.55;
  letter-spacing: .025em;
}

.unit-plan__svg { display: block; width: 100%; height: auto; max-height: 100%; overflow: visible; }
.unit-plan__unit { cursor: pointer; outline: none; }
.unit-plan__unit > path:first-child { stroke-width: 0; transition: fill .28s ease, filter .28s ease, transform .28s var(--ease); transform-origin: center; }
.unit-plan__unit--four > path:first-child { fill: #d6e9cb; }
.unit-plan__unit--three > path:first-child { fill: #e3f0dd; }
.unit-plan__unit--two > path:first-child { fill: #dcecd3; }
.unit-plan__unit--one > path:first-child { fill: #e2e3e1; }
.unit-plan__unit:hover > path:first-child,
.unit-plan__unit:focus-visible > path:first-child { filter: brightness(.96); }
.unit-plan__unit--four.is-selected > path:first-child,
.unit-plan__unit--three.is-selected > path:first-child,
.unit-plan__unit--two.is-selected > path:first-child { fill: #c4e0b5; }
.unit-plan__unit--one.is-selected > path:first-child { fill: #d6d7d5; }
.unit-plan__service { fill: #f0eee9; stroke: #808285; stroke-width: 2; }
.unit-plan__wall { fill: none; stroke: #045433; stroke-width: 12; }
.unit-plan__partition { fill: none; stroke: #045433; stroke-width: 7; stroke-linejoin: round; }
.unit-plan__split { fill: none; stroke: #689b41; stroke-width: 3; stroke-dasharray: 12 10; }
.unit-plan__details { fill: #045433; stroke: #045433; stroke-width: 2; }
.unit-plan__details path { fill: none; stroke-width: 3; }
.unit-plan__svg text { font-family: Raleway, Arial, sans-serif; pointer-events: none; }
.plan-status { fill: #689b41; font-size: 16px; font-weight: 800; letter-spacing: 4px; }
.unit-plan__unit--one .plan-status { fill: #808285; }
.plan-number { fill: #045433; font-size: 62px; font-weight: 300; }
.plan-name { fill: #045433; font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.plan-area { fill: #58595b; font-size: 18px; font-weight: 650; }
.plan-text-center { text-anchor: middle; }
.unit-plan__unit--two .plan-status,
.unit-plan__unit--three .plan-status { font-size: 13px; letter-spacing: 2px; }
.unit-plan__unit--two .plan-name,
.unit-plan__unit--three .plan-name { font-size: 19px; }
.unit-plan__unit--two .plan-area,
.unit-plan__unit--three .plan-area { font-size: 16px; }
.unit-plan__split-labels rect { fill: #045433; }
.unit-plan__split-labels text { fill: #fbfcf9; font-size: 15px; font-weight: 750; text-anchor: middle; }

.unit-explorer__panel {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  color: var(--future-ink);
  background: #fbfcf9;
}

.unit-panel {
  display: flex;
  height: 100%;
  min-height: 42rem;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.7rem);
  animation: availability-reveal .48s var(--ease) both;
}

.unit-panel--plan { display: none; }
.unit-explorer__shell[data-view="plan"] .unit-panel--building { display: none; }
.unit-explorer__shell[data-view="plan"] .unit-panel--plan { display: flex; }

.unit-panel__status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .55rem;
  padding: .48rem .7rem;
  border: 1px solid rgba(104, 155, 65, .32);
  color: #045433;
  background: rgba(104, 155, 65, .1);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.unit-panel__status::before {
  content: '';
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  background: #689b41;
  box-shadow: 0 0 0 .3rem rgba(104, 155, 65, .15);
  animation: live-dot 1.8s ease-in-out infinite;
}

.unit-panel__eyebrow { margin: 2.1rem 0 .45rem; color: #808285; font-size: .58rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.unit-panel h3 { margin: 0 0 1.2rem; color: #045433; font-size: clamp(2.3rem, 3.4vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.unit-panel--plan h3 { font-size: clamp(1.9rem, 2.4vw, 2.8rem); }
.unit-panel__lead { margin: 0; color: #58595b; font-size: .84rem; line-height: 1.72; }

.unit-panel__facts { display: grid; margin: 2rem 0; border-top: 1px solid var(--line); }
.unit-panel__facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .82rem 0; border-bottom: 1px solid var(--line); }
.unit-panel__facts dt { color: #808285; font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.unit-panel__facts dd { margin: 0; color: #045433; font-size: .88rem; font-weight: 750; }

.unit-panel__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: auto;
  border: 0;
  padding: 1rem 1.1rem;
  color: #fbfcf9;
  background: #045433;
  font: inherit;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.unit-panel__action:hover { background: #689b41; transform: translateY(-2px); }
.unit-panel__action i { font-size: 1rem; font-style: normal; }

.unit-panel__cards { display: grid; gap: .5rem; margin: 1.1rem 0 1.25rem; }
.unit-panel__card {
  display: grid;
  gap: .28rem;
  width: 100%;
  border: 1px solid var(--line);
  padding: .75rem .85rem;
  color: var(--future-ink);
  background: #f5f7f3;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease);
}

.unit-panel__card:hover { transform: translateX(-3px); }
.unit-panel__card.is-selected { border-color: #689b41; background: #edf6e8; box-shadow: inset 3px 0 #689b41; }
.unit-panel__card--occupied { opacity: .73; }
.unit-panel__card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.unit-panel__card-head strong { color: #045433; font-size: .86rem; }
.unit-panel__card-head em { padding: .28rem .45rem; color: #045433; background: #dcebd2; font-size: .48rem; font-style: normal; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.unit-panel__card--occupied .unit-panel__card-head em { color: #58595b; background: #dcddde; }
.unit-panel__card > b { color: #045433; font-size: 1.08rem; font-weight: 500; }
.unit-panel__card small { color: #58595b; font-size: .65rem; line-height: 1.5; }
.unit-panel__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.unit-panel__chips i { padding: .34rem .48rem; border: 1px solid rgba(4, 84, 51, .15); color: #045433; background: #fbfcf9; font-size: .52rem; font-style: normal; font-weight: 750; }

@media (max-width: 1120px) {
  .unit-explorer { padding-right: 1.5rem; padding-left: 1.5rem; }
  .unit-explorer__head { grid-template-columns: 1fr; gap: 1.4rem; }
  .unit-explorer__shell { grid-template-columns: 1fr; min-height: 0; }
  .building-map,
  .building-map > img { min-height: 36rem; }
  .unit-explorer__panel { min-height: auto; }
  .unit-panel { min-height: 0; }
}

@media (max-width: 660px) {
  .unit-explorer { padding: 4.8rem 0; }
  .unit-explorer__head { padding: 0 1.4rem; }
  .unit-explorer__head h2 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .unit-explorer__head > p { font-size: .86rem; }
  .building-map,
  .building-map > img { min-height: 25rem; }
  .building-map > img { object-position: 68% center; }
  .building-map__target { top: 26%; left: 53%; width: 39%; height: 23%; }
  .building-map figcaption { left: .8rem; bottom: .8rem; min-width: 0; }
  .unit-plan__toolbar { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .unit-plan__canvas { min-height: 18rem; padding: .5rem; }
  .unit-plan__disclaimer { padding: .65rem .8rem .8rem; font-size: .55rem; }
  .unit-plan__svg { min-width: 0; }
  .unit-panel { padding: 1.6rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .building-map__target span::after,
  .unit-panel__status::before { animation: none; }
}

/* Keep the complete object illustration visible at every viewport size. */
.unit-explorer__shell { min-height: 0; }

.building-map {
  height: auto;
  min-height: 0;
  aspect-ratio: 1672 / 941;
}

.building-map > img {
  display: block;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.unit-panel { min-height: 0; }

@media (max-width: 1120px) {
  .building-map,
  .building-map > img { min-height: 0; }
}

@media (max-width: 660px) {
  .building-map,
  .building-map > img { min-height: 0; }
  .building-map > img { object-position: center; }
  .building-map__target { top: 21.5%; left: 59.2%; width: 26.3%; height: 25.5%; }
}

/* CSS-drawn arrow: prevents mobile systems from replacing the icon with an emoji. */
.minimal-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  font-size: 0 !important;
  line-height: 0;
}

.minimal-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: .08rem;
  width: .76rem;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.minimal-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: .08rem;
  width: .38rem;
  height: .38rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.minimal-arrow--up { transform: rotate(-45deg); }

/* Selected-unit specifications */
.unit-explorer__shell[data-view="building"] + .unit-specs { display: none; }

.unit-specs {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  background: #fbfcf9;
  scroll-margin-top: 7rem;
  outline: none;
}

.unit-spec[hidden] { display: none !important; }

.unit-spec {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) minmax(17rem, 21rem);
  min-height: 25rem;
  animation: availability-reveal .42s var(--ease) both;
}

.unit-spec__number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding-top: 2.5rem;
  color: rgba(104, 155, 65, .44);
  background: #f2f5ef;
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.06em;
}

.unit-spec__content {
  padding: clamp(2.2rem, 4vw, 4.2rem);
}

.unit-spec__eyebrow,
.unit-spec__activity-title {
  margin: 0 0 .75rem;
  color: #689b41;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.unit-spec__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.unit-spec__title-row h3 {
  margin: 0;
  color: #045433;
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}

.unit-spec__title-row > span {
  flex: 0 0 auto;
  border: 1px solid rgba(104, 155, 65, .3);
  padding: .48rem .65rem;
  color: #045433;
  background: rgba(104, 155, 65, .1);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.unit-spec--occupied .unit-spec__title-row > span {
  border-color: rgba(128, 130, 133, .28);
  color: #58595b;
  background: #e5e6e4;
}

.unit-spec__lead {
  max-width: 47rem;
  margin: 0 0 2rem;
  color: #58595b;
  font-size: 1rem;
  line-height: 1.75;
}

.unit-spec__activity-title { margin-bottom: .8rem; color: #808285; }

.unit-spec__activities {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.unit-spec__activities span {
  border: 1px solid rgba(4, 84, 51, .14);
  padding: .52rem .68rem;
  color: #045433;
  background: #f2f5ef;
  font-size: .72rem;
  font-weight: 680;
}

.unit-spec__meta {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3vw, 3rem);
  color: #fbfcf9;
  background: #045433;
}

.unit-spec--occupied .unit-spec__meta { background: #58595b; }

.unit-spec__meta dl { margin: 0; }
.unit-spec__meta dl > div { padding: 1rem 0; border-bottom: 1px solid rgba(251, 252, 249, .17); }
.unit-spec__meta dt { margin-bottom: .35rem; color: #bfcac2; font-size: .62rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.unit-spec__meta dd { margin: 0; color: #fbfcf9; font-size: 1.1rem; font-weight: 700; }

.unit-spec__meta > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(251, 252, 249, .22);
  padding-top: 1.25rem;
  color: #fbfcf9;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.unit-spec__meta > a:hover { color: #b9db9f; }

@media (max-width: 1120px) {
  .unit-spec { grid-template-columns: 5.5rem minmax(0, 1fr) minmax(16rem, 19rem); }
}

@media (max-width: 820px) {
  .unit-specs { margin-top: .75rem; scroll-margin-top: 1rem; }
  .unit-spec { grid-template-columns: 1fr; }
  .unit-spec__number {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.4rem;
    font-size: 2.5rem;
  }
  .unit-spec__content { padding: 2rem 1.4rem 2.2rem; }
  .unit-spec__title-row { align-items: flex-start; }
  .unit-spec__title-row h3 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .unit-spec__lead { font-size: .95rem; line-height: 1.7; }
  .unit-spec__activities span { font-size: .7rem; }
  .unit-spec__meta { min-height: 19rem; padding: 1.8rem 1.4rem; }
}
