/* ==========================================================================
   ADHIRA PROPERTIES — Bayut-style Homepage
   Primary: #B76E5A · Cream: #FDEDE1
   ========================================================================== */

.home-page {
  --bayut-green: #B76E5A;
  --bayut-green-dark: #964E3E;
  --bayut-green-light: #FDEDE1;
  --bayut-text: #222;
  --bayut-muted: #666;
  --bayut-border: #e5e5e5;
  --bayut-bg: #FDEDE1;
  --bayut-footer: #0A1B2B;
  background: #fff;
  color: var(--bayut-text);
  font-family: "Roboto", system-ui, sans-serif;
}

.home-page ::selection {
  background: var(--bayut-green);
  color: #fff;
}

.home-page .container {
  max-width: 1200px;
  padding: 0 20px;
}

/* ---- Site nav on homepage (logo only, large) ---- */
.home-page .nav {
  padding: 10px 0;
}

.home-page .nav .nav-logo img {
  height: 88px;
  width: auto;
  border-radius: 50%;
}

.home-page .nav.scrolled .nav-logo img {
  height: 72px;
}

.home-page .nav-logo-text {
  display: none;
}

/* ---- Header (legacy Bayut header — unused on homepage) ---- */
.home-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  box-shadow: 0 1px 0 var(--bayut-border);
}

.home-header-top {
  border-bottom: 1px solid var(--bayut-border);
  background: #FDEDE1;
}

.home-header-top .container,
.home-header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-header-top .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.home-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.home-logo img {
  height: 36px;
  width: auto;
  border-radius: 50%;
}

.home-logo-text {
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--bayut-green);
  letter-spacing: -0.02em;
}

.home-nav-top {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.home-nav-top a {
  font-size: 14px;
  color: var(--bayut-text);
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}

.home-nav-top a:hover {
  color: var(--bayut-green);
}

.home-nav-top .badge-new {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

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

.home-header-main {
  background: #fff;
}

.home-header-main .container {
  padding-top: 0;
  padding-bottom: 0;
}

.home-nav-main {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.home-nav-main a {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--bayut-text);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.home-nav-main a:hover,
.home-nav-main a.is-active {
  color: var(--bayut-green);
  border-bottom-color: var(--bayut-green);
}

.home-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--bayut-border);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.home-burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--bayut-text);
  transform: translate(-50%, -50%);
  transition: transform 0.3s, opacity 0.3s;
}

.home-burger span:nth-child(1) { transform: translate(-50%, -7px); }
.home-burger span:nth-child(3) { transform: translate(-50%, 5px); }

body.home-menu-open .home-burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.home-menu-open .home-burger span:nth-child(2) { opacity: 0; }
body.home-menu-open .home-burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.home-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 880;
  background: #fff;
  padding: 80px 24px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

body.home-menu-open .home-mobile-menu {
  transform: translateX(0);
}

.home-mobile-menu a,
.home-mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--bayut-text);
  border-bottom: 1px solid var(--bayut-border);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.home-mobile-menu__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bayut-green-light);
  color: var(--bayut-green);
}

.home-mobile-menu__icon svg {
  display: block;
}

.home-mobile-menu a:hover,
.home-mobile-menu__link:hover {
  color: var(--bayut-green);
  padding-left: 4px;
}

.home-mobile-menu a:hover .home-mobile-menu__icon,
.home-mobile-menu__link:hover .home-mobile-menu__icon {
  background: rgba(183, 110, 90, 0.18);
}

/* ---- Hero (fäm-style layout) ---- */
.home-hero {
  position: relative;
  min-height: clamp(680px, 88vh, 920px);
  height: 88vh;
  max-height: 980px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  margin-top: 0;
  padding: 110px 0 36px;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-hero-slider-track {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.home-hero-slide {
  flex: 0 0 auto;
  width: 100%;
  position: relative;
}

.home-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 48px 0 24px;
  text-align: center;
  margin-top: clamp(24px, 8vh, 80px);
}

.home-hero-title {
  font-family: "Montserrat", Georgia, serif;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 auto 26px;
  max-width: 860px;
  line-height: 1.18;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.home-hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 32px;
}

/* ---- Search widget (smooth pill UI) ---- */
.home-search-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  text-align: left;
}

