@charset "UTF-8";
/* ==========================================================================
   NEST — property page
   Same language as the homepage: ink and bone bands, the one-softened-corner
   shape, the blue diagonal. Nothing new is invented here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.prop__hero {
  position: relative;
  min-height: clamp(520px, 78vh, 860px);
  display: grid; align-items: end;
  background: var(--slate-900);
  overflow: hidden;
}
.prop__media { position: absolute; inset: 0; }
.prop__img {
  width: 100%; height: 100%; object-fit: cover;
  /* the photo is context, not the headline — it sits well back */
  filter: saturate(.7) brightness(.55);
}
.prop__img--empty { background: linear-gradient(140deg, var(--slate-700), var(--slate-900)); }

.prop__scrim {
  position: absolute; inset: 0;
  /* One gradient, weighted to the bottom. Three stacked layers used to sit
     here — a full-height wash, a side wash and a vignette — and together they
     buried the photograph. The picture is the product; the scrim only has to
     buy contrast where the words actually are, plus a light touch at the very
     top so the white nav still reads. */
  background: linear-gradient(
    to bottom,
    rgba(11, 13, 15, .46) 0%,
    rgba(11, 13, 15, .14) 18%,
    rgba(11, 13, 15, .04) 40%,
    rgba(11, 13, 15, .30) 62%,
    rgba(11, 13, 15, .72) 82%,
    rgba(11, 13, 15, .93) 100%
  );
}

.prop__head {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: start;
  gap: clamp(1.4rem, 3vw, 3rem); flex-wrap: wrap;
  padding-block: 0 clamp(2.4rem, 5vw, 4.5rem);
  padding-block-start: calc(var(--header-h) + 2rem);
}

.prop__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.6vw, 5.2rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.03em;
  margin-block-start: clamp(.85rem, 1.3vw, 1.15rem);
  color: var(--white);
  position: relative;
  /* Block-level, so it starts on its own line under the .label above it —
     .label is inline-flex, and an inline-block heading next to it simply sat
     on the same line. `fit-content` keeps the shrink-to-fit width the
     overshooting diagonal below is measured against. */
  display: block;
  width: fit-content;
  max-width: 100%;
  text-align: start;
}
/* the diagonal overshoots the street name, as it does under "נתניה" */
.prop__title::after {
  content: ""; position: absolute;
  inset-block-end: -.16em; inset-inline-start: -.04em;
  width: 108%; height: 3px;
  background: linear-gradient(to left, var(--blue-300), var(--blue-600));
  transform: skewX(-38deg);
}

.prop__hood {
  margin-block-start: 1rem;
  font-size: clamp(.98rem, 1.3vw, 1.18rem);
  color: var(--silver-200);
  letter-spacing: .04em;
}

