/*
Theme Name: Raha Home
Description: Custom theme for Raha Home
*/

@font-face {
  font-family: "Beiruti";
  src: url("../fonts/Beiruti-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/Literata72pt-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/Literata72pt-RegularItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/Literata72pt-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/Literata72pt-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/Literata72pt-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --rh-gold: #c4964a;
  --rh-gold-dark: #a07838;
  --rh-gold-light: #f5e9d5;
  --rh-gold-pale: #fbf4ea;
  --rh-near-black: #1a1a1a;
  --rh-dark-gray: #3d3d3d;
  --rh-mid-gray: #6b6b6b;
  --rh-light-gray: #a8a8a8;
  --rh-white: #ffffff;
  --rh-surface: #faf8f5;
  --rh-surface-2: #f2ede6;
  --rh-border: #e5e0d8;
  --rh-font-display: "Literata", Georgia, "Times New Roman", serif;
  --rh-font-base: "Beiruti", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rh-radius-md: 8px;
  --rh-radius-lg: 16px;
  --rh-radius-xl: 20px;
  --rh-radius-pill: 100px;
  --rh-shadow-card: rgba(0, 0, 0, 0.02) 0 0 0 1px,
    rgba(0, 0, 0, 0.04) 0 2px 6px,
    rgba(0, 0, 0, 0.08) 0 4px 12px;
  --rh-shadow-hover: rgba(0, 0, 0, 0.06) 0 0 0 1px,
    rgba(0, 0, 0, 0.08) 0 6px 20px;
  --rh-transition: 200ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--rh-font-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--rh-near-black);
  background: var(--rh-white);
}

body[dir="rtl"],
[dir="rtl"] {
  font-family: var(--rh-font-base);
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--rh-transition), border-color var(--rh-transition),
    background var(--rh-transition), transform var(--rh-transition),
    box-shadow var(--rh-transition);
}

a:hover {
  color: var(--rh-gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--rh-font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--rh-near-black);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(56px, 8vw, 104px);
}

h2 {
  font-size: clamp(34px, 4.2vw, 48px);
}

h3 {
  font-size: 28px;
}

p {
  margin: 0;
  color: var(--rh-mid-gray);
  line-height: 1.7;
}

.rh-main {
  display: block;
}

.rh-header-hero-wrapper {
  position: relative;
  min-height: min(88vh, 860px);
  background:
    linear-gradient(to top, rgba(12, 8, 2, 0.88), rgba(12, 8, 2, 0.2) 58%, rgba(12, 8, 2, 0.55)),
    linear-gradient(135deg, rgba(46, 30, 10, 0.82), rgba(122, 80, 32, 0.38)),
    var(--rh-hero-bg, linear-gradient(135deg, #2e1e0a, #7a5020 52%, #d4a860)) center / cover no-repeat;
  overflow: hidden;
}

.rh-header-hero-wrapper--compact {
  min-height: auto;
  background: var(--rh-white);
  overflow: visible;
}

.rh-header-hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 18%, rgba(196, 150, 74, 0.24), transparent 44%);
  pointer-events: none;
}

.rh-header-hero-wrapper--compact::after {
  content: none;
}

.rh-header,
.rh-hero {
  position: relative;
  z-index: 1;
}

.rh-header {
  width: 100%;
  padding: 18px 0;
}

.rh-header-hero-wrapper--compact .rh-header {
  border-bottom: 1px solid var(--rh-border);
  background: var(--rh-white);
}

.rh-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
}

.rh-header__inner {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.rh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rh-white);
}

.rh-header.is-scrolled .rh-brand,
.rh-header.is-scrolled .rh-nav a,
.rh-header-hero-wrapper--compact .rh-brand,
.rh-header-hero-wrapper--compact .rh-nav a {
  color: var(--rh-near-black);
}