.home-search-wrap--smooth {
  background: transparent;
  box-shadow: none;
  overflow: visible;
  max-width: 860px;
  text-align: center;
}

.home-search-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.home-search-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 11px 26px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.home-search-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.home-search-pill.is-active {
  background: #1a49c1;
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 73, 193, 0.35);
}

.home-search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  background: #fff;
  border-radius: 999px;
  padding: 7px 7px 7px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.home-search-bar-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
  color: #222;
  height: 48px;
}

.home-search-bar-input::placeholder {
  color: #9a9a9a;
}

.home-search-bar-btn {
  flex-shrink: 0;
  height: 48px;
  padding: 0 30px;
  border: none;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-search-bar-btn:hover {
  background: #c62828;
  transform: scale(1.02);
}

/* Featured project (bottom-left of hero) */
.home-hero-featured {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
}

.home-featured-card {
  max-width: 520px;
  text-align: left;
  color: #fff;
}

.home-featured-title {
  margin: 0 0 8px;
  font-family: "Montserrat", Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.home-featured-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 460px;
}

.home-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 18px;
}

.home-featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.home-featured-meta svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.home-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 20px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-featured-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.home-featured-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

/* Developer partners + trust partner bars */
.home-partners-title {
  margin: 0;
  flex: 0 1 360px;
  font-family: "Montserrat", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}

.home-developers {
  background: #f3f3f3;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 34px 0;
}

.home-developers-inner,
.home-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-developers-logos {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
}

.home-developers-logos img {
  flex: 1 1 0;
  width: auto;
  max-width: 150px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  padding: 0 18px;
  border-left: 1px solid #ddd;
}

.home-developers-logos img:first-child {
  border-left: none;
}

.home-trust {
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 34px 0;
}

.home-trust-badges {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}

.home-trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-trust-badge-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-trust-badge-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.home-trust-badge-icon--rera {
  background: linear-gradient(145deg, #f5e6c8 0%, #d4af37 55%, #b8922a 100%);
  border: 2px solid #c9a45c;
  color: #5c4a1a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.1;
}

.home-trust-badge-icon--google {
  background: #fff;
  border: 1px solid #e8e8e8;
}

.home-trust-badge-icon--google svg {
  width: 30px;
  height: 30px;
}

.home-trust-badge-icon--trustpilot {
  background: #fff;
  border: 1px solid #e8e8e8;
}

.home-trust-badge-icon--trustpilot svg {
  width: 26px;
  height: 26px;
}

.home-trust-badge-icon--dld {
  background: linear-gradient(145deg, #fff 0%, #f0f0f0 100%);
  border: 2px solid #ccc;
  color: #333;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.home-trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-trust-badge-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.home-trust-badge-text span {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

.home-trust-stars {
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
}

.home-trust-stars--gold {
  color: #f5b301;
}

.home-trust-stars--green {
  color: #00b67a;
}

/* Home WhatsApp pill (reference style) */
.home-page .whatsapp-float {
  width: auto;
  height: 48px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.home-page .whatsapp-float::after {
  content: "WhatsApp";
}

.home-search-tabs {
  display: flex;
  border-bottom: 1px solid var(--bayut-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.home-search-tabs::-webkit-scrollbar { display: none; }

.home-search-tab {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bayut-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.home-search-tab:hover {
  color: var(--bayut-green);
}

.home-search-tab.is-active {
  color: var(--bayut-green);
  border-bottom-color: var(--bayut-green);
  font-weight: 600;
}

.home-search-body {
  padding: 20px;
}

.home-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.home-search-input-wrap {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--bayut-border);
  border-radius: 4px;
  height: 48px;
}

.home-search-input-wrap svg {
  color: var(--bayut-muted);
  flex-shrink: 0;
}

.home-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--bayut-text);
  min-width: 0;
}

.home-search-input::placeholder {
  color: #999;
}

.home-toggle-group {
  display: flex;
  border: 1px solid var(--bayut-border);
  border-radius: 4px;
  overflow: hidden;
}

.home-toggle-btn {
  padding: 0 18px;
  height: 48px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border: none;
  cursor: pointer;
  color: var(--bayut-muted);
  transition: background 0.2s, color 0.2s;
}

.home-toggle-btn + .home-toggle-btn {
  border-left: 1px solid var(--bayut-border);
}

.home-toggle-btn.is-active {
  background: var(--bayut-green-light);
  color: var(--bayut-green);
  font-weight: 600;
}

.home-search-select {
  height: 48px;
  padding: 0 32px 0 14px;
  border: 1px solid var(--bayut-border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--bayut-text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  min-width: 130px;
}

.home-btn-find {
  height: 48px;
  padding: 0 32px;
  background: var(--bayut-green);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.home-btn-find:hover {
  background: var(--bayut-green-dark);
}

.home-search-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.home-search-filters .home-search-select {
  width: 100%;
  min-width: 0;
}

.home-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--bayut-green);
  font-weight: 500;
}

.home-map-link:hover {
  text-decoration: underline;
}

/* ---- Promo banners ---- */
.home-promos {
  padding: 0;
}

.home-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.home-promo--green {
  background: var(--bayut-bg);
  color: var(--bayut-text);
  padding: 24px 0;
}

.home-promo--green .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.home-promo--green h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--bayut-text);
  margin: 0;
}

.home-promo--green p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--bayut-muted);
}

