:root {
  --red: #e63946;
  --graphite: #252525;
  --soft-pink: #ffe5e8;
  --blush: #f8b4bc;
  --pale-gray: #f3f4f6;
  --soft-white: #fcfcfa;
  --text: #202124;
  --muted: #6b6f76;
  --white: #ffffff;
  --line: rgba(37, 37, 37, 0.12);
  --shadow: 0 22px 60px rgba(32, 33, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft-white);
  color: var(--text);
  font-family: "Noto Sans Hebrew", "Rubik", "Arial", sans-serif;
  line-height: 1.5;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 3px solid var(--red);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 24px;
}

.brand {
  display: grid;
  gap: 0;
}

.brand-name {
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.brand-line,
.language,
.eyebrow,
.sample-label,
.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav,
.header-actions,
.hero-actions,
.location-cloud,
.flow,
.footer nav {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: center;
  gap: 18px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--red);
  border-color: var(--red);
}

.header-actions {
  gap: 14px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

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

.btn-ghost {
  border-color: var(--graphite);
  background: transparent;
  color: var(--graphite);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--soft-pink);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--graphite);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 42px;
  min-height: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

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

h3 {
  font-size: 1.45rem;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.35rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mega-word {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--red);
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 1000;
  line-height: 0.85;
  text-shadow:
    -2px 0 var(--graphite),
    0 2px var(--graphite),
    2px 0 var(--graphite),
    0 -2px var(--graphite);
}

.window-grid {
  position: absolute;
  inset: 0;
}

.apt-window {
  position: absolute;
  display: block;
  border: 4px solid var(--graphite);
  border-radius: 12px;
  box-shadow: 10px 10px 0 rgba(230, 57, 70, 0.18);
  animation: floaty 5s ease-in-out infinite;
}

.apt-window i {
  position: absolute;
  inset: 16px;
  border-top: 5px solid currentColor;
  border-right: 5px solid currentColor;
}

.w1 { width: 105px; height: 120px; right: 8%; top: 10%; background: var(--soft-pink); color: var(--red); }
.w2 { width: 86px; height: 94px; right: 28%; bottom: 7%; background: var(--red); color: var(--white); animation-delay: 600ms; }
.w3 { width: 126px; height: 86px; left: 7%; top: 16%; background: var(--white); color: var(--graphite); animation-delay: 1s; }
.w4 { width: 92px; height: 128px; left: 18%; bottom: 5%; background: var(--blush); color: var(--graphite); animation-delay: 1.4s; }
.w5 { width: 76px; height: 76px; left: 41%; top: 3%; background: var(--graphite); color: var(--white); animation-delay: 1.8s; }

.search-shell {
  max-width: 1200px;
  margin: -46px auto 0;
  padding: 0 24px 60px;
}

.search-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr auto;
  align-items: end;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-box h2 {
  margin: 0;
  font-size: 1.55rem;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-white);
  color: var(--text);
  direction: rtl;
  text-align: right;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(230, 57, 70, 0.18);
  border-color: var(--red);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 0;
  color: var(--red);
  font-weight: 800;
}

.section-heading {
  max-width: 650px;
}

.category-grid,
.why-grid,
.steps,
.safety > div {
  display: grid;
  gap: 16px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease;
}

.category-card:hover,
.category-card:focus {
  transform: translateY(-4px);
  border-color: var(--graphite);
}

.category-card span {
  font-size: 1.5rem;
  font-weight: 950;
}

.category-card strong {
  font-size: 1.05rem;
}

.hot { background: var(--red); color: var(--white); }
.pale { background: var(--soft-pink); }
.blush { background: var(--blush); }
.gray { background: var(--pale-gray); }

.featured-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: var(--soft-pink);
  border: 2px solid var(--graphite);
  border-radius: 8px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  background: var(--graphite);
  color: var(--white);
  border-radius: 999px;
  font-weight: 900;
}

.price {
  color: var(--red);
  font-size: 2rem;
  font-weight: 1000;
}

.property-graphic svg {
  display: block;
  width: 100%;
  height: auto;
}

.locations {
  overflow: hidden;
}

.location-cloud {
  flex-wrap: wrap;
  gap: 14px 22px;
}

