:root {
  --sapphire: #174EA6;
  --ink: #101828;
  --turquoise: #159A9C;
  --sand: #E8D8C3;
  --sky: #EAF4FF;
  --warm: #FCFAF6;
  --gray: #667085;
  --white: #FFFFFF;
  --line: rgba(16, 24, 40, 0.12);
  --shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
  --font: Arial, "Noto Sans Hebrew", "Rubik", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  text-align: right;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(252, 250, 246, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

.brand {
  display: grid;
  gap: 0;
  letter-spacing: 0;
  font-weight: 800;
}

.brand small {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

.site-nav,
.header-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav {
  justify-content: center;
  font-size: 0.94rem;
  color: var(--gray);
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.email-link {
  color: var(--sapphire);
}

.language {
  color: var(--gray);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sapphire);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 64px);
}

.section-inner,
.section-heading {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--turquoise);
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.2;
}

p {
  color: var(--gray);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding-top: clamp(42px, 7vw, 96px);
}

.hero-media {
  position: relative;
  order: 1;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0 0 0 52px;
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 24px auto auto 24px;
  width: 34%;
  height: 46%;
  border: 10px solid var(--sand);
  z-index: 1;
}

.hero-copy {
  order: 2;
  max-width: 680px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.floating-label,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--turquoise);
  color: var(--white);
  padding: 7px 14px;
  font-weight: 900;
}

.floating-label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  background: var(--sapphire);
}

.search-band {
  padding: 34px clamp(18px, 5vw, 64px);
  background: var(--sky);
}

.search-band h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.6rem);
}

.search-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  text-align: right;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sapphire);
  box-shadow: 0 0 0 3px rgba(23, 78, 166, 0.12);
}

.form-note {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--turquoise);
  font-weight: 700;
}

.location-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.location-grid a {
  position: relative;
  min-height: 138px;
  padding: 26px 0 26px 50px;
  border-bottom: 1px solid var(--line);
}

.location-grid a:nth-child(odd) {
  border-left: 1px solid var(--line);
}

.location-grid a::after {
  content: "↖";
  position: absolute;
  left: 18px;
  top: 30px;
  color: var(--sapphire);
  font-size: 1.45rem;
}

.location-grid span {
  display: block;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
}

.location-grid small {
  color: var(--gray);
  font-size: 1rem;
}

.location-grid a:hover span {
  color: var(--sapphire);
}

.featured,
.tenants,
.contact {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.featured-copy {
  background: var(--white);
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price {
  color: var(--sapphire);
  font-size: 1.55rem;
  font-weight: 900;
}

.details {
  color: var(--ink);
  font-weight: 800;
}

.featured-image {
  height: 560px;
  border-radius: 52px 0 0 0;
  overflow: hidden;
}

.type-list {
  background: linear-gradient(90deg, var(--warm), var(--sky));
}

.types {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.types article {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(160px, 0.45fr) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.types article::after {
  content: "";
  position: absolute;
  left: 0;
  width: min(280px, 34vw);
  height: 96px;
  background-image: var(--type-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.types article:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.types span {
  color: var(--turquoise);
  font-weight: 900;
}

.types h3 {
  margin: 0;
}

.types p {
  margin: 0;
  max-width: 440px;
}

.lifestyle {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.lifestyle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 24, 40, 0.62), rgba(16, 24, 40, 0.04));
}

.lifestyle img {
  position: absolute;
  inset: 0;
}

.lifestyle-copy {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin: 0 clamp(18px, 5vw, 64px) clamp(48px, 7vw, 88px);
}

.lifestyle-copy h2,
.lifestyle-copy p {
  color: var(--white);
}

.lifestyle-copy p {
  max-width: 540px;
  font-size: 1.2rem;
}

.principle-grid,
.safety-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle-grid article,
.safety-grid article {
  background: var(--white);
  padding: 28px;
}

.principle-grid h3,
.safety-grid h3 {
  color: var(--sapphire);
}

.process {
  background: var(--sand);
}

.timeline {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid rgba(16, 24, 40, 0.2);
}

.timeline article {
  position: relative;
  padding: 34px 0 0 24px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sapphire);
}

.timeline span {
  color: var(--sapphire);
  font-weight: 900;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits li {
  background: var(--sky);
  border-radius: 6px;
  padding: 16px 18px;
  font-weight: 800;
}

.benefits li::before {
  content: "•";
  margin-left: 10px;
  color: var(--turquoise);
}

.owners {
  background: var(--ink);
  color: var(--white);
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 64px);
}

.owners-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.owners p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 560px;
  font-size: 1.2rem;
}

.contact-form,
.owner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
}

.full,
.contact-form .btn,
.contact-form .form-note,
.owner-form .btn,
.owner-form .form-note {
  grid-column: 1 / -1;
}

.email-link {
  display: inline-block;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 28px;
  padding: 44px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p,
.site-footer small,
.site-footer nav a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 40, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  background: var(--white);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  transform: translateY(14px);
  transition: transform 180ms ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
}

.owner-panel {
  width: min(820px, 100%);
}

.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: none;
  border-radius: 6px;
  background: var(--sapphire);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px clamp(18px, 5vw, 64px) 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-actions {
    justify-self: end;
  }

  .hero,
  .featured,
  .tenants,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-copy {
    order: initial;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .featured-image {
    min-height: 420px;
    height: 52vw;
  }

  .search-form {
    grid-template-columns: 1fr 1fr;
  }

  .search-form .btn {
    grid-column: 1 / -1;
  }

  .principle-grid,
  .safety-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 12px;
    min-height: 70px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .brand small,
  .language {
    font-size: 0.72rem;
  }

  .header-actions .btn {
    display: none;
  }

  .site-nav {
    top: 70px;
  }

  .section {
    padding: 64px 18px;
  }

  .button-row,
  .header-actions {
    gap: 10px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-media,
  .featured-image {
    min-height: 330px;
    border-radius: 0 0 0 34px;
  }

  .search-form,
  .location-grid,
  .types article,
  .principle-grid,
  .safety-grid,
  .timeline,
  .benefits,
  .contact-form,
  .owner-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .location-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .location-grid a {
    min-width: 78vw;
    border-left: 0;
    scroll-snap-align: start;
  }

  .types article::after {
    display: none;
  }

  .timeline {
    border-top: 0;
    border-right: 2px solid rgba(16, 24, 40, 0.2);
    padding-right: 18px;
  }

  .timeline article {
    padding: 0 20px 28px 0;
  }

  .timeline article::before {
    top: 8px;
    right: -26px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .sticky-contact {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