.home-btn-white {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: #fff;
  color: var(--bayut-text);
  border: 1px solid var(--bayut-text);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.home-btn-white:hover {
  opacity: 0.92;
}

.home-promo--agent {
  background: #fff;
  border-bottom: 1px solid var(--bayut-border);
}

.home-promo--agent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.home-promo-agent-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--bayut-text);
}

.home-promo-agent-text p {
  margin: 0;
  font-size: 14px;
  color: var(--bayut-muted);
}

.home-promo-agents {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-agent-avatars {
  display: flex;
}

.home-agent-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}

.home-agent-avatars img:first-child {
  margin-left: 0;
}

.home-btn-outline-green {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid var(--bayut-green);
  color: var(--bayut-green);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  transition: background 0.2s, color 0.2s;
}

.home-btn-outline-green:hover {
  background: var(--bayut-green);
  color: #fff;
}

/* ---- Feature cards — 3 square cubes in one row ---- */
.home-features {
  padding: 28px 0 32px;
  background: #fff;
}

.home-features-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  flex-wrap: nowrap;
}

.home-feature-card {
  flex: 1 1 0;
  max-width: 220px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 18px 14px;
  background: #FDEDE1;
  border: 1px solid rgba(183, 110, 90, 0.12);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.06);
  text-decoration: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(145deg, rgba(255,255,255,0.45) 0%, rgba(183,110,90,0.1) 100%);
  border: 1px solid transparent;
}

.home-feature-card:nth-child(2) {
  background: #F8E4D8;
}

.home-feature-card:nth-child(3) {
  background: #FDEDE1;
}

.home-feature-card:is(:hover, :active, :focus-within) {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(183, 110, 90, 0.2);
  border-color: rgba(183, 110, 90, 0.48);
}

.home-feature-card:is(:hover, :active, :focus-within)::after {
  opacity: 1;
  border-color: rgba(183, 110, 90, 0.45);
}

.home-feature-icon {
  flex-shrink: 0;
  display: block;
  font-size: 28px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.home-feature-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  color: var(--bayut-text);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.home-feature-card p {
  margin: 0;
  font-size: 11px;
  color: var(--bayut-muted);
  line-height: 1.35;
  max-width: 16ch;
  position: relative;
  z-index: 1;
}

/* ---- Section common ---- */
.home-section {
  padding: 48px 0;
}

.home-section--alt {
  background: var(--bayut-bg);
}

.home-section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 24px;
  color: var(--bayut-text);
}

.home-pill-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.home-pill-tab {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bayut-muted);
  background: #fff;
  border: 1px solid var(--bayut-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.home-pill-tab:hover {
  border-color: var(--bayut-green);
  color: var(--bayut-green);
}

.home-pill-tab.is-active {
  background: var(--bayut-green);
  border-color: var(--bayut-green);
  color: #fff;
}

.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.home-section-head .home-section-title {
  margin: 0;
}

.home-section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  background: #1a49c1;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  box-shadow: 0 4px 14px rgba(26, 73, 193, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-section-btn:hover {
  background: #153aa0;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 73, 193, 0.34);
}