.rh-brand__logo {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.rh-brand__text {
  display: grid;
  gap: 1px;
  font-family: var(--rh-font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.rh-brand__text strong {
  color: var(--rh-gold);
  font-weight: 500;
}

.rh-brand__text small {
  font-family: var(--rh-font-base);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}

.rh-header.is-scrolled .rh-brand__text small {
  color: var(--rh-light-gray);
}

.rh-header-hero-wrapper--compact .rh-brand__text small {
  color: var(--rh-light-gray);
}

.rh-nav {
  margin-left: auto;
}

.rh-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rh-nav a {
  display: inline-block;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

.rh-nav a:hover,
.rh-nav .current-menu-item > a {
  border-color: var(--rh-gold);
  color: var(--rh-gold);
}

.rh-language-switcher ul {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rh-language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--rh-radius-pill);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rh-language-switcher a:hover,
.rh-language-switcher a.is-active {
  border-color: var(--rh-gold);
  background: var(--rh-gold);
  color: var(--rh-white);
}

.rh-header.is-scrolled .rh-language-switcher a {
  border-color: var(--rh-border);
  color: var(--rh-near-black);
}

.rh-header-hero-wrapper--compact .rh-language-switcher a {
  border-color: var(--rh-border);
  color: var(--rh-near-black);
}

.rh-header.is-scrolled .rh-language-switcher a:hover,
.rh-header.is-scrolled .rh-language-switcher a.is-active {
  border-color: var(--rh-gold);
  color: var(--rh-white);
}

.rh-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--rh-radius-md);
  background: var(--rh-near-black);
  color: var(--rh-white);
  font-size: 14px;
  font-weight: 700;
}

.rh-header__cta:hover {
  background: var(--rh-gold);
  color: var(--rh-white);
}

.rh-hero {
  min-height: calc(min(88vh, 860px) - 96px);
  display: flex;
  align-items: flex-end;
  padding: 72px 0 78px;
}

.rh-hero-frame {
  position: relative;
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

.rh-hero-panel {
  max-width: 680px;
  animation: rh-fade-up 900ms ease-out both;
}

.rh-hero-eyebrow,
.rh-kicker {
  margin: 0 0 14px;
  color: var(--rh-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rh-hero-panel h1 {
  margin-bottom: 22px;
  color: var(--rh-white);
  line-height: 1.02;
}

.rh-hero-panel p:not(.rh-hero-eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

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

.rh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--rh-radius-pill);
  font-size: 15px;
  font-weight: 700;
}

.rh-btn--light {
  background: var(--rh-white);
  color: var(--rh-near-black);
}

.rh-btn--ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--rh-white);
}

.rh-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--rh-shadow-hover);
}

.rh-hero-scroll {
  position: absolute;
  left: 0;
  bottom: -54px;
  display: grid;
  justify-items: center;
  gap: 7px;
  opacity: 0.52;
}

.rh-hero-scroll span {
  width: 1px;
  height: 36px;
  background: var(--rh-white);
}

