/* =========================================================
   EstateHub Theme for REMS
   Matches the look & color system of the EstateHub React demo
   ========================================================= */

:root {
  --eh-primary: #0078db;
  --eh-primary-dark: #0066b3;
  --eh-primary-darker: #0a4a8a;
  --eh-cyan: #22d3ee;
  --eh-amber: #fbbf24;
  --eh-footer-bg: #0a1628;
  --eh-text-dark: #111827;
  --eh-text-body: #374151;
  --eh-text-gray: #6b7280;
  --eh-text-light-gray: #9ca3af;
  --eh-border: #f1f5f9;
  --eh-border-strong: #e5e7eb;
  --eh-bg-page: #f8fafc;
  --eh-radius-sm: 8px;
  --eh-radius: 12px;
  --eh-radius-lg: 16px;
  --eh-radius-xl: 20px;
  --eh-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.06);
  --eh-shadow-md: 0 4px 16px rgba(16, 24, 40, 0.08);
  --eh-shadow-lg: 0 10px 30px rgba(16, 24, 40, 0.12);
  --eh-shadow-xl: 0 20px 45px rgba(10, 74, 138, 0.18);
}

body {
  background: var(--eh-bg-page) !important;
  color: var(--eh-text-body);
  font-family: 'Open Sans', 'Poppins', sans-serif;
}

a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }

.eh-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   HEADER
   ========================================================= */
.eh-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--eh-border);
  box-shadow: var(--eh-shadow-sm);
}

.eh-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.eh-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--eh-primary) 0%, var(--eh-primary-darker) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  flex-shrink: 0;
}

.eh-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--eh-text-dark);
  letter-spacing: -.3px;
}

.eh-logo-text span { color: var(--eh-primary); }

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

.eh-nav li a {
  font-size: 16px;
  font-weight: 600;
  color: var(--eh-text-dark);
  text-decoration: none;
  text-transform: capitalize;
}

.eh-nav li a:hover,
.eh-nav li.active a,
.eh-nav li a.eh-active-link { color: var(--eh-primary); }

.eh-nav li.eh-has-dropdown { position: relative; }

.eh-nav .eh-dropdown {
  position: absolute;
  top: 130%;
  left: 0;
  background: #fff;
  min-width: 190px;
  border-radius: var(--eh-radius-sm);
  box-shadow: var(--eh-shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  z-index: 50;
}

.eh-nav .eh-has-dropdown:hover .eh-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eh-nav .eh-dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--eh-text-body);
}

.eh-nav .eh-dropdown li a:hover {
  background: #eff6ff;
  color: var(--eh-primary);
}

.eh-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.eh-phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--eh-text-body);
  text-decoration: none;
  font-weight: 500;
}

.eh-phone-link:hover { color: var(--eh-primary); }

.eh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.eh-btn-outline {
  color: var(--eh-primary);
  border-color: var(--eh-primary);
  background: #fff;
}

.eh-btn-outline:hover {
  background: var(--eh-primary);
  color: #fff;
}

.eh-btn-primary {
  color: #fff;
  background: var(--eh-primary);
  border-color: var(--eh-primary);
}

.eh-btn-primary:hover {
  background: var(--eh-primary-dark);
  border-color: var(--eh-primary-dark);
  color: #fff;
}

.eh-btn-block { width: 100%; }

.eh-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--eh-text-dark);
  cursor: pointer;
}

.eh-mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--eh-border);
  padding: 16px 20px 20px;
}

.eh-mobile-nav.eh-open { display: block; }

.eh-mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--eh-text-body);
  text-decoration: none;
  border-bottom: 1px solid var(--eh-border);
}

.eh-mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* =========================================================
   HERO
   ========================================================= */
.eh-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--eh-primary-darker) 0%, var(--eh-primary-dark) 50%, var(--eh-primary) 100%);
  padding: 64px 20px 96px;
}

.eh-hero::before,
.eh-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .18;
}

.eh-hero::before {
  width: 420px;
  height: 420px;
  background: #fff;
  top: -160px;
  left: -160px;
}

.eh-hero::after {
  width: 420px;
  height: 420px;
  background: var(--eh-cyan);
  bottom: -180px;
  right: -160px;
}

.eh-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.eh-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin: 0 0 14px;
}

.eh-hero p.eh-hero-sub {
  color: #dbeafe;
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 36px;
}