.location-cloud button {
  border: 0;
  background: transparent;
  color: var(--graphite);
  font-size: clamp(2rem, 5.8vw, 6rem);
  font-weight: 1000;
  line-height: 0.95;
  transition: color 160ms ease, transform 160ms ease;
}

.location-cloud button:hover,
.location-cloud button:focus {
  color: var(--red);
  transform: translateY(-3px);
}

.rooms {
  text-align: center;
}

.room-selector {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 14px;
}

.room-option {
  min-height: 160px;
  border: 2px solid var(--graphite);
  border-radius: 8px;
  background: var(--white);
  color: var(--graphite);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.room-option strong {
  display: block;
  font-size: 4.2rem;
  line-height: 1;
}

.room-option span {
  font-weight: 900;
}

.room-option.active,
.room-option:hover,
.room-option:focus {
  background: var(--red);
  color: var(--white);
  transform: translateY(-4px);
}

.brand-statement {
  background: var(--graphite);
  color: var(--white);
  padding: 110px 24px;
}

.brand-statement div {
  max-width: 1200px;
  margin: 0 auto;
}

.brand-statement h2 {
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.brand-statement span {
  color: var(--red);
}

.brand-statement p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.35rem;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.why article {
  padding: 28px 0;
  border-top: 3px solid var(--red);
}

.why svg {
  width: 48px;
  height: 48px;
  color: var(--red);
}

.why p,
.steps p,
.safety p,
.contact p {
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(5, 1fr);
}

.steps article {
  min-height: 210px;
  padding: 22px;
  border-right: 3px solid var(--red);
  background: var(--pale-gray);
  border-radius: 8px;
}

.steps strong {
  color: var(--red);
  font-size: 3rem;
  line-height: 1;
}

.tenant-band,
.owner-band,
.safety,
.footer {
  padding: 72px 24px;
}

.tenant-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
  background: var(--soft-pink);
}

.tenant-band > *,
.owner-band > *,
.safety > *,
.footer > * {
  max-width: 1200px;
}

.flow {
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 1000;
  font-size: clamp(1.25rem, 3vw, 2.3rem);
}

.flow span {
  padding: 12px 16px;
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: 8px;
}

.flow b {
  color: var(--red);
}

.owner-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.owner-band p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
}

.safety {
  background: var(--pale-gray);
}

.safety > h2,
.safety > div {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.safety > div {
  grid-template-columns: repeat(4, 1fr);
}

.safety article {
  padding: 18px;
  background: var(--white);
  border-radius: 8px;
  border-top: 4px solid var(--red);
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.email-link {
  color: var(--red);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.contact-form,
.owner-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: 8px;
}

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

.footer {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: 28px;
  background: var(--graphite);
  color: var(--white);
  padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.footer strong {
  color: var(--red);
  font-size: 2rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer nav {
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer a:hover,
.footer a:focus {
  color: var(--white);
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(37, 37, 37, 0.66);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: 28px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: modalIn 180ms ease;
}

.modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--soft-pink);
  color: var(--graphite);
  font-size: 1.7rem;
  line-height: 1;
}

.modal ul {
  padding-right: 18px;
}

.reveal {
  animation: revealUp 650ms ease both;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 77px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    background: var(--white);
    border-bottom: 3px solid var(--red);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    background: var(--soft-white);
    border-radius: 8px;
  }

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

  .search-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-box h2,
  .search-box button {
    grid-column: 1 / -1;
  }

  .category-grid,
  .why-grid,
  .safety > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
    padding: 10px 16px;
    gap: 10px;
  }

  .brand-line,
  .language {
    display: none;
  }

  .header-actions .btn {
    padding-inline: 12px;
    min-height: 42px;
  }

  .section {
    padding: 64px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-visual {
    min-height: 280px;
  }

  .search-shell {
    margin-top: 0;
    padding: 0 16px 48px;
  }

  .search-box,
  .featured-card,
  .tenant-band,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .why-grid,
  .steps,
  .safety > div,
  .contact-form,
  .owner-form {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 136px;
  }

  .location-cloud {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .location-cloud button {
    flex: 0 0 auto;
    font-size: 3rem;
  }

  .room-selector {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .room-option {
    min-height: 132px;
  }

  .room-option strong {
    font-size: 3.3rem;
  }

  .tenant-band,
  .owner-band,
  .safety,
  .footer {
    padding: 58px 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