.home-projects-swiper-wrap {
  overflow: hidden;
  width: 100%;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.home-projects-swiper {
  overflow: hidden;
  width: 100%;
}

.home-projects-swiper .swiper-slide {
  width: 300px;
  height: auto;
}

/* ---- Project cards (Bayut style) ---- */
.home-page .home-projects-swiper .prop-card {
  border: 1px solid var(--bayut-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.25s ease;
  cursor: pointer;
}

.home-page .home-projects-swiper .prop-card:is(:hover, :active, :focus-within) {
  box-shadow: none;
  border-color: rgba(183, 110, 90, 0.48);
  transform: none;
}

.home-page .home-projects-swiper .prop-media {
  aspect-ratio: 16/10;
}

.home-page .home-projects-swiper .prop-tag {
  display: none;
}

.home-page .home-projects-swiper .prop-body {
  padding: 14px;
}

.home-page .home-projects-swiper .prop-name {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 6px 0 2px;
}

.home-page .home-projects-swiper .prop-loc {
  color: var(--bayut-muted);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.home-page .home-projects-swiper .prop-dev {
  color: var(--bayut-muted);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 2px;
}

.home-page .home-projects-swiper .prop-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--bayut-green);
  margin-top: 8px;
}

.home-page .home-projects-swiper .prop-meta {
  border-top: none;
  padding-top: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--bayut-muted);
  gap: 12px;
}

.home-page .home-projects-swiper .prop-agent {
  display: none;
}

/* Smooth continuous autoplay feel */
.home-page .home-projects-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ---- Trust CTA: Site Visit / Online ---- */
.home-trust-cta {
  padding: 28px 0 56px;
  background: #f3eee6;
}

.home-trust-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 30, 60, 0.12);
  min-height: 280px;
}

.home-trust-panel {
  position: relative;
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background: #fff;
  color: #334155;
  transition: color 0.45s ease;
}

.home-trust-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a49c1;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.home-trust-panel.is-active {
  color: #fff;
}

.home-trust-panel.is-active .home-trust-panel-bg {
  opacity: 1;
  transform: scale(1);
}

.home-trust-panel.is-active .home-trust-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.home-trust-panel.is-active .home-trust-deco {
  color: rgba(255, 255, 255, 0.16);
}

.home-trust-panel.is-active .home-trust-deco--light {
  color: rgba(255, 255, 255, 0.16);
}

.home-trust-panel:not(.is-active) .home-trust-icon {
  background: #dbeafe;
  color: #1a49c1;
}

.home-trust-panel:not(.is-active) .home-trust-deco {
  color: rgba(148, 163, 184, 0.28);
}

.home-trust-panel + .home-trust-panel {
  border-left: 1px solid #ececec;
}

.home-trust-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-trust-head h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  flex-shrink: 0;
  transition: background 0.45s ease, color 0.45s ease;
}

.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.home-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.home-trust-list li > span {
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.95;
}

.home-trust-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 170px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.home-trust-btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.45s ease, border-color 0.45s ease, color 0.45s ease;
}

.home-trust-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: translateY(-2px);
}

.home-trust-btn--solid {
  color: #fff;
  background: #f97316;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.home-trust-btn--solid:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.4);
}

.home-trust-deco {
  position: absolute;
  right: 18px;
  bottom: 8px;
  width: 120px;
  height: 100px;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 0;
}

.home-trust-deco svg {
  width: 100%;
  height: 100%;
}

.home-trust-deco--light {
  color: rgba(148, 163, 184, 0.28);
  width: 110px;
  height: 90px;
}

.home-trust-panel > :not(.home-trust-deco):not(.home-trust-panel-bg) {
  position: relative;
  z-index: 1;
}

/* ---- Guides section ---- */
.home-guides {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, #f8faff 0%, #fff 48%, #f4f7ff 100%);
  overflow: hidden;
}

.home-guides-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 36px;
  align-items: stretch;
}

.home-guides-main {
  min-width: 0;
}

.home-guides-aside {
  position: relative;
}