.eh-hero-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 22px;
}

.eh-hero-tabs label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  user-select: none;
}

.eh-hero-tabs input { display: none; }

.eh-hero-tabs input:checked + label,
.eh-hero-tabs label.eh-tab-active {
  background: #fff;
  color: var(--eh-primary);
  box-shadow: var(--eh-shadow-lg);
}

.eh-search-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--eh-shadow-xl);
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  text-align: left;
}

.eh-search-field {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-right: 1px solid var(--eh-border);
}

.eh-search-field:last-of-type { border-right: none; }

.eh-search-field i { color: var(--eh-text-light-gray); font-size: 16px; }

.eh-search-field select,
.eh-search-field input[type="text"] {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--eh-text-body);
  background: transparent;
  padding: 6px 0;
}

.eh-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--eh-primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 0 30px;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.eh-search-submit:hover { background: var(--eh-primary-dark); color: #fff; }

.eh-trending-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.eh-trending-tags span.eh-label { color: #bfdbfe; font-size: 13px; }

.eh-trending-tags a {
  color: #eff6ff;
  font-size: 13px;
  background: rgba(255, 255, 255, .12);
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
}

.eh-trending-tags a:hover { background: rgba(255, 255, 255, .22); }

@media (max-width: 767px) {
  .eh-hero h1 { font-size: 30px; }
  .eh-search-field { border-right: none; border-bottom: 1px solid var(--eh-border); padding-bottom: 12px; }
  .eh-search-card { flex-direction: column; }
  .eh-search-submit { padding: 14px; }
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.eh-section { padding: 56px 0; }
.eh-section.eh-section-tight { padding: 44px 0; }
.eh-section-white { background: #fff; }

.eh-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.eh-section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--eh-text-dark);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eh-section-title i.eh-star { color: var(--eh-amber); }

.eh-section-sub {
  color: var(--eh-text-gray);
  font-size: 14px;
  margin: 0;
}

.eh-view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--eh-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eh-view-all:hover { color: var(--eh-primary-dark); gap: 10px; }

.eh-text-center { text-align: center; }

/* =========================================================
   TRENDING CITIES
   ========================================================= */
.eh-cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.eh-city-card {
  position: relative;
  border-radius: var(--eh-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--eh-shadow-sm);
  display: block;
  text-decoration: none;
}

.eh-city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.eh-city-card:hover img { transform: scale(1.1); }

.eh-city-card:hover { box-shadow: var(--eh-shadow-xl); }

.eh-city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent 65%);
}

.eh-city-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px;
  color: #fff;
}

.eh-city-info .eh-city-name {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.eh-city-info .eh-city-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
  margin: 2px 0 0;
}

@media (max-width: 992px) { .eh-cities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .eh-cities-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   PROPERTY CARDS
   ========================================================= */
.eh-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 992px) { .eh-properties-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .eh-properties-grid { grid-template-columns: 1fr; } }

.eh-card {
  background: #fff;
  border-radius: var(--eh-radius-lg);
  border: 1px solid var(--eh-border);
  box-shadow: var(--eh-shadow-sm);
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
  transition: box-shadow .25s ease, transform .25s ease;
}

.eh-card:hover {
  box-shadow: var(--eh-shadow-xl);
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}

.eh-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f7;
}

.eh-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.eh-card:hover .eh-card-img img { transform: scale(1.07); }

.eh-badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}

.eh-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.eh-badge-primary { background: var(--eh-primary); color: #fff; }
.eh-badge-light { background: rgba(255, 255, 255, .92); color: var(--eh-text-body); }
.eh-badge-amber { background: var(--eh-amber); color: #fff; }

.eh-card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eh-text-light-gray);
  box-shadow: var(--eh-shadow-sm);
}

.eh-card-body { padding: 16px; }

.eh-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.eh-card-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--eh-text-dark);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eh-card-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--eh-primary);
  white-space: nowrap;
}

.eh-card-location {
  font-size: 13px;
  color: var(--eh-text-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
}

.eh-card-features {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--eh-text-body);
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.eh-card-features span { display: flex; align-items: center; gap: 5px; }
.eh-card-features i { color: var(--eh-text-light-gray); }

.eh-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--eh-border);
  font-size: 12px;
  color: var(--eh-text-gray);
}