.rh-hero-scroll small {
  color: var(--rh-white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes rh-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rh-section {
  padding: 80px 0;
}

.rh-section__inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.rh-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.rh-section__heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1.5px solid var(--rh-border);
  border-radius: var(--rh-radius-pill);
  color: var(--rh-near-black);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.rh-section__heading > a:hover {
  border-color: var(--rh-gold);
  color: var(--rh-gold);
}

.rh-neighborhoods {
  background: var(--rh-white);
  padding-bottom: 56px;
}

.rh-neighborhoods__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.rh-neighborhoods__item {
  position: relative;
  display: flex;
  min-height: 236px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background:
    var(--rh-card-image, linear-gradient(160deg, #c8b090, #a07840 60%, #6b4e20))
    center / cover no-repeat;
  box-shadow: rgba(0, 0, 0, 0.04) 0 2px 8px;
}

.rh-neighborhoods__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.67), transparent 58%);
}

.rh-neighborhoods__item:hover {
  border-color: var(--rh-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(196, 150, 74, 0.22);
}

.rh-neighborhoods__item span {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  display: grid;
  gap: 4px;
  padding: 14px 12px;
}

.rh-neighborhoods__item strong {
  color: var(--rh-white);
  font-family: var(--rh-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.rh-neighborhoods__item small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.rh-neighborhoods__item--2 { background: var(--rh-card-image, linear-gradient(160deg, #90a8b8, #5a7a90 60%, #2a4a60)) center / cover no-repeat; }
.rh-neighborhoods__item--3 { background: var(--rh-card-image, linear-gradient(160deg, #b8c4a0, #7a9060 60%, #3a5030)) center / cover no-repeat; }
.rh-neighborhoods__item--4 { background: var(--rh-card-image, linear-gradient(160deg, #d0c0a8, #a08060 60%, #604830)) center / cover no-repeat; }
.rh-neighborhoods__item--5 { background: var(--rh-card-image, linear-gradient(160deg, #c0b0d0, #806090 60%, #403050)) center / cover no-repeat; }
.rh-neighborhoods__item--6 { background: var(--rh-card-image, linear-gradient(160deg, #a0c0a8, #508060 60%, #204030)) center / cover no-repeat; }

.rh-featured {
  padding-top: 24px;
  background: var(--rh-white);
}

.rh-archive,
.rh-contact {
  background: var(--rh-surface);
}

.rh-archive h1,
.rh-contact h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 72px);
}

.rh-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  margin: 0 0 32px;
  border: 1px solid var(--rh-border);
  border-radius: 12px;
  background: var(--rh-white);
  box-shadow: rgba(0, 0, 0, 0.04) 0 2px 8px;
}

.rh-filter__field {
  flex: 1 1 170px;
}

.rh-filter select,
.rh-filter input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1.5px solid var(--rh-border);
  border-radius: var(--rh-radius-md);
  background: var(--rh-white);
  color: var(--rh-near-black);
  font: 600 14px / 1 var(--rh-font-base);
}

.rh-filter select:focus,
.rh-filter input:focus {
  border-color: var(--rh-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 150, 74, 0.24);
}

.rh-filter__submit {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--rh-radius-md);
  background: var(--rh-near-black);
  color: var(--rh-white);
  font: 800 14px / 1 var(--rh-font-base);
  cursor: pointer;
  transition: background var(--rh-transition);
}

.rh-filter__submit:hover {
  background: var(--rh-gold-dark);
}

.rh-properties__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rh-property-card {
  overflow: hidden;
  border-radius: var(--rh-radius-lg);
  background: var(--rh-white);
  box-shadow: var(--rh-shadow-card);
  transition: transform var(--rh-transition), box-shadow var(--rh-transition);
}

.rh-property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rh-shadow-hover);
}

.rh-property-card__link {
  display: block;
  color: inherit;
}

.rh-property-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #e8d5b8, #d4a96a 50%, #a07838);
}

.rh-property-card__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent);
}

.rh-property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-out;
}

.rh-property-card:hover .rh-property-card__image img {
  transform: scale(1.04);
}

.rh-property-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #e8d5b8, #d4a96a 50%, #a07838);
}

.rh-property-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 4px 11px;
  border-radius: var(--rh-radius-pill);
  background: rgba(0, 0, 0, 0.55);
  color: var(--rh-white);
  font-size: 11px;
  font-weight: 700;
}

.rh-property-card__body {
  padding: 16px 18px 18px;
}

.rh-property-card__area {
  margin: 0 0 5px;
  color: var(--rh-light-gray);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rh-property-card__title {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 500;
}

.rh-property-card__address {
  min-height: 1.7em;
  margin-bottom: 12px;
  font-size: 13px;
}

.rh-property-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  color: var(--rh-mid-gray);
  font-size: 13px;
}

.rh-property-card__facts li:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: var(--rh-light-gray);
}

.rh-property-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rh-border);
}

.rh-property-card__footer span {
  color: var(--rh-near-black);
  font-size: 20px;
  font-weight: 800;
}

.rh-property-card__footer small {
  color: var(--rh-light-gray);
  font-size: 13px;
  font-weight: 500;
}

.rh-property-card__footer strong {
  color: var(--rh-gold);
  font-size: 13px;
  font-weight: 800;
}

.rh-story {
  background: var(--rh-surface);
}

.rh-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 80px;
  align-items: center;
}

.rh-story h2 {
  margin-bottom: 24px;
}

.rh-story h2 em {
  color: var(--rh-gold);
}

.rh-story p {
  max-width: 560px;
  margin-bottom: 16px;
}

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

.rh-feature-list li {
  position: relative;
  min-height: 24px;
  padding-left: 34px;
  color: var(--rh-dark-gray);
  font-size: 14px;
  font-weight: 700;
}

.rh-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rh-gold-light);
}

.rh-feature-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--rh-gold);
  border-bottom: 2px solid var(--rh-gold);
  transform: rotate(-45deg);
}

.rh-story__media {
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--rh-radius-xl);
  background: linear-gradient(160deg, #e8d5b8, #c4a068 50%, #8a6020);
}

