/* ESOL Industrial Bases v2.15.10 — property-search notice and protected intake. */
.real-estate-page {
  background: #f2f3f1;
}

.real-estate-page .re-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(820px, 100svh);
  overflow: hidden;
  color: #f7f7f5;
  background: #091015;
}

.real-estate-page .re-hero__media,
.real-estate-page .re-hero__media::after {
  position: absolute;
  inset: 0;
}

.real-estate-page .re-hero__media {
  z-index: -1;
  margin: 0;
}

.real-estate-page .re-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 56% center;
}

.real-estate-page .re-hero__media::after {
  content: "";
  background: linear-gradient(90deg, rgba(5, 10, 14, .92) 0%, rgba(5, 10, 14, .78) 34%, rgba(5, 10, 14, .25) 78%), linear-gradient(0deg, rgba(5, 10, 14, .58), transparent 40%);
}

.real-estate-page .re-hero__content {
  padding-block: 170px 108px;
}

.real-estate-page .re-hero .eyebrow,
.real-estate-page .re-paths .eyebrow,
.real-estate-page .re-close .eyebrow {
  color: rgba(255, 255, 255, .76);
}

.real-estate-page .re-hero h1,
.real-estate-page .re-value h2,
.real-estate-page .re-path h2,
.real-estate-page .re-close h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -.065em;
  line-height: .94;
  text-wrap: balance;
}

.real-estate-page .re-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.35rem, 5.5vw, 6.15rem);
}

.real-estate-page .re-hero__lead {
  max-width: 740px;
  margin: 30px 0 0;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.real-estate-page .re-hero__support {
  max-width: 550px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(.97rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.real-estate-page .re-text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  margin-top: 30px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 4px;
  color: inherit;
  background: transparent;
  font-family: inherit;
  font-size: .83rem;
  font-weight: 570;
  letter-spacing: .025em;
  text-decoration: none;
  text-align: start;
  cursor: pointer;
  transition: color .25s ease, gap .25s ease;
}

.real-estate-page .re-text-link:hover {
  gap: 20px;
  color: #ff8537;
}

.real-estate-page .re-text-link:focus-visible,
.real-estate-page .re-path__link:focus-visible {
  outline: 2px solid #ff6200;
  outline-offset: 5px;
}

.real-estate-page .re-image-note {
  position: absolute;
  inset-inline-end: 40px;
  bottom: 24px;
  color: rgba(255,255,255,.74);
  font-size: .64rem;
  letter-spacing: .05em;
}

.real-estate-page .re-value {
  padding-block: clamp(88px, 10vw, 154px);
  background: #f2f3f1;
}

.real-estate-page .re-value__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .78fr);
  gap: clamp(44px, 8vw, 160px);
  align-items: end;
}

.real-estate-page .re-value h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.real-estate-page .re-value__copy {
  max-width: 560px;
  margin: 0 0 6px;
  color: #4b565d;
  font-size: clamp(1rem, 1.28vw, 1.14rem);
  line-height: 1.75;
}

.real-estate-page .re-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin: 73px 0 0;
  padding: 27px 0 0;
  border-top: 1px solid #bcc4c7;
  list-style: none;
  color: #263239;
  font-size: .77rem;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.real-estate-page .re-categories li::before {
  content: "—";
  margin-inline-end: 10px;
  color: #ff6200;
}

.real-estate-page .re-paths {
  background: #0a1116;
  color: #f7f7f5;
}

.real-estate-page .re-paths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .2);
}

.real-estate-page .re-path {
  min-height: 410px;
  padding: clamp(48px, 6vw, 90px) clamp(32px, 5vw, 78px);
  background: #0a1116;
}

.real-estate-page .re-path:nth-child(2) {
  background: #101a20;
}

.real-estate-page .re-path h2 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 3.8vw, 4.4rem);
}

.real-estate-page .re-path p:not(.eyebrow) {
  max-width: 530px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  line-height: 1.67;
}

.real-estate-page .re-path__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 31px;
  color: #fff;
  font-size: .74rem;
  font-weight: 680;
  font-family: inherit;
  letter-spacing: .09em;
  line-height: 1.35;
  text-decoration: none;
  text-align: start;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: color .25s ease, gap .25s ease;
}

.real-estate-page .re-path__link span {
  color: #ff6200;
  font-size: 1.3rem;
  line-height: 1;
}

.real-estate-page .re-path__link:hover {
  gap: 19px;
  color: #ff8537;
}

.real-estate-page .re-close {
  padding-block: clamp(95px, 10vw, 155px);
  color: #f7f7f5;
  background: radial-gradient(circle at 86% 26%, rgba(255,98,0,.13), transparent 33%), #11191e;
}