.prop__price { margin-block-start: 1.2rem; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.prop__price .card__price { font-size: clamp(1.7rem, 3vw, 2.6rem); color: var(--white); display: inline-flex; align-items: baseline; gap: .4rem; }
.prop__price .card__price small,
.card__price small { font-size: .42em; font-weight: 400; opacity: .78; letter-spacing: .04em; }
.prop__price .is-muted { color: var(--silver-200); }
.prop__sold {
  padding: .3rem .85rem;
  font-size: .82rem;
  background: var(--blue-600);
  color: var(--white);
  border-end-end-radius: 12px;
}

.prop__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   PARAMETERS
   Only what the property actually has. A feature it lacks is simply absent.
   -------------------------------------------------------------------------- */
.prop__params-wrap { padding-block: clamp(2.4rem, 4vw, 3.6rem); }

.prop__params {
  display: grid;
  /* however many the property actually has */
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
.prm { position: relative; text-align: start; min-width: 0; }
.prm + .prm::before {
  content: ""; position: absolute;
  inset-block: .1rem .1rem;
  inset-inline-start: calc(-1 * clamp(.5rem, 1vw, 1rem));
  width: 1px; background: rgba(255, 255, 255, .12);
}
.prm__label {
  font-size: .82rem;
  color: var(--silver-300);
  letter-spacing: .05em;
  margin-block-end: .45rem;
}
.prm__value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  color: var(--white);
  line-height: 1;
  display: flex; align-items: center;
}
.prm__value.num { direction: ltr; unicode-bidi: isolate; justify-content: flex-end; }
[dir="rtl"] .prm__value.num { justify-content: flex-start; }
.prm__tick { width: 20px; height: 20px; color: var(--blue-300); }

@media (max-width: 560px) { .prop__params { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* --------------------------------------------------------------------------
   BODY COPY
   -------------------------------------------------------------------------- */
.prop__body { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.6rem, 4vw, 4.5rem); align-items: start; }
.prop__text { font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.85; color: var(--bone-mute); max-width: 62ch; }
.prop__text p + p { margin-block-start: 1.1rem; }
@media (max-width: 900px) { .prop__body { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   VIDEO
   -------------------------------------------------------------------------- */
.prop__video { position: relative; background: var(--slate-900); line-height: 0; }
.prop__video video { width: 100%; height: clamp(320px, 62vh, 720px); object-fit: cover; }

/* --------------------------------------------------------------------------
   GALLERY — the target the "גלריה" button scrolls to
   -------------------------------------------------------------------------- */
.prop__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.1vw, 1rem);
  margin-block-start: clamp(2rem, 3.6vw, 3rem);
}
.pgal {
  position: relative; display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--slate-800);
  border-end-end-radius: 20px;
}
.pgal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter var(--dur-slow) var(--ease-inout); filter: saturate(.9); }
.pgal:hover img { transform: scale(1.06); filter: saturate(1); }
.pgal::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  border-end-end-radius: 20px;
}
.pgal:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 800px) {
  .prop__gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pgal:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3/2; }
}

/* --------------------------------------------------------------------------
   ENQUIRY — the target the meeting CTA scrolls to
   -------------------------------------------------------------------------- */
.prop__enquiry { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.8rem, 4vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .prop__enquiry { grid-template-columns: 1fr; } }

.prop__tel { color: var(--blue-500); position: relative; white-space: nowrap; }
.prop__tel::after {
  content: ""; position: absolute; inset-block-end: -2px; inset-inline: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-inout);
}
.prop__tel:hover::after { transform: scaleX(1); }

.lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.8rem, 1.4vw, 1.2rem);
}
.lead__field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.lead__field--wide, .lead__submit { grid-column: 1 / -1; }
.lead label { font-size: .86rem; color: var(--bone-mute); }
.lead input, .lead textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit;
  font-size: .98rem;
  color: var(--bone-ink);
  background: var(--white);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--bone-line);
  border-end-end-radius: 14px;
  transition: box-shadow var(--dur) var(--ease-inout);
}
.lead input:focus, .lead textarea:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--blue-500);
}
.lead textarea { resize: vertical; min-height: 96px; }
@media (max-width: 560px) { .lead { grid-template-columns: 1fr; } }