.rh-story__media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.rh-footer {
  background: #111111;
  color: var(--rh-white);
  padding: 52px 0 32px;
}

.rh-footer__inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.rh-footer h2 {
  margin-bottom: 8px;
  color: var(--rh-gold);
  font-size: 30px;
}

.rh-footer__arabic {
  margin-bottom: 16px;
  color: var(--rh-light-gray);
  font-size: 18px;
}

.rh-footer p {
  max-width: 300px;
  color: #777777;
  font-size: 14px;
}

.rh-footer h3 {
  margin: 0 0 16px;
  color: var(--rh-light-gray);
  font-family: var(--rh-font-base);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rh-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.rh-footer a {
  color: #777777;
  font-size: 14px;
}

.rh-footer a:hover {
  color: var(--rh-gold);
}

.rh-footer__bottom {
  grid-column: 1 / -1;
  max-width: none !important;
  padding-top: 20px;
  border-top: 1px solid #222222;
  color: #555555 !important;
  font-size: 13px !important;
}

.rh-home-cta {
  background: var(--rh-gold-pale);
}

.rh-home-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.rh-home-cta .rh-cta-card {
  box-shadow: var(--rh-shadow-card);
}

.rh-home-cta__media {
  overflow: hidden;
  min-height: 380px;
  margin: 0;
  border-radius: var(--rh-radius-xl);
  background: linear-gradient(160deg, #e8d5b8, #d4a96a 50%, #a07838);
  box-shadow: var(--rh-shadow-card);
}

.rh-home-cta__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .rh-neighborhoods__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-properties__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .rh-header__inner {
    width: min(100% - 32px, 1320px);
    align-items: flex-start;
    gap: 16px;
  }

  .rh-brand__logo {
    height: 48px;
  }

  .rh-brand__text {
    font-size: 20px;
  }

  .rh-nav {
    display: none;
  }

  .rh-language-switcher {
    margin-left: auto;
  }

  .rh-header__cta {
    min-height: 38px;
    padding: 0 16px;
  }

  .rh-hero {
    min-height: calc(min(88vh, 860px) - 84px);
    padding: 48px 0 64px;
  }

  .rh-hero-frame,
  .rh-section__inner,
  .rh-footer__inner {
    width: min(100% - 32px, 1180px);
  }

  .rh-hero-panel p:not(.rh-hero-eyebrow) {
    font-size: 16px;
  }

  .rh-hero-scroll {
    display: none;
  }

  .rh-section {
    padding: 64px 0;
  }

  .rh-section__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .rh-neighborhoods__list,
  .rh-properties__grid,
  .rh-story__grid,
  .rh-home-cta__grid,
  .rh-footer__inner {
    grid-template-columns: 1fr;
  }

  .rh-neighborhoods__item {
    min-height: 260px;
  }

  .rh-story__grid {
    gap: 40px;
  }

  .rh-story__media,
  .rh-story__media img {
    min-height: 340px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(48px, 16vw, 64px);
  }

  h2 {
    font-size: 34px;
  }

  .rh-brand__text small {
    display: none;
  }

  .rh-header__cta {
    display: none;
  }

  .rh-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rh-btn {
    width: 100%;
  }

  .rh-feature-list {
    grid-template-columns: 1fr;
  }
}

.rh-section__intro {
  max-width: 620px;
  margin-top: 12px;
}

.rh-btn--dark {
  background: var(--rh-near-black);
  color: var(--rh-white);
}

.rh-btn--dark:hover {
  background: var(--rh-gold-dark);
  color: var(--rh-white);
}

.rh-btn--outline {
  border-color: var(--rh-border);
  background: var(--rh-white);
  color: var(--rh-near-black);
}

.rh-btn--outline:hover {
  border-color: var(--rh-gold);
  color: var(--rh-gold);
}

.rh-hero-filter {
  max-width: 980px;
  margin-top: 36px;
}

.rh-hero-secondary-image {
  width: min(280px, 100%);
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: var(--rh-radius-xl);
  box-shadow: var(--rh-shadow-hover);
}

.rh-hero-secondary-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rh-filter label {
  display: block;
  margin-bottom: 7px;
  color: var(--rh-near-black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.rh-filter--hero {
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: rgba(0, 0, 0, 0.04) 0 0 0 1px,
    rgba(0, 0, 0, 0.12) 0 8px 32px,
    rgba(0, 0, 0, 0.16) 0 16px 56px;
  backdrop-filter: blur(14px);
}

.rh-filter--hero .rh-filter__submit {
  align-self: flex-end;
  min-height: 50px;
  padding: 0 26px;
  background: var(--rh-gold);
}

.rh-filter--hero .rh-filter__submit:hover {
  background: var(--rh-gold-dark);
}

.rh-page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background:
    linear-gradient(to top, rgba(12, 8, 2, 0.82), rgba(12, 8, 2, 0.32)),
    linear-gradient(135deg, #2e1e0a, #7a5020 52%, #d4a860);
}

.rh-page-hero[style] {
  background:
    linear-gradient(to top, rgba(12, 8, 2, 0.82), rgba(12, 8, 2, 0.32)),
    var(--rh-page-hero-bg) center / cover no-repeat;
}

.rh-page-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--rh-white);
  font-size: clamp(48px, 7vw, 86px);
}

.rh-page-hero p:not(.rh-kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.rh-archive {
  padding-top: 48px;
}

.rh-page-content {
  background: var(--rh-surface);
}

.rh-page-content__body > * + * {
  margin-top: 16px;
}

.rh-page-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.rh-page-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--rh-radius-lg);
  background: linear-gradient(160deg, #e8d5b8, #d4a96a 50%, #a07838);
  box-shadow: var(--rh-shadow-card);
}

.rh-page-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rh-empty-state {
  grid-column: 1 / -1;
  padding: 48px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
  background: var(--rh-white);
  box-shadow: var(--rh-shadow-card);
  text-align: center;
}

.rh-empty-state h2 {
  margin-bottom: 14px;
}

.rh-empty-state p:not(.rh-kicker) {
  max-width: 440px;
  margin: 0 auto 24px;
}

.rh-pagination {
  margin-top: 42px;
}

.rh-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.rh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-pill);
  background: var(--rh-white);
  color: var(--rh-near-black);
  font-weight: 700;
}

