:root {
  --ih-re-primary: #5b2df5;
  --ih-re-primary-2: #8a1dff;
  --ih-re-blue: #1f7cff;
  --ih-re-cyan: #16c9db;
  --ih-re-pink: #f038d6;
  --ih-re-orange: #ff9b22;
  --ih-re-green: #21c86a;
  --ih-re-dark: #070b2d;
  --ih-re-text: #273056;
  --ih-re-muted: #65708f;
  --ih-re-line: rgba(95, 84, 180, 0.16);
  --ih-re-card: #ffffff;
  --ih-re-bg: #f7f8ff;
  --ih-re-shadow: 0 18px 45px rgba(32, 35, 95, 0.12);
  --ih-re-shadow-soft: 0 12px 30px rgba(35, 26, 100, 0.10);
  --ih-re-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--ih-re-font);
  color: var(--ih-re-dark);
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }

.ih-re-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.ih-re-wrap {
  width: min(100% - 48px, 1460px);
  margin-inline: auto;
}

/* HERO */
.ih-re-hero {
  position: relative;
  min-height: 520px;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8ff 48%, #eef3ff 100%);
}

.ih-re-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-real-estate.webp");
  background-size: cover;
  background-position: center right;
  z-index: -3;
  transform: scale(1.005);
}

.ih-re-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 42% 70%, rgba(255,255,255,0.92) 0 11%, transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 26%, rgba(255,255,255,0.76) 43%, rgba(255,255,255,0.08) 69%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.2) 100%);
}

.ih-re-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 58px 0 84px;
}

.ih-re-hero__copy {
  width: min(620px, 48vw);
  position: relative;
  z-index: 3;
}

.ih-re-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border-radius: 13px;
  background: linear-gradient(135deg, #742bff 0%, #1f7cff 100%);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(91, 45, 245, 0.34);
}

.ih-re-badge__icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.ih-re-badge__icon img,
.ih-re-stat__icon img,
.ih-re-field__icon img,
.ih-re-search__btn img,
.ih-re-view-all img,
.ih-re-card__body img,
.ih-re-card__go img,
.ih-re-benefit img,
.ih-re-search__title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ih-re-badge__icon img { filter: brightness(0) invert(1); }

.ih-re-hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 1000;
  color: var(--ih-re-dark);
}

.ih-re-hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--ih-re-primary);
  font-style: italic;
  letter-spacing: -0.075em;
  text-shadow: 0 12px 26px rgba(91,45,245,0.10);
}

.ih-re-hero h1 span::after {
  content: "";
  position: absolute;
  left: 48%;
  bottom: -10px;
  width: 210px;
  height: 18px;
  transform: translateX(-50%) rotate(-3deg);
  border-bottom: 6px solid #6d39ff;
  border-radius: 60% 40% 55% 45%;
  opacity: 0.9;
}

.ih-re-hero__copy > p {
  margin: 0;
  max-width: 520px;
  color: #273056;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
  font-weight: 500;
}

.ih-re-stats {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ih-re-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 132px;
  position: relative;
}

.ih-re-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: rgba(73, 71, 126, 0.18);
}

.ih-re-stat__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--ih-re-primary-2), var(--ih-re-blue));
  box-shadow: 0 13px 25px rgba(91, 45, 245, 0.30);
  flex: 0 0 auto;
}

.ih-re-stat__icon img { filter: brightness(0) invert(1); }

.ih-re-stat strong {
  display: block;
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1;
  color: #0b1038;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.ih-re-stat small {
  display: block;
  margin-top: 3px;
  color: #202847;
  font-size: 13px;
  font-weight: 800;
}

.ih-re-search {
  position: absolute;
  right: 0;
  bottom: 16px;
  width: min(760px, 54vw);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.4);
  background: linear-gradient(135deg, rgba(11, 11, 18, .84), rgba(11, 11, 18, .62));
  box-shadow: 0 22px 80px rgba(15, 13, 44, 0.34), inset 0 0 0 1px rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
}