.eh-card-footer i.eh-verified { color: #22c55e; }

.eh-empty-state {
  background: #fff;
  border-radius: var(--eh-radius-lg);
  padding: 60px 20px;
  text-align: center;
  color: var(--eh-text-gray);
  box-shadow: var(--eh-shadow-sm);
}

/* =========================================================
   CTA
   ========================================================= */
.eh-cta {
  position: relative;
  background: linear-gradient(135deg, var(--eh-primary-darker), var(--eh-primary));
  padding: 64px 20px;
  text-align: center;
  overflow: hidden;
}

.eh-cta h3 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 22px;
}

.eh-cta .eh-btn { padding: 12px 28px; font-size: 15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.eh-footer {
  background: var(--eh-footer-bg);
  color: #b6c2d6;
  padding: 56px 0 0;
}

.eh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.eh-footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 340px;
  margin: 14px 0;
}

.eh-footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}

.eh-footer-contact a:hover { color: #fff; }

.eh-footer-social { display: flex; gap: 10px; margin-top: 16px; }

.eh-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.eh-footer-social a:hover { background: var(--eh-primary); }

.eh-footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
}

.eh-footer-col ul { list-style: none; margin: 0; padding: 0; }

.eh-footer-col ul li { margin-bottom: 10px; }

.eh-footer-col ul li a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}

.eh-footer-col ul li a:hover { color: #fff; }

.eh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

.eh-footer-bottom-links { display: flex; gap: 22px; }
.eh-footer-bottom-links a { color: #94a3b8; text-decoration: none; }
.eh-footer-bottom-links a:hover { color: #fff; }

@media (max-width: 992px) {
  .eh-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-footer-about { grid-column: span 2; }
}

/* =========================================================
   RESPONSIVE NAV BEHAVIOR
   ========================================================= */
@media (max-width: 991px) {
  .eh-nav,
  .eh-header-actions .eh-desktop-only { display: none !important; }
  .eh-mobile-toggle { display: block; }
}

@media (min-width: 992px) {
  .eh-mobile-nav { display: none !important; }
}

/* =========================================================
   PAGE HEADER (used on Properties listing page)
   ========================================================= */
.eh-page-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 20px 8px;
}

.eh-eyebrow {
  color: var(--eh-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.eh-page-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--eh-text-dark);
  margin: 0 0 8px;
}

.eh-page-sub {
  color: var(--eh-text-gray);
  font-size: 15px;
  margin: 0 0 8px;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.eh-about-hero {
  background: #eef7ff;
  padding: 76px 20px;
  text-align: center;
}

.eh-about-hero-inner { max-width: 780px; margin: 0 auto; }

.eh-about-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: #172b4d;
  margin: 0 0 32px;
  line-height: 1.2;
}

/* Card wrapper that frames the (DB-driven) about description content */
.eh-about-hero-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(23, 43, 77, .08);
  padding: 44px 56px;
  text-align: center;
}

.eh-about-hero-card p {
  color: var(--eh-text-gray);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.eh-about-hero-card p:last-child { margin-bottom: 0; }

/* Sub-headings such as "Real Estate Management System", "Our Vision:", "Our Goal:"
   that arrive wrapped in <b>/<strong> tags from the CMS content */
.eh-about-hero-card b,
.eh-about-hero-card strong {
  display: block;
  color: var(--eh-primary);
  font-weight: 700;
  font-size: 20px;
  margin: 28px 0 12px;
}

.eh-about-hero-card p:first-child > b:first-child,
.eh-about-hero-card p:first-child > strong:first-child,
.eh-about-hero-card > b:first-child,
.eh-about-hero-card > strong:first-child {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .eh-about-hero-card { padding: 32px 24px; }
}

.eh-about-body-wrap {
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  padding: 70px 20px;
}

.eh-about-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 44px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(23, 43, 77, .08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eh-about-body h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #172b4d;
  margin: 8px 0 16px;
}

.eh-about-body p {
  color: var(--eh-text-gray);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
}

.eh-check-list { display: flex; flex-direction: column; gap: 14px; }

.eh-check-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #374151;
  font-size: 15px;
}

.eh-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eh-check-icon i { color: #22c55e; font-size: 13px; }

.eh-stat-panel {
  background: linear-gradient(135deg, var(--eh-primary) 0%, var(--eh-primary-darker) 100%);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.eh-stat-box {
  background: rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 22px;
  transition: transform .25s ease, background .25s ease;
}

.eh-stat-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .18);
}

.eh-stat-box .eh-stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  margin: 0;
}