.rh-pagination .page-numbers.current,
.rh-pagination .page-numbers:hover {
  border-color: var(--rh-gold);
  background: var(--rh-gold);
  color: var(--rh-white);
}

.rh-icon-grid,
.rh-stats-grid,
.rh-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rh-icon-grid article,
.rh-stat-card,
.rh-contact-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
  background: var(--rh-white);
  box-shadow: var(--rh-shadow-card);
}

.rh-icon-grid img,
.rh-card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  object-fit: contain;
}

.rh-icon-grid h3,
.rh-contact-card a,
.rh-contact-card > p:not(.rh-kicker) {
  color: var(--rh-near-black);
  font-weight: 700;
}

.rh-icon-grid p {
  margin-top: 10px;
}

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

.rh-stat-card {
  text-align: center;
}

.rh-stat-card strong {
  display: block;
  color: var(--rh-gold);
  font-family: var(--rh-font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
}

.rh-stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--rh-mid-gray);
  font-weight: 700;
}

.rh-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-social-links,
.rh-portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.rh-portfolio-filter {
  margin-top: 0;
  margin-bottom: 28px;
}

.rh-map-embed,
.rh-video-embed {
  overflow: hidden;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
  background: var(--rh-surface-2);
  box-shadow: var(--rh-shadow-card);
}

.rh-map-embed iframe,
.rh-video-embed iframe,
.rh-video-embed video {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.rh-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.rh-before-after img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--rh-radius-lg);
  object-fit: cover;
}

.rh-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.rh-project-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--rh-radius-md);
  object-fit: cover;
}

.rh-project-card blockquote {
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rh-border);
  color: var(--rh-dark-gray);
  font-family: var(--rh-font-display);
  font-size: 20px;
  line-height: 1.5;
}

.rh-property-hero {
  padding: 84px 0 46px;
  background: var(--rh-surface);
}

.rh-property-hero .rh-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.rh-property-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 82px);
}

.rh-property-hero__copy > p:not(.rh-kicker) {
  max-width: 620px;
  font-size: 18px;
}

.rh-property-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.rh-property-facts--hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-property-facts div {
  padding: 18px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-lg);
  background: var(--rh-white);
  box-shadow: var(--rh-shadow-card);
}