.home-guides-aside-inner {
  position: relative;
  height: 100%;
  background: linear-gradient(160deg, #1a49c1 0%, #153aa0 55%, #0f2d7a 100%);
  border-radius: 22px;
  padding: 28px 26px 26px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(26, 73, 193, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-guides-aside-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(255, 255, 255, 0.08) 0%, transparent 36%);
  pointer-events: none;
}

.home-guides-aside-eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.home-guides-aside-title {
  position: relative;
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.home-guides-aside-text {
  position: relative;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.home-guides-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.home-guides-head .home-section-title {
  margin: 0;
}

.home-guides-swiper-wrap {
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
}

.home-guides-swiper {
  overflow: hidden;
}

.home-guides-swiper .swiper-slide {
  width: 240px;
  height: auto;
}

.home-guide-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 20px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 100%;
}

.home-guide-role {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1a49c1;
  line-height: 1.3;
}

.home-guide-exp {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.3;
}

.home-guide-enquire {
  margin-top: 14px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: #1a49c1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-guide-enquire:hover {
  background: #153aa0;
  transform: translateY(-1px);
}

.home-guide-topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.home-guide-topics--aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  flex: 1;
}

.home-guide-topics--aside .home-guide-topic {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 0;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-guide-topics--aside .home-guide-topic:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(4px);
}

.home-guide-topics--aside .home-guide-topic-title {
  font-size: 0.88rem;
  color: #fff;
}

.home-guide-topics--aside .home-guide-topic-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  flex: 0;
}

.home-guide-topics--aside .home-guide-topic-link {
  color: #fff;
  font-size: 12px;
  opacity: 0.92;
}

.home-guide-topics--aside .home-guide-topic-link:hover {
  opacity: 1;
}

.home-guide-topic {
  background: #f8fafc;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
}

.home-guide-topic-title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.home-guide-topic-sub {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}

.home-guide-topic-link {
  font-size: 13px;
  font-weight: 600;
  color: #1a49c1;
  text-decoration: none;
}

.home-guide-topic-link:hover {
  text-decoration: underline;
}

.home-guides-foot {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.home-guides-visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(26, 73, 193, 0.08);
}

.home-guides-visual img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 35%;
}

.home-guides-foot .home-section-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.home-guide-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 14px;
  display: block;
  background: #eef2ff;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(26, 73, 193, 0.15);
}

.home-guide-photo--initials {
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a49c1;
}

.home-guide-name {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.home-guide-langs {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.guides-page-topics {
  margin-top: 36px;
}

.guides-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 0 64px;
}

@media (max-width: 860px) {
  .home-trust-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .home-trust-panel {
    padding: 28px 24px 32px;
  }

  .home-trust-panel + .home-trust-panel {
    border-left: none;
    border-top: 1px solid #ececec;
  }

  .home-guides-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-guides-aside-inner {
    padding: 24px 20px 22px;
  }

  .home-guides-swiper-wrap {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .home-guides-visual img {
    height: 180px;
  }

  .home-guides-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-guide-topics {
    grid-template-columns: 1fr 1fr;
  }

  .home-guides-swiper .swiper-slide {
    width: min(78vw, 240px);
  }

  .home-trust-cta {
    padding: 20px 0 40px;
  }
}

.home-project-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--bayut-border);
  position: relative;
  z-index: 5;
}

.home-project-actions a,
.home-project-actions button {
  flex: 1;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--bayut-green);
  color: var(--bayut-green);
  background: #fff;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-project-actions a:hover,
.home-project-actions button:hover {
  background: var(--bayut-green);
  color: #fff;
}

.home-project-actions .home-project-wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.home-project-actions .home-project-wa:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

.home-view-all {
  text-align: center;
  margin-top: 28px;
}

.home-view-all a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bayut-green);
}

.home-view-all a:hover {
  text-decoration: underline;
}

/* ---- Popular searches ---- */
.home-search-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.home-search-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--bayut-text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bayut-green);
}

.home-search-col__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  border-bottom: 2px solid var(--bayut-green);
  padding: 0 0 10px;
  margin: 0 0 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--bayut-text);
  text-align: left;
}

.home-search-col:not(.is-open) .home-search-col__toggle {
  margin-bottom: 0;
}

.home-search-col__icon {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--bayut-green);
}

.home-search-col:not(.is-open) .home-search-col__list {
  display: none;
}