.real-estate-page .re-close h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
}

.real-estate-page .re-close p:last-child {
  margin: 25px 0 0;
  color: rgba(255,255,255,.66);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

.real-estate-page .re-dialog {
  width: min(880px, calc(100% - 36px));
  max-width: none;
  max-height: min(900px, calc(100dvh - 36px));
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  color: #10181d;
  background: transparent;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.real-estate-page .re-dialog::backdrop {
  background: rgba(4, 9, 12, .76);
  backdrop-filter: blur(8px);
}

.real-estate-page .re-dialog__shell {
  position: relative;
  max-height: min(900px, calc(100dvh - 36px));
  overflow: auto;
  border-top: 4px solid #ff6200;
  border-radius: 18px;
  background: #f8f8f6;
}

.real-estate-page .re-dialog__close {
  position: absolute;
  z-index: 2;
  inset-block-start: 18px;
  inset-inline-end: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font: 300 1.7rem/1 inherit;
  cursor: pointer;
}

.real-estate-page .re-dialog__close:hover { background: rgba(255, 255, 255, .1); }
.real-estate-page .re-dialog__close:focus-visible,
.real-estate-page .re-form__submit:focus-visible,
.real-estate-page .re-form__cancel:focus-visible,
.real-estate-page .re-dialog input:focus-visible,
.real-estate-page .re-dialog select:focus-visible,
.real-estate-page .re-dialog textarea:focus-visible {
  outline: 2px solid #ff6200;
  outline-offset: 3px;
}

.real-estate-page .re-dialog__heading {
  padding: 54px clamp(30px, 6vw, 72px) 43px;
  color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(255,98,0,.16), transparent 34%), #0e171c;
}

.real-estate-page .re-dialog__heading .eyebrow { color: #ff7a27; }
.real-estate-page .re-dialog__heading h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: .96;
}
.real-estate-page .re-dialog__heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}