.rh-property-facts dt {
  margin-bottom: 6px;
  color: var(--rh-light-gray);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rh-property-facts dd {
  margin: 0;
  color: var(--rh-near-black);
  font-size: 24px;
  font-weight: 800;
}

.rh-property-facts small {
  color: var(--rh-light-gray);
  font-size: 13px;
  font-weight: 500;
}

.rh-property-gallery {
  padding-top: 32px;
  background: var(--rh-surface);
}

.rh-property-gallery__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 12px;
}

.rh-property-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--rh-radius-lg);
  background: linear-gradient(160deg, #e8d5b8, #d4a96a 50%, #a07838);
}

.rh-property-gallery figure.is-featured {
  grid-row: span 2;
}

.rh-property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-property-gallery__placeholder {
  min-height: 452px;
}

.rh-property-body {
  padding-top: 48px;
  background: var(--rh-white);
}

.rh-property-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.rh-property-body__main {
  display: grid;
  gap: 24px;
}

.rh-property-panel {
  padding: 34px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
  background: var(--rh-white);
  box-shadow: var(--rh-shadow-card);
}

.rh-property-panel .rh-section__heading {
  margin-bottom: 22px;
}

.rh-property-lede {
  margin-bottom: 18px;
  color: var(--rh-dark-gray);
  font-size: 19px;
}

.rh-property-content > * + * {
  margin-top: 16px;
}

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

.rh-amenities-list li {
  position: relative;
  min-height: 24px;
  padding-left: 34px;
  color: var(--rh-dark-gray);
  font-weight: 700;
}

.rh-amenities-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rh-gold-light);
}

.rh-amenities-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--rh-gold);
  border-bottom: 2px solid var(--rh-gold);
  transform: rotate(-45deg);
}

.rh-property-sidebar {
  position: sticky;
  top: 96px;
}

.rh-cta-card {
  padding: 28px;
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
  background: var(--rh-white);
  box-shadow: var(--rh-shadow-hover);
}

.rh-cta-card h2 {
  margin-bottom: 14px;
  font-size: 30px;
}

.rh-cta-card p:not(.rh-kicker) {
  margin-bottom: 24px;
}

.rh-cta-card__actions {
  display: grid;
  gap: 10px;
}

.rh-cta-card__actions .rh-btn {
  width: 100%;
}

.rh-property-map #rh-property-map {
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--rh-radius-lg);
}

[dir="rtl"] .rh-feature-list li,
[dir="rtl"] .rh-amenities-list li {
  padding-right: 34px;
  padding-left: 0;
}

[dir="rtl"] .rh-feature-list li::before,
[dir="rtl"] .rh-amenities-list li::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .rh-feature-list li::after,
[dir="rtl"] .rh-amenities-list li::after {
  right: 7px;
  left: auto;
}

@media (max-width: 1100px) {
  .rh-property-hero .rh-section__inner,
  .rh-property-body__grid,
  .rh-contact-grid {
    grid-template-columns: 1fr;
  }

  .rh-property-sidebar {
    position: static;
  }

  .rh-property-gallery__grid,
  .rh-icon-grid,
  .rh-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .rh-header-hero-wrapper {
    min-height: auto;
  }

  .rh-hero-filter {
    margin-top: 28px;
  }

  .rh-filter,
  .rh-filter--hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .rh-filter__submit,
  .rh-filter--hero .rh-filter__submit {
    width: 100%;
    align-self: auto;
  }

  .rh-page-hero,
  .rh-property-hero {
    padding: 64px 0 48px;
  }

  .rh-property-gallery__grid {
    grid-auto-rows: 180px;
  }

  .rh-property-facts--hero,
  .rh-amenities-list,
  .rh-page-gallery,
  .rh-icon-grid,
  .rh-stats-grid,
  .rh-before-after,
  .rh-project-gallery {
    grid-template-columns: 1fr;
  }

  .rh-property-panel,
  .rh-cta-card,
  .rh-empty-state {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .rh-property-gallery__grid {
    display: block;
  }

  .rh-property-gallery figure {
    aspect-ratio: 4 / 3;
    margin-bottom: 10px;
  }

  .rh-property-gallery figure:not(.is-featured):nth-of-type(n + 4) {
    display: none;
  }
}