.home-search-col ul,
.home-search-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-search-col li {
  margin-bottom: 8px;
}

.home-search-col a {
  font-size: 13px;
  color: var(--bayut-muted);
  line-height: 1.4;
  transition: color 0.2s;
}

.home-search-col a:hover {
  color: var(--bayut-green);
}

.home-search-mode {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
}

.home-search-mode button {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--bayut-border);
  cursor: pointer;
  color: var(--bayut-muted);
}

.home-search-mode button:first-child {
  border-radius: 4px 0 0 4px;
}

.home-search-mode button:last-child {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.home-search-mode button.is-active {
  background: var(--bayut-green);
  border-color: var(--bayut-green);
  color: #fff;
}

/* ---- Insights grid ---- */
.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-insight-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bayut-border);
  position: relative;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-insight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(145deg, rgba(255,255,255,0.4) 0%, rgba(183,110,90,0.08) 100%);
  border: 1px solid transparent;
  z-index: 2;
}

.home-insight-card:is(:hover, :active, :focus-within) {
  box-shadow: 0 12px 28px rgba(183, 110, 90, 0.2);
  border-color: rgba(183, 110, 90, 0.48);
  transform: translateY(-3px);
}

.home-insight-card:is(:hover, :active, :focus-within)::after {
  opacity: 1;
  border-color: rgba(183, 110, 90, 0.45);
}

.home-insight-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.home-insight-card-body {
  padding: 16px;
  position: relative;
  z-index: 3;
}

.home-insight-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  color: var(--bayut-text);
}

.home-insight-card .date {
  font-size: 12px;
  color: var(--bayut-muted);
  margin-top: 8px;
}

/* ---- Neighborhoods ---- */
.home-hood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-hood-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.home-hood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.home-hood-card:is(:hover, :active, :focus-within) img {
  transform: scale(1.05);
}

.home-hood-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  transition: background 0.3s ease;
}

.home-hood-card:is(:hover, :active, :focus-within)::before {
  background: linear-gradient(180deg, rgba(183,110,90,0.12) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.home-hood-card span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* ---- Buildings ---- */
.home-buildings-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.home-building-card {
  text-align: center;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid var(--bayut-border);
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-building-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(145deg, rgba(255,255,255,0.4) 0%, rgba(183,110,90,0.08) 100%);
  border: 1px solid transparent;
  z-index: 1;
}

.home-building-card:is(:hover, :active, :focus-within) {
  border-color: rgba(183, 110, 90, 0.48);
  box-shadow: 0 12px 28px rgba(183, 110, 90, 0.18);
  transform: translateY(-2px);
}

.home-building-card:is(:hover, :active, :focus-within)::after {
  opacity: 1;
  border-color: rgba(183, 110, 90, 0.45);
}

.home-building-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
  position: relative;
  z-index: 0;
}

.home-building-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--bayut-text);
  display: block;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

/* ---- Footer (shared site-wide via site-chrome) ---- */
.home-footer,
.home-footer.site-footer {
  --bayut-green: #B76E5A;
  --bayut-green-dark: #964E3E;
  --bayut-footer: #0A1B2B;
  background: #0A1B2B;
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0 24px;
}

.home-footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-footer-left {
  min-width: 0;
}

.home-footer-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.home-footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-footer-brand img {
  border-radius: 50%;
}

.home-footer-brand strong {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #B76E5A;
}

.home-footer-brand-text span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-footer-tagline {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32ch;
}

.home-footer-contact {
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-footer-contact div {
  display: block;
}

.home-footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.home-footer-contact a:hover {
  color: #D4957F;
}

.home-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-footer-social {
  display: flex;
  gap: 10px;
}

.home-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  transition: background 0.2s;
}

.home-footer-social a:hover {
  background: #B76E5A;
}

.home-footer-social .fa-brands {
  font-size: 15px;
  line-height: 1;
}

.home-footer-apps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 12px;
  color: #fff;
  transition: background 0.2s;
}

.home-app-badge:hover {
  background: rgba(255, 255, 255, 0.15);
}

.home-footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-footer-links h5 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-footer-links li {
  margin-bottom: 8px;
}

.home-footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.home-footer-links a:hover {
  color: #D4957F;
}