.ih-re-search::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(141,38,255,0.55), rgba(28,189,255,0.25));
  z-index: -1;
  pointer-events: none;
}

.ih-re-search__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -0.035em;
}

.ih-re-search__title img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 8px 13px rgba(137, 43, 255, .55));
}

.ih-re-search__row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(170px, 1fr) minmax(170px, .8fr);
  gap: 12px;
}

.ih-re-field {
  position: relative;
  min-width: 0;
}

.ih-re-field__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: #b770ff;
  pointer-events: none;
}

.ih-re-field__icon img { filter: invert(28%) sepia(96%) saturate(3663%) hue-rotate(257deg) brightness(105%) contrast(105%); }

.ih-re-field select {
  width: 100%;
  min-height: 58px;
  padding: 0 46px 0 50px;
  border: 1px solid rgba(185, 190, 255, 0.26);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(52, 56, 89, .95), rgba(32, 35, 63, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 12px 24px rgba(0,0,0,.18);
  appearance: none;
  outline: none;
  font-weight: 800;
  cursor: pointer;
}

.ih-re-field::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  opacity: 0.9;
}

.ih-re-field select option {
  color: #11142e;
  background: #fff;
}

.ih-re-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  padding: 0 28px;
  color: #fff;
  font-weight: 1000;
  font-size: 18px;
  background: linear-gradient(135deg, #2d7dff 0%, #8137ff 48%, #b20bf1 100%);
  box-shadow: 0 14px 26px rgba(91, 45, 245, .38);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.ih-re-search__btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.ih-re-search__btn:hover,
.ih-re-view-all:hover,
.ih-re-card:hover {
  transform: translateY(-3px);
}

.ih-re-search__btn:hover { box-shadow: 0 20px 34px rgba(91,45,245,.46); filter: saturate(1.08); }

/* CATEGORIES */
.ih-re-categories {
  position: relative;
  padding: 36px 0 40px;
  background:
    radial-gradient(circle at 4% 14%, rgba(110, 59, 255, 0.13) 0 1px, transparent 2px) 0 0 / 12px 12px,
    radial-gradient(circle at 96% 31%, rgba(110, 59, 255, 0.12) 0 1px, transparent 2px) 0 0 / 11px 11px,
    linear-gradient(180deg, #f9faff 0%, #ffffff 54%, #f7f9ff 100%);
}

.ih-re-categories::before,
.ih-re-categories::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.ih-re-categories::before {
  inset: auto 0 0 0;
  height: 190px;
  background:
    linear-gradient(10deg, transparent 45%, rgba(92, 68, 255, 0.12) 45.5%, transparent 46%),
    linear-gradient(16deg, transparent 53%, rgba(32, 124, 255, 0.10) 53.5%, transparent 54%),
    linear-gradient(-15deg, transparent 63%, rgba(214, 44, 244, 0.10) 63.5%, transparent 64%);
  opacity: .9;
}

.ih-re-categories::after {
  width: 620px;
  height: 620px;
  right: -260px;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 184, 255, .15), transparent 68%);
}

.ih-re-categories > .ih-re-wrap {
  position: relative;
  z-index: 1;
}

.ih-re-section-head {
  position: relative;
  text-align: center;
  margin-bottom: 18px;
}

.ih-re-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ih-re-primary);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .28em;
  font-weight: 1000;
}

.ih-re-kicker span {
  width: 32px;
  height: 2px;
  border-radius: 20px;
  background: currentColor;
  opacity: .8;
}

.ih-re-headline-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.ih-re-section-head h2 {
  margin: 4px 0 4px;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1;
  font-weight: 1000;
  color: #071036;
  letter-spacing: -0.055em;
}

.ih-re-section-head h2 span {
  position: relative;
  display: inline-block;
}

.ih-re-section-head h2 span::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -4px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #6d39ff, transparent);
}

