:root {
  --olive: #68734A;
  --deep-olive: #343A27;
  --clay: #C8795A;
  --pale-clay: #F2DDD4;
  --cream: #FFF8E9;
  --beige: #E9E1D2;
  --text: #292A24;
  --muted: #74746B;
  --white: #FFFFFF;
  --shadow: 0 22px 60px rgba(52, 58, 39, .13);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Heebo", "Rubik", Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  text-align: right;
}

body.menu-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;
  direction: rtl;
}

.container {
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

.section { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 248, 233, .92);
  border-bottom: 1px solid rgba(104, 115, 74, .18);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 0;
  color: var(--deep-olive);
  font-weight: 800;
  white-space: nowrap;
}

.brand span { font-size: 1.22rem; }
.brand small { color: var(--muted); font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--deep-olive);
  font-weight: 600;
}

.nav a {
  position: relative;
  padding-block: 8px;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--clay);
  transition: width .25s ease;
}

.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(200, 121, 90, .25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(200, 121, 90, .32);
  background: #b96a4c;
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: .95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--deep-olive);
  border: 1px solid rgba(104, 115, 74, .42);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--white);
  box-shadow: 0 10px 26px rgba(52, 58, 39, .08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(104, 115, 74, .3);
  border-radius: 50%;
  background: var(--white);
  padding: 11px;
}

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

.hero {
  padding-top: 64px;
  background:
    radial-gradient(circle at 14% 16%, rgba(242, 221, 212, .9), transparent 28%),
    var(--cream);
}

.hero-grid,
.living-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow,
.section-note {
  color: var(--olive);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.headline-wrap {
  position: relative;
  width: fit-content;
}

.olive-branch {
  position: absolute;
  width: 124px;
  height: auto;
  top: -36px;
  left: -78px;
  opacity: .94;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawBranch 1.3s ease .25s forwards;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--deep-olive);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  color: var(--deep-olive);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 28px;
}

h3 {
  color: var(--deep-olive);
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-text {
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  margin: 0;
  border-radius: 42px;
  box-shadow: var(--shadow);
  background: var(--beige);
}

.hero-image img,
.living img,
.showcase img {
  transition: transform 8s ease;
}

.hero-image:hover img,
.living img:hover,
.showcase:hover img { transform: scale(1.04); }

.hero-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 310px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 248, 233, .88);
  color: var(--deep-olive);
  font-weight: 700;
}

.search-section {
  margin-top: -36px;
  position: relative;
  z-index: 5;
}

.search-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
  align-items: end;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(104, 115, 74, .16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--deep-olive);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(104, 115, 74, .25);
  border-radius: 16px;
  background: #fffdf7;
  color: var(--text);
  padding: 13px 15px;
  outline: none;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(200, 121, 90, .15);
}

.lifestyle-grid,
.principle-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.life-item {
  min-height: 350px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(104, 115, 74, .14);
}

.life-item img {
  height: 210px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.life-item:nth-child(even) { background: var(--pale-clay); }

.showcase {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: stretch;
  padding: 22px;
  background: var(--white);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.showcase-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: 26px;
  position: relative;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--olive);
  color: var(--white);
  font-weight: 800;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 3vw, 34px);
}

.price {
  color: var(--clay);
  font-size: 1.65rem;
  font-weight: 800;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.area-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 2px solid rgba(104, 115, 74, .26);
  color: var(--deep-olive);
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.area-list a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

.area-list a:hover {
  color: var(--clay);
  border-color: var(--clay);
  transform: translateY(-2px);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.type-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding-block: 18px;
  border-top: 1px solid rgba(104, 115, 74, .2);
}

.type-row img {
  height: 110px;
  border-radius: 18px;
}

.statement,
.footer {
  background: var(--deep-olive);
  color: var(--white);
}

.statement { padding: 104px 0; }
.statement .container { max-width: 900px; }
.statement h2 { color: var(--white); font-size: clamp(3rem, 6vw, 6rem); }
.statement p { max-width: 680px; color: rgba(255,255,255,.78); font-size: 1.25rem; }
.statement span {
  display: block;
  width: 72px;
  height: 7px;
  background: var(--clay);
  border-radius: 999px;
  margin-bottom: 26px;
}

.principle-grid article,
.safety-grid article {
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(104, 115, 74, .13);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: rgba(104, 115, 74, .45);
}

.steps article {
  position: relative;
  padding-top: 76px;
}

.steps b {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--olive);
  color: var(--olive);
  font-size: 1.25rem;
}

.living {
  background: var(--beige);
  overflow: hidden;
}

.living img {
  min-height: 520px;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.living p {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 530px;
}

.two-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.tenant-panel,
.owner-panel {
  padding: clamp(26px, 4vw, 46px);
  border-radius: 30px;
}

.tenant-panel { background: var(--white); }
.owner-panel { background: var(--pale-clay); }

ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
  columns: 2;
}

li {
  margin-bottom: 9px;
  break-inside: avoid;
}

li::before {
  content: "•";
  color: var(--clay);
  font-weight: 800;
  margin-left: 8px;
}

.contact { background: linear-gradient(180deg, var(--cream), var(--pale-clay)); }

.email-link {
  display: inline-block;
  color: var(--clay);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form,
.modal form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--olive);
  font-weight: 700;
}

.form-status.error { color: #9d3f2a; }

.footer {
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 28px;
}

.footer h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 8px; }
.footer p, .footer a { color: rgba(255,255,255,.78); }
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.sticky-contact {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 18;
  display: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.modal {
  width: min(620px, calc(100% - 28px));
  border: 0;
  border-radius: 28px;
  padding: 34px;
  color: var(--text);
  background: var(--cream);
  box-shadow: var(--shadow);
  direction: rtl;
}

.modal::backdrop {
  background: rgba(41, 42, 36, .5);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--deep-olive);
  cursor: pointer;
  font-size: 1.6rem;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

dl div {
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
}

dt { color: var(--muted); }
dd { margin: 0; font-weight: 800; color: var(--deep-olive); }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@keyframes drawBranch {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 1040px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    padding: 24px;
    background: var(--cream);
    border-bottom: 1px solid rgba(104, 115, 74, .18);
    transform: translateY(-120%);
    transition: transform .25s ease;
  }

  body.menu-open .nav { transform: translateY(0); }
  .menu-toggle { display: block; }
  .lang { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .hero-grid,
  .living-grid,
  .contact-grid,
  .showcase,
  .two-panels,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .living img,
  .showcase-media { min-height: 360px; }

  .search-card {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .lifestyle-grid,
  .principle-grid,
  .safety-grid,
  .type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .steps::before {
    top: 0;
    bottom: 0;
    right: 32px;
    left: auto;
    width: 2px;
    height: auto;
  }

  .steps article {
    padding: 0 86px 22px 0;
  }

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

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1140px); }
  .site-header { min-height: 72px; }
  .header-actions .btn-small { display: none; }
  h1 { font-size: 3.1rem; }
  .olive-branch {
    width: 92px;
    top: -30px;
    left: -38px;
  }

  .hero-image figcaption {
    right: 14px;
    left: 14px;
    bottom: 14px;
    max-width: none;
  }

  .lifestyle-grid,
  .principle-grid,
  .safety-grid,
  .type-grid {
    grid-template-columns: 1fr;
  }

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

  .area-list a { white-space: nowrap; }

  .type-row {
    grid-template-columns: 104px 1fr;
  }

  .type-row img {
    height: 94px;
  }

  ul { columns: 1; }
  .modal { padding: 28px 18px; }
  dl { grid-template-columns: 1fr; }
}

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

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