.home-footer-bottom-links {
  display: flex;
  gap: 20px;
}

.home-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.home-footer-bottom .footer-credit {
  width: 100%;
  flex-basis: 100%;
  order: 10;
  text-align: center;
  padding: 16px 0 4px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.home-footer-bottom .footer-credit a {
  color: #D4957F;
}

.home-footer-bottom .footer-credit-flags {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 2px;
  vertical-align: middle;
}

.home-footer-bottom .footer-credit-flag {
  font-size: 14px;
  line-height: 1;
}

.home-footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.home-footer-bottom a:hover {
  color: #fff;
}

.home-page .adhira-chatbot {
  bottom: 96px;
  z-index: 850;
}

.home-page .whatsapp-float {
  bottom: 24px;
  z-index: 840;
}

@media (max-width: 768px) {
  .home-projects-swiper-wrap {
    margin-inline: -20px;
    width: calc(100% + 40px);
    padding-inline: 20px;
    margin-bottom: 88px;
    overflow: hidden;
  }

  .home-projects-swiper {
    overflow: visible;
  }

  .home-projects-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    scroll-snap-type: none;
  }

  .home-page .adhira-chatbot {
    bottom: 88px;
    right: 16px;
  }

  .home-page .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .home-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-features-grid,
  .home-insights-grid,
  .home-search-cols {
    grid-template-columns: 1fr;
  }
  .home-hood-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-buildings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-footer-main {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .home-nav-top,
  .home-nav-main {
    display: none;
  }
  .home-burger {
    display: block;
  }
  .home-mobile-menu {
    display: block;
  }
  .home-page .nav .nav-logo img {
    height: 68px;
  }
  .home-page .nav.scrolled .nav-logo img {
    height: 58px;
  }
  .home-hero {
    min-height: 640px;
    height: auto;
    padding: 88px 0 28px;
  }
  .home-hero-inner {
    margin-top: 12px;
    padding: 20px 0;
  }
  .home-hero-title {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
    margin-bottom: 22px;
  }
  .home-search-pill {
    min-width: 72px;
    padding: 9px 16px;
    font-size: 14px;
  }
  .home-search-bar {
    padding: 5px 5px 5px 16px;
  }
  .home-search-bar-input {
    font-size: 14px;
    height: 42px;
  }
  .home-search-bar-btn {
    height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }
  .home-featured-meta {
    flex-direction: column;
    gap: 10px;
  }
  .home-developers-inner,
  .home-trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .home-partners-title {
    flex: none;
    max-width: none;
  }

  .home-developers-logos {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .home-developers-logos::-webkit-scrollbar {
    display: none;
  }

  .home-developers-logos img {
    flex: 0 0 auto;
    min-width: 120px;
    scroll-snap-align: start;
  }

  .home-trust-badges {
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
  }

  .home-projects-swiper .swiper-slide {
    width: min(78vw, 280px);
  }
  .home-page .whatsapp-float {
    height: 44px;
    padding: 0 14px 0 12px;
    font-size: 13px;
  }
  .home-search-filters {
    grid-template-columns: 1fr;
  }
  .home-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-features-grid {
    gap: 8px;
    max-width: 100%;
  }

  .home-feature-card {
    max-width: none;
    padding: 10px 6px;
    gap: 5px;
    border-radius: 10px;
  }

  .home-feature-icon {
    font-size: 22px;
  }

  .home-feature-card h4 {
    font-size: 10px;
  }

  .home-feature-card p {
    font-size: 9px;
    line-height: 1.25;
    max-width: 100%;
  }

  .home-toggle-group,
  .home-search-select,
  .home-btn-find {
    width: 100%;
  }
  .home-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-hood-grid,
  .home-buildings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-footer-main {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
  }

  .home-footer-left {
    grid-column: 1;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home-footer-right {
    grid-column: 1;
    padding-top: 28px;
    gap: 20px;
  }

  .home-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .home-footer-tagline {
    max-width: none;
    font-size: 14px;
  }

  .home-footer-contact {
    gap: 12px;
  }

  .home-footer-social {
    margin-top: 4px;
  }

  .home-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .home-promo--green .container,
  .home-promo--agent .container {
    flex-direction: column;
    text-align: center;
  }
}