.ih-re-section-head p {
  margin: 0 auto;
  color: #424b73;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.ih-re-view-all {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 18px;
  background: #fff;
  color: var(--ih-re-primary);
  font-size: 14px;
  font-weight: 1000;
  box-shadow: 0 12px 30px rgba(41, 34, 98, .11);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.ih-re-view-all:hover { transform: translateY(calc(-50% - 3px)); box-shadow: 0 18px 34px rgba(41, 34, 98, .16); }
.ih-re-view-all img { width: 20px; height: 20px; filter: invert(25%) sepia(98%) saturate(3431%) hue-rotate(251deg) brightness(99%) contrast(96%); }

.ih-re-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.ih-re-card {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: 118px 1fr 30px;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border: 1px solid rgba(91, 45, 245, 0.09);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--ih-re-shadow-soft);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ih-re-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-a), var(--card-b));
}

.ih-re-card::after {
  content: "";
  position: absolute;
  width: 114px;
  height: 114px;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(91,45,245,.15), rgba(91,45,245,.06) 55%, transparent 72%);
  z-index: 0;
}

.ih-re-card:hover {
  box-shadow: 0 20px 40px rgba(38, 30, 106, .16);
  border-color: rgba(91,45,245,.22);
}

.ih-re-card--red { --card-a: #ff3658; --card-b: #ff61de; }
.ih-re-card--blue { --card-a: #149cff; --card-b: #5b2df5; }
.ih-re-card--purple { --card-a: #d734f6; --card-b: #6b31ff; }
.ih-re-card--violet { --card-a: #5b2df5; --card-b: #b20bf1; }
.ih-re-card--pink { --card-a: #ff43d9; --card-b: #6d39ff; }
.ih-re-card--green { --card-a: #24c96f; --card-b: #ff4edf; }
.ih-re-card--orange { --card-a: #ffb11f; --card-b: #ff476d; }
.ih-re-card--cyan { --card-a: #1cc9dc; --card-b: #22a7ff; }

.ih-re-card__dots {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 22px;
  height: 30px;
  opacity: .22;
  background-image: radial-gradient(circle, #6d39ff 1.5px, transparent 2px);
  background-size: 8px 8px;
}

.ih-re-card__media {
  position: relative;
  z-index: 1;
  width: 106px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-2px);
}

.ih-re-card__media img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(22, 20, 60, 0.13));
}

.ih-re-card__body {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.ih-re-card__body strong {
  color: #070b2d;
  font-size: 18px;
  line-height: 1.09;
  letter-spacing: -0.035em;
  font-weight: 1000;
}

.ih-re-card--wide-title .ih-re-card__body strong { font-size: 16px; }
.ih-re-card__body em { font-style: normal; font-size: 14px; font-weight: 800; }

.ih-re-card__body small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ih-re-primary);
  font-size: 13px;
  line-height: 1;
  font-weight: 1000;
}

.ih-re-card__body small img {
  width: 15px;
  height: 15px;
  filter: invert(25%) sepia(98%) saturate(3431%) hue-rotate(251deg) brightness(99%) contrast(96%);
}

.ih-re-card__go {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ih-re-primary);
  border: 1px solid rgba(91, 45, 245, 0.45);
  background: #fff;
  box-shadow: 0 8px 16px rgba(91,45,245,.12);
}

.ih-re-card__go img {
  width: 16px;
  height: 16px;
  filter: invert(25%) sepia(98%) saturate(3431%) hue-rotate(251deg) brightness(99%) contrast(96%);
}

.ih-re-benefits {
  width: min(100% - 210px, 1200px);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 0;
  border: 1px solid rgba(91,45,245,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 40px rgba(30, 31, 82, .11);
  overflow: hidden;
}

.ih-re-benefit {
  min-height: 70px;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 18px;
  position: relative;
}

.ih-re-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: rgba(74, 75, 117, .16);
}

.ih-re-benefit span {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 11px;
  color: #fff;
}

.ih-re-benefit--green span { background: rgba(33,200,106,.14); color: #13b85a; }
.ih-re-benefit--blue span { background: rgba(31,124,255,.14); color: #1f7cff; }
.ih-re-benefit--orange span { background: rgba(255,139,37,.16); color: #ff812a; }
.ih-re-benefit--purple span { background: rgba(91,45,245,.13); color: #7435ff; }
.ih-re-benefit--teal span { background: rgba(25,201,213,.16); color: #06b5bd; }

.ih-re-benefit strong {
  align-self: end;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 1000;
  color: #071036;
}

.ih-re-benefit small {
  align-self: start;
  margin-top: 3px;
  color: #3b466c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
  .ih-re-wrap { width: min(100% - 36px, 1160px); }
  .ih-re-hero__copy { width: min(540px, 52vw); }
  .ih-re-search { width: min(680px, 52vw); }
  .ih-re-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ih-re-view-all { position: static; transform: none; margin-left: auto; }
  .ih-re-view-all:hover { transform: translateY(-3px); }
  .ih-re-headline-row { justify-content: space-between; }
  .ih-re-section-head { text-align: left; }
  .ih-re-kicker { justify-content: flex-start; }
  .ih-re-section-head p { margin-left: 0; }
  .ih-re-benefits { width: 100%; }
}

@media (max-width: 980px) {
  .ih-re-hero { min-height: auto; }
  .ih-re-hero__bg { background-position: 62% center; opacity: .58; }
  .ih-re-hero__shade { background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.86) 58%, rgba(255,255,255,.36)); }
  .ih-re-hero__inner {
    display: block;
    min-height: auto;
    padding: 42px 0 34px;
  }
  .ih-re-hero__copy { width: min(620px, 100%); }
  .ih-re-search {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }
  .ih-re-search__row { grid-template-columns: 1fr; }
  .ih-re-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ih-re-benefits { grid-template-columns: repeat(2, 1fr); border-radius: 16px; }
  .ih-re-benefit:nth-child(2)::after,
  .ih-re-benefit:nth-child(4)::after { display: none; }
  .ih-re-benefit:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .ih-re-wrap { width: min(100% - 28px, 100%); }
  .ih-re-hero__inner { padding: 34px 0 28px; }
  .ih-re-hero h1 { font-size: clamp(44px, 13.2vw, 64px); margin-top: 16px; }
  .ih-re-hero h1 span::after { width: 160px; height: 12px; bottom: -8px; border-bottom-width: 4px; }
  .ih-re-hero__copy > p { font-size: 16px; max-width: 95%; }
  .ih-re-stats { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .ih-re-stat:not(:last-child)::after { display: none; }
  .ih-re-stat { min-width: 0; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: 0 10px 24px rgba(25,30,80,.08); }
  .ih-re-stat__icon { width: 48px; height: 48px; border-radius: 13px; }
  .ih-re-search { padding: 16px; border-radius: 18px; }
  .ih-re-search__title { font-size: 19px; }
  .ih-re-field select, .ih-re-search__btn { min-height: 54px; }
  .ih-re-categories { padding: 30px 0 28px; }
  .ih-re-section-head { text-align: center; margin-bottom: 16px; }
  .ih-re-kicker { justify-content: center; gap: 8px; letter-spacing: .18em; font-size: 11px; }
  .ih-re-kicker span { width: 22px; }
  .ih-re-headline-row { display: block; }
  .ih-re-section-head h2 { line-height: 1.08; }
  .ih-re-view-all { margin: 16px auto 0; width: max-content; }
  .ih-re-grid { grid-template-columns: 1fr; gap: 12px; }
  .ih-re-card { grid-template-columns: 104px 1fr 28px; min-height: 108px; padding: 10px 10px 10px 12px; border-radius: 15px; }
  .ih-re-card::after { left: 12px; width: 100px; height: 100px; }
  .ih-re-card__media { width: 96px; height: 84px; }
  .ih-re-card__media img { width: 104px; height: 104px; }
  .ih-re-card__body strong { font-size: 17px; }
  .ih-re-card--wide-title .ih-re-card__body strong { font-size: 15.5px; }
  .ih-re-benefits { grid-template-columns: 1fr; margin-top: 14px; border-radius: 16px; }
  .ih-re-benefit { min-height: 66px; }
  .ih-re-benefit:not(:last-child)::after { display: none; }
  .ih-re-benefit:not(:last-child) { border-bottom: 1px solid rgba(74,75,117,.12); }
  .ih-re-benefit:last-child { grid-column: auto; }
}

@media (max-width: 390px) {
  .ih-re-wrap { width: min(100% - 20px, 100%); }
  .ih-re-card { grid-template-columns: 88px 1fr 26px; }
  .ih-re-card::after { width: 88px; height: 88px; }
  .ih-re-card__media { width: 84px; height: 78px; }
  .ih-re-card__media img { width: 92px; height: 92px; }
  .ih-re-card__body strong { font-size: 16px; }
  .ih-re-card__body small { font-size: 12px; }
}

/* LISTINGS */
.ih-re-listings {
  position: relative;
  padding: 54px 0 64px;
  background:
    radial-gradient(circle at 8% 8%, rgba(91,45,245,.10) 0 1px, transparent 2px) 0 0 / 13px 13px,
    radial-gradient(circle at 95% 74%, rgba(31,124,255,.09) 0 1px, transparent 2px) 0 0 / 12px 12px,
    linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.ih-re-listings::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 15%, rgba(143, 63, 255, .12), transparent 30%),
    radial-gradient(circle at 86% 24%, rgba(33, 201, 213, .10), transparent 28%);
  opacity: .95;
}

.ih-re-listings > .ih-re-wrap {
  position: relative;
  z-index: 1;
}

.ih-re-listings__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.ih-re-listings__top h2 {
  margin: 6px 0 8px;
  color: #071036;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 1000;
}

.ih-re-listings__top h2 span {
  position: relative;
  display: inline-block;
}

.ih-re-listings__top h2 span::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #6d39ff, transparent);
}

.ih-re-listings__top p {
  margin: 0;
  max-width: 700px;
  color: #424b73;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.ih-re-listings__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
  background: linear-gradient(135deg, #2d7dff 0%, #7235ff 52%, #b20bf1 100%);
  box-shadow: 0 16px 30px rgba(91,45,245,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ih-re-listings__cta:hover { transform: translateY(-3px); box-shadow: 0 22px 38px rgba(91,45,245,.34); }
.ih-re-listings__cta img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

.ih-re-listing-filter {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, .75fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(91,45,245,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(24, 22, 76, .10);
  margin-bottom: 14px;
}

.ih-re-listing-search,
.ih-re-listing-select {
  position: relative;
  display: block;
  min-width: 0;
}

.ih-re-listing-search span {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  pointer-events: none;
}

.ih-re-listing-search span img { filter: invert(25%) sepia(98%) saturate(3431%) hue-rotate(251deg) brightness(99%) contrast(96%); }

.ih-re-listing-search input,
.ih-re-listing-select select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(87, 79, 163, .16);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  color: #11142e;
  outline: none;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.ih-re-listing-search input {
  padding: 0 18px 0 50px;
}

.ih-re-listing-select select {
  padding: 0 42px 0 16px;
  appearance: none;
  cursor: pointer;
}

.ih-re-listing-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #5b2df5;
  border-bottom: 2px solid #5b2df5;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.ih-re-listings__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 14px;
  color: #596381;
  font-size: 14px;
  font-weight: 750;
}

.ih-re-listings__meta strong {
  color: #071036;
  font-size: 15px;
  font-weight: 1000;
}

.ih-re-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ih-re-listing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(91,45,245,.10);
  border-radius: 0 !important;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(25, 28, 80, .10);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ih-re-listing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,45,245,.25);
  box-shadow: 0 24px 44px rgba(25, 28, 80, .16);
}

.ih-re-listing-card[hidden] { display: none !important; }

.ih-re-listing-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 16%, rgba(91,45,245,.10), transparent 36%),
    linear-gradient(135deg, #f1f4ff, #ffffff 64%, #f8f0ff);
}

.ih-re-listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}

.ih-re-listing-card:hover .ih-re-listing-card__image img { transform: scale(1.035); }

.ih-re-listing-card__image--contain img {
  object-fit: contain;
  padding: 18px;
  filter: drop-shadow(0 15px 20px rgba(22, 20, 60, .13));
}

.ih-re-listing-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 12px;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 10px 18px rgba(20, 20, 60, .20);
}

.ih-re-listing-badge--sale { background: linear-gradient(135deg, #009d58, #16c985); }
.ih-re-listing-badge--let { background: linear-gradient(135deg, #8137ff, #b20bf1); }
.ih-re-listing-badge--short { background: linear-gradient(135deg, #1f7cff, #16c9db); }

.ih-re-listing-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px;
}

.ih-re-listing-card__title {
  display: block;
  color: #071036;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 1000;
  letter-spacing: -0.035em;
}

.ih-re-listing-card__title:hover { color: var(--ih-re-primary); }

.ih-re-listing-card__body p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 13px;
  color: #4d587d;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 750;
}

.ih-re-listing-card__body p img,
.ih-re-listing-card__features img {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  filter: invert(29%) sepia(26%) saturate(868%) hue-rotate(196deg) brightness(88%) contrast(83%);
}

.ih-re-listing-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 13px;
  min-height: 36px;
  margin-bottom: 18px;
}

.ih-re-listing-card__features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334062;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 750;
}

.ih-re-listing-card__price {
  margin-top: auto;
  color: #009d58;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.03em;
}

.ih-re-listing-card__price--let { color: #5b2df5; }

.ih-re-listing-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  margin-top: 17px;
  border: 1px solid rgba(91,45,245,.70);
  color: var(--ih-re-primary);
  background: #fff;
  font-size: 13.5px;
  font-weight: 1000;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.ih-re-listing-card__btn:hover {
  background: var(--ih-re-primary);
  color: #fff;
  transform: translateY(-2px);
}

.ih-re-listing-card__btn img {
  width: 17px;
  height: 17px;
  filter: invert(25%) sepia(98%) saturate(3431%) hue-rotate(251deg) brightness(99%) contrast(96%);
}

.ih-re-listing-card__btn:hover img { filter: brightness(0) invert(1); }

.ih-re-listing-empty {
  padding: 24px;
  margin-top: 16px;
  border: 1px dashed rgba(91,45,245,.35);
  background: rgba(255,255,255,.8);
  color: #4d587d;
  font-weight: 850;
  text-align: center;
}

.ih-re-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.ih-re-pagination button {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(91,45,245,.18);
  color: #071036;
  background: #fff;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(25, 28, 80, .08);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.ih-re-pagination button:hover:not(:disabled),
.ih-re-pagination button.is-active {
  transform: translateY(-2px);
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #2d7dff 0%, #8137ff 54%, #b20bf1 100%);
}

.ih-re-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ih-re-pagination .ih-re-pagination__wide {
  padding: 0 18px;
}

@media (max-width: 1280px) {
  .ih-re-listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ih-re-listing-filter { grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(130px, .8fr)); }
}

@media (max-width: 980px) {
  .ih-re-listings__top { align-items: start; flex-direction: column; }
  .ih-re-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ih-re-listing-filter { grid-template-columns: 1fr 1fr; }
  .ih-re-listing-search { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .ih-re-listings { padding: 38px 0 46px; }
  .ih-re-listings__top { text-align: center; align-items: center; }
  .ih-re-listings__top p { font-size: 15px; }
  .ih-re-listings__cta { width: 100%; min-height: 48px; }
  .ih-re-listing-filter { grid-template-columns: 1fr; padding: 12px; }
  .ih-re-listings__meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ih-re-listing-grid { grid-template-columns: 1fr; gap: 14px; }
  .ih-re-listing-card { border-radius: 0 !important; }
  .ih-re-listing-card__image { aspect-ratio: 1.65 / 1; }
  .ih-re-listing-card__body { padding: 15px; }
  .ih-re-pagination button { min-width: 40px; height: 40px; }
}