.lead__note {
  grid-column: 1 / -1;
  padding: .9rem 1.1rem;
  font-size: .92rem;
  border-end-end-radius: 14px;
}
.lead__note--ok  { background: rgba(44,90,144,.12); color: var(--blue-600); box-shadow: inset 0 0 0 1px rgba(44,90,144,.28); }
.lead__note--err { background: rgba(183,31,55,.1); color: #8d1a2c; box-shadow: inset 0 0 0 1px rgba(183,31,55,.28); }

/* --------------------------------------------------------------------------
   A three-up card row, used by "more in this neighbourhood"
   -------------------------------------------------------------------------- */
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--3 .card:nth-child(n) { grid-column: span 1; }
@media (max-width: 900px)  { .cards--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px)  { .cards--3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   THE ENQUIRY FORM — reworked
   Floating labels, a visible focus state, and a submit that carries the brand
   gradient. It should read as part of the design, not as a default form.
   ========================================================================== */
.lead { position: relative; }

.lead__field { position: relative; gap: 0; }

.lead__field label {
  position: absolute;
  inset-block-start: .95rem;
  inset-inline-start: 1rem;
  font-size: .98rem;
  color: var(--bone-mute);
  pointer-events: none;
  transform-origin: inline-start;
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease-inout);
}
[dir="rtl"] .lead__field label { transform-origin: right; }

.lead input, .lead textarea {
  padding: 1.5rem 1rem .6rem;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--bone-line);
  border-end-end-radius: 16px;
  transition: box-shadow var(--dur) var(--ease-inout), background var(--dur) var(--ease-inout);
}
.lead textarea { padding-block-start: 1.7rem; min-height: 118px; }

/* the label lifts once the field has focus or content */
.lead input:focus + label,
.lead textarea:focus + label,
.lead input:not(:placeholder-shown) + label,
.lead textarea:not(:placeholder-shown) + label,
.lead__field.is-filled label {
  transform: translateY(-.72rem) scale(.78);
  color: var(--blue-500);
}
.lead input:focus, .lead textarea:focus {
  box-shadow: inset 0 0 0 2px var(--blue-500), 0 6px 20px rgba(44, 90, 144, .14);
}

/* the submit fills its row and carries the gradient */
.lead__submit { margin-block-start: .3rem; }
.lead__submit .btn {
  width: 100%;
  justify-content: center;
  padding-block: 1.05rem;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
}

/* a hairline of brand blue down the side of the form block */
.prop__enquiry .lead::before {
  content: "";
  position: absolute;
  inset-block: .3rem;
  inset-inline-start: calc(-1 * clamp(.9rem, 1.8vw, 1.8rem));
  width: 2px;
  background: linear-gradient(var(--blue-300), transparent 70%);
  transform: skewX(-10deg);
}
@media (max-width: 900px) { .prop__enquiry .lead::before { display: none; } }

/* the honeypot — present in the DOM, never on the screen */
.lead__hp {
  position: absolute !important;
  inset-inline-start: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   GALLERY — the property carousel
   Two frames to a view on a wide screen, one on a phone. Native scroll-snap
   does the moving, so swipe, momentum and the RTL direction come from the
   browser rather than from arithmetic that would eventually get an edge wrong.
   ========================================================================== */
.gal { position: relative; margin-block-start: clamp(1.6rem, 3vw, 2.4rem); }

.gal__stage {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - (clamp(.6rem, 1.1vw, 1rem) / 2));
  gap: clamp(.6rem, 1.1vw, 1rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* the scrollbar is replaced by the rail underneath */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gal__stage::-webkit-scrollbar { display: none; }
.gal__stage:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 4px; }

@media (max-width: 860px) {
  .gal__stage { grid-auto-columns: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  .gal__stage { scroll-behavior: auto; }
}

.gal__slide {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--slate-700);
  border-end-end-radius: 22px;   /* the one softened corner, as on the cards */
  isolation: isolate;
}
.gal__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.94);
  transition: transform 1.1s var(--ease-out), filter var(--dur-slow) var(--ease-inout);
}
.gal__slide:hover img,
.gal__slide:focus-visible img { transform: scale(1.045); filter: saturate(1) brightness(1); }

/* a scrim that only shows up on hover, so the number and the loupe stay legible */
.gal__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,13,15,.55), transparent 46%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-inout);
}
.gal__slide:hover .gal__veil,
.gal__slide:focus-visible .gal__veil { opacity: 1; }

.gal__no {
  position: absolute;
  inset-block-end: .9rem; inset-inline-start: 1.1rem;
  font-family: var(--font-latin);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--white);
  opacity: 0; translate: 0 6px;
  transition: opacity var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out);
}
.gal__slide:hover .gal__no,
.gal__slide:focus-visible .gal__no { opacity: .85; translate: 0 0; }