.eh-stat-box .eh-stat-label {
  color: #dbeafe;
  font-size: 14px;
  margin: 4px 0 0;
}

@media (max-width: 860px) {
  .eh-about-body { grid-template-columns: 1fr; padding: 36px 24px; }
  .eh-about-hero h1 { font-size: 30px; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.eh-contact-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 20px;
}

.eh-contact-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.eh-contact-head h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: #172b4d;
  margin: 8px 0 12px;
}

.eh-contact-head p { color: var(--eh-text-gray); font-size: 15px; margin: 0; }

.eh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.eh-contact-info {
  background: #eef7ff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eh-contact-item { display: flex; align-items: center; gap: 16px; }

.eh-contact-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eh-primary);
  font-size: 18px;
  flex-shrink: 0;
}

.eh-contact-item-title { font-weight: 700; color: #172b4d; margin: 0; font-size: 15px; }
.eh-contact-item-text { color: var(--eh-text-gray); margin: 2px 0 0; font-size: 14px; }

.eh-contact-hours {
  padding-top: 20px;
  border-top: 1px solid #dbeafe;
}

.eh-contact-hours p:first-child { font-weight: 700; color: #172b4d; margin: 0 0 6px; }
.eh-contact-hours p:last-child { color: var(--eh-text-gray); font-size: 14px; margin: 0; }

.eh-contact-form {
  background: #fff;
  border: 1px solid var(--eh-border-strong);
  border-radius: 20px;
  box-shadow: var(--eh-shadow-sm);
  padding: 32px;
}

.eh-form-group { margin-bottom: 18px; }

.eh-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.eh-form-group input,
.eh-form-group textarea {
  width: 100%;
  border: 1px solid var(--eh-border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--eh-text-body);
  outline: none;
  font-family: inherit;
}

.eh-form-group input:focus,
.eh-form-group textarea:focus { border-color: var(--eh-primary); }

.eh-form-group textarea { min-height: 130px; resize: vertical; }

.eh-form-submit {
  width: 100%;
  background: var(--eh-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.eh-form-submit:hover { background: var(--eh-primary-dark); }

.eh-form-success {
  text-align: center;
  padding: 40px 10px;
}

.eh-form-success i {
  font-size: 52px;
  color: #22c55e;
  margin-bottom: 14px;
  display: block;
}

.eh-form-success h2 { font-family: 'Poppins', sans-serif; font-weight: 700; color: #172b4d; font-size: 20px; margin: 0 0 6px; }
.eh-form-success p { color: var(--eh-text-gray); font-size: 14px; margin: 0; }

@media (max-width: 860px) {
  .eh-contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PROPERTIES LISTING PAGE (sidebar + grid)
   ========================================================= */
.eh-listing-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.eh-filter-panel {
  background: #fff;
  border: 1px solid var(--eh-border-strong);
  border-radius: var(--eh-radius-lg);
  box-shadow: var(--eh-shadow-sm);
  padding: 20px;
  position: sticky;
  top: 96px;
}

.eh-filter-block { margin-bottom: 26px; }
.eh-filter-block:last-child { margin-bottom: 0; }

.eh-filter-block h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #374151;
  margin: 0 0 12px;
}

.eh-filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }

.eh-filter-list a {
  font-size: 14px;
  color: var(--eh-text-gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eh-filter-list a:hover,
.eh-filter-list a.eh-active { color: var(--eh-primary); font-weight: 600; }

.eh-filter-list a i { font-size: 12px; color: var(--eh-text-light-gray); }

.eh-listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.eh-listing-count { font-size: 14px; font-weight: 600; color: #172b4d; }

.eh-view-toggle { display: flex; gap: 8px; }

.eh-view-toggle a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--eh-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eh-text-gray);
  text-decoration: none;
}

.eh-view-toggle a.eh-active { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; }

.eh-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  list-style: none;
  padding: 0;
}

.eh-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--eh-border-strong);
  color: var(--eh-text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.eh-pagination li a:hover { border-color: var(--eh-primary); color: var(--eh-primary); }
.eh-pagination li.eh-disabled a { opacity: .45; pointer-events: none; }
.eh-pagination li.eh-active a { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; }

@media (max-width: 900px) {
  .eh-listing-layout { grid-template-columns: 1fr; }
  .eh-filter-panel { position: static; }
}