.real-estate-page .re-dialog form { padding: 42px clamp(30px, 6vw, 72px) 48px; }
.real-estate-page .re-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 25px;
}
.real-estate-page .re-dialog label {
  display: grid;
  gap: 8px;
  color: #4b575d;
  font-size: .72rem;
  font-weight: 680;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.real-estate-page .re-dialog input,
.real-estate-page .re-dialog select,
.real-estate-page .re-dialog textarea {
  width: 100%;
  min-height: 49px;
  border: 1px solid #b9c3c7;
  border-radius: 8px;
  padding: 12px 13px;
  color: #11191e;
  background: #fff;
  font: 400 .95rem/1.45 inherit;
  letter-spacing: 0;
  text-transform: none;
}
.real-estate-page .re-dialog textarea { min-height: 96px; margin-top: 22px; resize: vertical; }
.real-estate-page .re-form__privacy {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px !important;
  margin-top: 22px;
  color: #5b666c !important;
  font-size: .78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.55;
  text-transform: none !important;
}
.real-estate-page .re-form__privacy input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: #ff6200; }
.real-estate-page .re-form__privacy a { color: #23343d; text-underline-offset: 3px; }
.real-estate-page .re-form__note { margin: 19px 0 0; color: #748087; font-size: .76rem; line-height: 1.6; }
.real-estate-page .re-form__actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.real-estate-page .re-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 13px 25px;
  color: #fff;
  background: #10191e;
  font: 680 .74rem/1.2 inherit;
  letter-spacing: .09em;
  cursor: pointer;
}
.real-estate-page .re-form__submit span { color: #ff6200; font-size: 1.25rem; }
.real-estate-page .re-form__submit:hover { background: #1c2a31; }
.real-estate-page .re-form__submit:disabled { cursor: wait; opacity: .62; }
.real-estate-page .re-form__cancel {
  min-height: 44px;
  border: 0;
  padding: 8px;
  color: #526069;
  background: transparent;
  font: 600 .77rem/1.2 inherit;
  cursor: pointer;
}
.real-estate-page .re-form__status { margin: 20px 0 0; color: #637078; font-size: .86rem; line-height: 1.6; }
.real-estate-page .re-form__status:empty { display: none; }
.real-estate-page .re-form__status.is-pending { color: #805d17; }
.real-estate-page .re-form__status.is-error { padding: 12px 14px; border-left: 3px solid #c54d2b; color: #812f1f; background: #fff0ea; }
.real-estate-page .re-form__status.is-success { padding: 21px 0 8px; color: #286145; font-size: 1rem; font-weight: 620; }
.real-estate-page .re-honeypot { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1120px) {
  .real-estate-page .desktop-nav { display: none; }
  .real-estate-page .menu-toggle { display: flex; }
  .real-estate-page .site-header { height: 72px; }
}

@media (max-width: 820px) {
  .real-estate-page .re-hero { min-height: 0; align-items: flex-start; }
  .real-estate-page .re-hero__media { top: 72px; bottom: auto; height: 285px; }
  .real-estate-page .re-hero__media img { object-position: 67% center; }
  .real-estate-page .re-hero__media::after { background: linear-gradient(0deg, #091015, transparent 72%); }
  .real-estate-page .re-hero__content { padding-block: 365px 72px; }
  .real-estate-page .re-hero h1 { max-width: 14ch; font-size: clamp(2.9rem, 9.8vw, 4.5rem); }
  .real-estate-page .re-image-note { top: 325px; inset-inline-end: 18px; bottom: auto; }
  .real-estate-page .re-value__grid { grid-template-columns: 1fr; gap: 35px; }
  .real-estate-page .re-categories { margin-top: 55px; gap: 18px 25px; }
  .real-estate-page .re-paths__grid { grid-template-columns: 1fr; }
  .real-estate-page .re-path { min-height: 0; padding: 72px 0; }
  .real-estate-page .re-path:nth-child(2) { border-top: 1px solid rgba(255,255,255,.18); }
  .real-estate-page .re-close { padding-block: 88px; }
}

@media (max-width: 520px) {
  .real-estate-page .site-header { height: 68px; }
  .real-estate-page .re-hero__media { top: 68px; height: 230px; }
  .real-estate-page .re-hero__content { padding-block: 318px 62px; }
  .real-estate-page .re-hero h1 { font-size: clamp(2.55rem, 10.4vw, 3.3rem); }
  .real-estate-page .re-hero__lead { margin-top: 25px; }
  .real-estate-page .re-image-note { top: 265px; font-size: .58rem; }
  .real-estate-page .re-value { padding-block: 82px; }
  .real-estate-page .re-value h2 { font-size: clamp(2.7rem, 10.5vw, 3.7rem); }
  .real-estate-page .re-categories { font-size: .69rem; }
  .real-estate-page .re-path h2 { font-size: clamp(2.55rem, 9.8vw, 3.3rem); }
  .real-estate-page .re-path { padding: 68px 0; }
  .real-estate-page .re-close h2 { font-size: clamp(2.8rem, 10.4vw, 3.6rem); }
  .real-estate-page .re-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .real-estate-page .re-dialog__shell { max-height: calc(100dvh - 20px); border-radius: 12px; }
  .real-estate-page .re-dialog__heading { padding: 48px 22px 32px; }
  .real-estate-page .re-dialog__heading h2 { padding-inline-end: 28px; font-size: clamp(2.2rem, 10vw, 2.85rem); }
  .real-estate-page .re-dialog__heading > p:last-child { font-size: .9rem; }
  .real-estate-page .re-dialog form { padding: 28px 22px 34px; }
  .real-estate-page .re-form__grid { grid-template-columns: 1fr; gap: 18px; }
  .real-estate-page .re-form__actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .real-estate-page .re-form__submit { width: 100%; }
  .real-estate-page .re-dialog__close { inset-block-start: 12px; inset-inline-end: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .real-estate-page .re-text-link,
  .real-estate-page .re-path__link { transition: none; }
}

/* Arabic uses the existing site's RTL type system and native reading order. */
html[dir="rtl"] .real-estate-page .re-hero__media::after {
  background: linear-gradient(270deg, rgba(5, 10, 14, .92) 0%, rgba(5, 10, 14, .78) 34%, rgba(5, 10, 14, .25) 78%), linear-gradient(0deg, rgba(5, 10, 14, .58), transparent 40%);
}

html[dir="rtl"] .real-estate-page .re-hero h1,
html[dir="rtl"] .real-estate-page .re-value h2,
html[dir="rtl"] .real-estate-page .re-path h2,
html[dir="rtl"] .real-estate-page .re-close h2 {
  letter-spacing: 0;
  line-height: 1.22;
}

html[dir="rtl"] .real-estate-page .re-path__link,
html[dir="rtl"] .real-estate-page .re-categories,
html[dir="rtl"] .real-estate-page .re-image-note { letter-spacing: 0; }

html[dir="rtl"] .real-estate-page .re-dialog__heading h2 { letter-spacing: 0; line-height: 1.2; }
html[dir="rtl"] .real-estate-page .re-dialog label,
html[dir="rtl"] .real-estate-page .re-form__submit { letter-spacing: 0; }

@media (max-width: 820px) {
  html[dir="rtl"] .real-estate-page .re-hero__media::after {
    background: linear-gradient(0deg, #091015, transparent 72%);
  }
}