.gal__zoom {
  position: absolute;
  inset-block-start: 1rem; inset-inline-end: 1rem;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  color: var(--white);
  background: rgba(20,23,25,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  border-end-end-radius: 12px;
  opacity: 0; scale: .9;
  transition: opacity var(--dur) var(--ease-out), scale var(--dur) var(--ease-out), background var(--dur) var(--ease-inout);
}
.gal__zoom svg { width: 17px; height: 17px; }
.gal__slide:hover .gal__zoom,
.gal__slide:focus-visible .gal__zoom { opacity: 1; scale: 1; }
.gal__slide:hover .gal__zoom { background: var(--blue-500); box-shadow: none; }

/* --- the arrows, up in the section head next to the heading --- */
.gal__nav { display: flex; align-items: center; gap: .5rem; }

.gal__count {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-inline-end: .7rem;
  font-family: var(--font-latin);
  font-size: .92rem; letter-spacing: .1em;
  color: var(--silver-300);
}
.gal__count b { font-weight: 400; color: var(--white); }
.gal__sep { width: 22px; height: 1px; background: var(--slate-400); transform: skewX(-38deg); }

.gal__arrow {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  border-end-end-radius: 16px;
  transition: color var(--dur) var(--ease-inout), box-shadow var(--dur) var(--ease-inout), opacity var(--dur) var(--ease-inout);
}
/* the brand's diagonal fill, same move as the buttons */
.gal__arrow::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(104deg, #4d8ad0, var(--blue-600));
  transform: translateX(-110%) skewX(-18deg);
  transition: transform var(--dur) var(--ease-out);
}
.gal__arrow:hover:not(:disabled)::before,
.gal__arrow:focus-visible:not(:disabled)::before { transform: translateX(0) skewX(-18deg); }
.gal__arrow:hover:not(:disabled) { box-shadow: none; }
.gal__arrow svg { width: 19px; height: 19px; transition: translate var(--dur) var(--ease-out); }
.gal__arrow--prev:hover:not(:disabled) svg { translate: 3px 0; }
.gal__arrow--next:hover:not(:disabled) svg { translate: -3px 0; }
.gal__arrow:disabled { opacity: .3; cursor: default; }

@media (max-width: 640px) {
  .gal__nav { width: 100%; justify-content: flex-start; margin-block-start: 1.2rem; }
  .gal__arrow { width: 44px; height: 44px; }
}

/* --- the rail: where you are in the run, as a hairline --- */
.gal__rail {
  position: relative;
  height: 2px;
  margin-block-start: clamp(1rem, 1.8vw, 1.4rem);
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.gal__bar {
  position: absolute; inset-block: 0;
  inset-inline-start: 0;
  width: 30%;
  background: linear-gradient(104deg, var(--blue-300), var(--blue-600));
  transition: inset-inline-start var(--dur) var(--ease-out), width var(--dur) var(--ease-out);
}

.gal__note { margin-block-start: clamp(1rem, 1.6vw, 1.3rem); }

/* the consent line under every submit (privacy amendment 13) */
.lead__consent {
  grid-column: 1 / -1;
  margin-block-start: .2rem;
  font-size: .78rem; line-height: 1.6;
  color: var(--bone-mute, #6b7075);
}
.section--ink .lead__consent, .contact .lead__consent { color: var(--silver-300); }
.lead__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* plain pages: privacy, accessibility, terms */
.page-head { padding-block-end: clamp(2rem, 4vw, 3rem); }
.legal h2 {
  margin-block: 2.2rem .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 500;
  color: var(--bone-ink);
}
.legal ul { list-style: disc; padding-inline-start: 1.3rem; }
.legal li + li { margin-block-start: .35rem; }
.legal a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 2px; }
.legal p { margin-block-start: .8rem; }
