/* Home page redesign — scoped to .page-home */
body.page-home {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #f7f4ee !important;
  color: #0b2027;
  --home-trust-bar-height: 4rem;
  --home-hero-height: calc(100dvh - var(--site-header-height, 4rem) - var(--home-trust-bar-height));
  --home-hero-height: calc(100vh - var(--site-header-height, 4rem) - var(--home-trust-bar-height));
}

/* Display headings — DM Serif */
body.page-home .hero-title,
body.page-home .city-name,
body.page-home .sell-cta-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif !important;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Hero */
.page-home .hero {
  position: relative;
  z-index: 5;
  overflow: visible;
  background: linear-gradient(135deg, #0b2027 0%, #12353d 40%, #175b67 75%, #2f8f98 100%);
  padding: 72px 0 80px;
}
.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(217, 164, 65, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}
.page-home .hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-home .hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.page-home .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}
.page-home .hero-content {
  min-width: 0;
}
.page-home .hero-content .hero-search-box {
  max-width: 100%;
}

/* Hero — cinematic listing showcase (right) */
.page-home .hero-showcase {
  position: relative;
  height: clamp(260px, 38vh, 400px);
  min-height: 260px;
  perspective: 1200px;
}
.page-home .hero-showcase__stack {
  position: relative;
  z-index: 2;
  width: 88%;
  height: 100%;
  margin-left: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 28px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  background: #0b2027;
}
.page-home .hero-showcase__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation-duration: var(--cycle-sec, 25s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--frame-delay, 0s);
  will-change: opacity, filter, transform;
}
.page-home .hero-showcase__media {
  position: absolute;
  inset: -8%;
  overflow: hidden;
}
.page-home .hero-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  animation: hero-showcase-ken-0 5s ease-in-out infinite alternate;
}
.page-home .hero-showcase__frame--ken-1 .hero-showcase__media img {
  animation-name: hero-showcase-ken-1;
}
.page-home .hero-showcase__frame--ken-2 .hero-showcase__media img {
  animation-name: hero-showcase-ken-2;
}
.page-home .hero-showcase__frame--ken-3 .hero-showcase__media img {
  animation-name: hero-showcase-ken-3;
}
.page-home .hero-showcase__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 32, 39, 0.05) 0%,
    rgba(11, 32, 39, 0.15) 45%,
    rgba(11, 32, 39, 0.72) 100%
  );
  pointer-events: none;
}
.page-home .hero-showcase__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 20px 20px;
  color: #fff;
}
.page-home .hero-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}
.page-home .hero-showcase__rec {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: hero-showcase-rec-pulse 1.8s ease-out infinite;
}
.page-home .hero-showcase__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.page-home .hero-showcase__loc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.page-home .hero-showcase__tagline {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  margin: 6px 0 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.page-home .hero-showcase--spotlight .hero-showcase__frame {
  opacity: 1;
  animation: none;
}
.page-home .hero-showcase__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.page-home .hero-showcase__link:hover .hero-showcase__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-home .hero-showcase__float {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.page-home .hero-showcase__float-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.page-home .hero-showcase__float-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-showcase-float-drift 14s ease-in-out infinite alternate;
}
.page-home .hero-showcase__float--back {
  width: 42%;
  height: 38%;
  left: 0;
  top: 14%;
  z-index: 1;
  opacity: 0.55;
  transform: rotate(-6deg);
  animation: hero-showcase-float-back 9s ease-in-out infinite alternate;
}
.page-home .hero-showcase__float--front {
  width: 36%;
  height: 32%;
  right: -2%;
  bottom: 6%;
  z-index: 3;
  opacity: 0.9;
  transform: rotate(5deg);
  animation: hero-showcase-float-front 11s ease-in-out infinite alternate;
}
.page-home .hero-showcase__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.page-home .hero-showcase__scan {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 48%,
    transparent 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: hero-showcase-scan 6s linear infinite;
  opacity: 0.35;
}

@keyframes hero-showcase-ken-0 {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}
@keyframes hero-showcase-ken-1 {
  from { transform: scale(1.08) translate(1%, 0); }
  to { transform: scale(1.02) translate(-1%, 1.5%); }
}
@keyframes hero-showcase-ken-2 {
  from { transform: scale(1.04) translate(-0.5%, 1%); }
  to { transform: scale(1.12) translate(1.5%, -0.5%); }
}
@keyframes hero-showcase-ken-3 {
  from { transform: scale(1.06) translate(0.5%, -1%); }
  to { transform: scale(1.03) translate(-1.5%, 0.5%); }
}
@keyframes hero-showcase-rec-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes hero-showcase-float-drift {
  from { transform: scale(1.05); }
  to { transform: scale(1.12) translate(-2%, -1%); }
}
@keyframes hero-showcase-float-back {
  from { transform: rotate(-6deg) translateY(0); }
  to { transform: rotate(-4deg) translateY(-8px); }
}
@keyframes hero-showcase-float-front {
  from { transform: rotate(5deg) translateY(0); }
  to { transform: rotate(7deg) translateY(6px); }
}
@keyframes hero-showcase-scan {
  0% { background-position: 0 -120%; }
  100% { background-position: 0 120%; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-showcase__frame,
  .page-home .hero-showcase__media img,
  .page-home .hero-showcase__float,
  .page-home .hero-showcase__float-inner img,
  .page-home .hero-showcase__scan,
  .page-home .hero-showcase__rec {
    animation: none !important;
  }
  .page-home .hero-showcase__frame:first-child {
    opacity: 1;
  }
}
.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: clamp(0.5rem, 1.5vh, 0.875rem);
}
.page-home .hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #d9a441;
  border-radius: 50%;
}
.page-home .hero-title {
  font-size: clamp(1.75rem, 3.2vw + 0.5rem, 2.25rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: clamp(0.375rem, 1vh, 0.75rem);
  max-width: 100%;
  padding: 1rem 0;
}
.page-home .hero-title em {
  font-style: italic;
  color: #d9a441;
}
.page-home .hero-subtitle {
  font-size: clamp(0.8125rem, 1.1vw + 0.4rem, 0.9375rem);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: clamp(0.625rem, 1.5vh, 1.125rem);
  max-width: 540px;
  line-height: 1.5;
}
.page-home .hero-stats {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(0.75rem, 2vh, 1.25rem);
  flex-wrap: wrap;
}
.page-home .hero-stat-num {
  font-size: clamp(1.125rem, 2vw + 0.25rem, 1.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.page-home .hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
  font-weight: 500;
}
.page-home .hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  align-self: stretch;
}
.page-home .hero-search-box {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  overflow: visible;
  max-width: 840px;
}
.page-home .search-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .search-tabs::-webkit-scrollbar {
  display: none;
}
.page-home .s-tab {
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: inherit;
}
.page-home .s-tab.active,
.page-home .s-tab:hover {
  color: #fff;
  border-bottom-color: #d9a441;
}
.page-home .search-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 3;
  overflow: visible;
}
.page-home .search-city-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
  margin-right: 10px;
  font-family: inherit;
  position: relative;
  z-index: 20;
}
.page-home .search-city-chip:hover {
  background: rgba(255, 255, 255, 0.18);
}
.page-home .search-city-chip__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 32, 39, 0.2);
  padding: 6px;
  z-index: 10000;
  max-height: min(240px, calc(100vh - 8rem));
  overflow-y: auto;
}
.search-city-chip__menu.is-fixed {
  position: fixed !important;
  top: auto;
  left: auto;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 32, 39, 0.2);
  padding: 6px;
  z-index: 10000;
  overflow-y: auto;
}
.search-city-chip__menu.is-fixed .search-city-chip__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0b2027;
  cursor: pointer;
  font-family: inherit;
}
.search-city-chip__menu.is-fixed .search-city-chip__option:hover,
.search-city-chip__menu.is-fixed .search-city-chip__option--active {
  background: #eef7f7;
  color: #175b67;
}
.page-home .search-city-chip__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0b2027;
  cursor: pointer;
  font-family: inherit;
}
.page-home .search-city-chip__option:hover,
.page-home .search-city-chip__option--active {
  background: #eef7f7;
  color: #175b67;
}
.page-home .search-input-wrap {
  flex: 1;
  position: relative;
  min-width: 160px;
}
.page-home .search-icon-svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.page-home .search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 12px 10px 38px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  font-family: inherit;
}
.page-home .search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}
.page-home .search-btn {
  background: linear-gradient(135deg, #d9a441, #b7821e);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
}
.page-home .search-btn:hover {
  opacity: 0.92;
}
.page-home .locality-row {
  position: relative;
  z-index: 1;
  padding: 8px 12px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .locality-row::-webkit-scrollbar {
  display: none;
}
.page-home .locality-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-home .locality-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: all 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.page-home .locality-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Trust bar */
.page-home .trust-bar {
  position: relative;
  z-index: 1;
  background: #fff;
  border-bottom: 1px solid rgba(23, 91, 103, 0.1);
}
.page-home .trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 48px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.page-home .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #144852;
}
.page-home .trust-icon {
  color: #2f8f98;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.page-home .trust-divider {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
}

/* Sections */
.page-home .home-section {
  padding: 64px 0;
}
.page-home .home-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page-home .section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2f8f98;
  background: #eef7f7;
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
body.page-home .section-title {
  font-size: clamp(26px, 3vw, 38px);
  color: #0b2027;
  line-height: 1.15;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.page-home .section-copy {
  font-size: 15px;
  color: #64748b;
}
.page-home .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .section-link {
  font-size: 13px;
  font-weight: 700;
  color: #175b67;
  text-decoration: none;
  padding: 8px 18px;
  border: 1.5px solid rgba(23, 91, 103, 0.25);
  border-radius: 99px;
  transition: all 0.15s;
  white-space: nowrap;
}
.page-home .section-link:hover {
  background: #eef7f7;
  border-color: #2f8f98;
}
.page-home .bg-warm {
  background: #f7f4ee;
}
.page-home .bg-white {
  background: #fff;
}

/* Highlights */
.page-home .highlights-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 20px;
  align-items: stretch;
}
.page-home .hl-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: none;
}
.page-home .hl-thumbs::-webkit-scrollbar {
  display: none;
}
.page-home .hl-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.page-home .hl-thumb.active {
  border-color: #2f8f98;
  background: #eef7f7;
}
.page-home .hl-thumb:hover {
  border-color: rgba(47, 143, 152, 0.4);
}
.page-home .hl-thumb-img {
  width: 64px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
}
.page-home .hl-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .hl-thumb-name {
  font-size: 12px;
  font-weight: 700;
  color: #0b2027;
  line-height: 1.35;
}
.page-home .hl-thumb-loc {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
.page-home .hl-thumb-price {
  font-size: 13px;
  font-weight: 800;
  color: #175b67;
  margin-top: 3px;
}
.page-home .hl-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid rgba(23, 91, 103, 0.1);
  min-height: 260px;
  max-height: 300px;
  box-shadow: 0 8px 28px -12px rgba(11, 32, 39, 0.15);
}
.page-home .hl-panel-img {
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
  height: 100%;
  min-height: 260px;
}
.page-home .hl-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .hl-panel-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #f1f5f9;
  background: #fff;
  overflow: hidden;
}
.page-home .hl-panel-type {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f8f98;
  background: #eef7f7;
  border-radius: 99px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 8px;
  align-self: flex-start;
}
.page-home .hl-panel-name {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  color: #0b2027;
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .hl-panel-loc {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.page-home .hl-panel-loc svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.page-home .hl-panel-price {
  font-size: 22px;
  font-weight: 800;
  color: #175b67;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.page-home .hl-panel-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.page-home .hl-panel-meta span {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 10px;
}
.page-home .hl-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.page-home .hl-cta-row .btn-primary,
.page-home .hl-cta-row .btn-outline {
  padding: 9px 16px;
  font-size: 12px;
  border-radius: 10px;
}
.page-home .btn-primary {
  background: linear-gradient(135deg, #144852, #175b67);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.page-home .btn-primary:hover {
  opacity: 0.88;
}
.page-home .btn-outline {
  border: 1.5px solid rgba(23, 91, 103, 0.25);
  color: #175b67;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s;
  background: transparent;
}
.page-home .btn-outline:hover {
  background: #eef7f7;
  border-color: #2f8f98;
}

/* Category grid */
.page-home .cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.page-home .cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-home .cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(11, 32, 39, 0.25);
}
.page-home .cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.page-home .cat-card:hover img {
  transform: scale(1.06);
}
.page-home .cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 32, 39, 0.78) 0%, rgba(11, 32, 39, 0.18) 55%, transparent 100%);
}
.page-home .cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
}
.page-home .cat-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.page-home .cat-card-cta {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Property cards */
.page-home .prop-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.page-home .prop-scroll::-webkit-scrollbar {
  display: none;
}
.page-home .prop-card {
  flex-shrink: 0;
  width: 296px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 91, 103, 0.08);
  box-shadow: 0 2px 12px -4px rgba(11, 32, 39, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.page-home .prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(11, 32, 39, 0.18);
}
.page-home .prop-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}
.page-home .prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.page-home .prop-card:hover .prop-card-img img {
  transform: scale(1.05);
}
.page-home .prop-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 32, 39, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
}
.page-home .prop-card:hover .prop-card-img-overlay {
  opacity: 1;
}
.page-home .badge {
  position: absolute;
  top: 12px;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-home .badge-cat {
  left: 12px;
  background: #175b67;
  color: #fff;
}
.page-home .badge-type {
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #175b67;
}
.page-home .badge-new {
  left: 12px;
  background: #d9a441;
  color: #fff;
}
.page-home .badge-rera {
  right: 12px;
  background: #10b981;
  color: #fff;
}
.page-home .prop-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-home .prop-price {
  font-size: 19px;
  font-weight: 800;
  color: #0b2027;
  letter-spacing: -0.02em;
}
.page-home .prop-price-sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 4px;
}
.page-home .prop-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-top: 5px;
  line-height: 1.4;
}
.page-home .prop-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 12px;
  color: #64748b;
}
.page-home .prop-location svg {
  width: 13px;
  height: 13px;
  color: #2f8f98;
  flex-shrink: 0;
}
.page-home .prop-meta {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.page-home .prop-meta span {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 3px 8px;
}
.page-home .prop-cta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
}
.page-home .prop-cta-link {
  font-size: 13px;
  font-weight: 700;
  color: #175b67;
}
.page-home .prop-save-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}

/* Why strip */
.page-home .why-strip {
  background: linear-gradient(135deg, #0b2027 0%, #12353d 60%, #175b67 100%);
  padding: 56px 0;
}
.page-home .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.page-home .why-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.page-home .why-item:last-child {
  border-right: none;
}
.page-home .why-icon {
  width: 44px;
  height: 44px;
  background: rgba(47, 143, 152, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.page-home .why-icon svg {
  width: 22px;
  height: 22px;
  color: #84c7c9;
}
.page-home .why-num {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.page-home .why-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

/* Developers */
.page-home .section-head--dev {
  align-items: flex-end;
}
.page-home .dev-slider-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.page-home .dev-slider-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 91, 103, 0.22);
  background: #fff;
  color: #175b67;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 14px -6px rgba(11, 32, 39, 0.12);
}
.page-home .dev-slider-nav__btn:hover:not(:disabled) {
  background: #eef7f7;
  border-color: #2f8f98;
  transform: translateY(-1px);
}
.page-home .dev-slider-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.page-home .dev-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.page-home .dev-scroll::-webkit-scrollbar {
  display: none;
}
.page-home .dev-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 260px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(23, 91, 103, 0.08);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.page-home .dev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(11, 32, 39, 0.15);
}
.page-home .dev-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e2e8f0;
}
.page-home .dev-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.page-home .dev-card:hover .dev-card-img img {
  transform: scale(1.05);
}
.page-home .dev-card-body {
  padding: 16px;
}
.page-home .dev-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.page-home .dev-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #175b67, #2f8f98);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.page-home .dev-name {
  font-size: 14px;
  font-weight: 700;
  color: #0b2027;
}
.page-home .dev-meta {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}
.page-home .dev-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
}
.page-home .dev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.page-home .dev-link {
  font-size: 12px;
  font-weight: 700;
  color: #175b67;
}
.page-home .verified-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #d1fae5;
  color: #065f46;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

/* EMI + Sell */
.page-home .home-tools-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.page-home .emi-widget {
  background: linear-gradient(135deg, #fff 60%, #f0fdfa 100%);
  border: 1px solid rgba(23, 91, 103, 0.12);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 4px 20px -8px rgba(11, 32, 39, 0.1);
}
.page-home .emi-title {
  font-size: 20px;
  font-weight: 800;
  color: #0b2027;
  margin-bottom: 4px;
}
.page-home .emi-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 28px;
}
.page-home .emi-row {
  margin-bottom: 20px;
}
.page-home .emi-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.page-home .emi-label span {
  color: #175b67;
  font-size: 14px;
  font-weight: 800;
}
.page-home .emi-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 5px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}
.page-home .emi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #175b67;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(23, 91, 103, 0.3);
}
.page-home .emi-result {
  background: linear-gradient(135deg, #0b2027, #175b67);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
.page-home .emi-result-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.page-home .emi-result-num {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.page-home .emi-result-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}
.page-home .emi-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.page-home .emi-apply-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #0b2027;
  background: linear-gradient(135deg, #f0b94e, #d9a441);
  box-shadow: 0 8px 24px -8px rgba(217, 164, 65, 0.65);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.page-home .emi-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(217, 164, 65, 0.75);
}
.page-home .emi-full-link {
  font-size: 13px;
  font-weight: 700;
  color: #175b67;
  text-decoration: none;
}
.page-home .emi-full-link:hover {
  text-decoration: underline;
}

.loan-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.loan-modal[hidden] {
  display: none;
}
body.loan-modal-open {
  overflow: hidden;
}
.loan-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 32, 39, 0.55);
  backdrop-filter: blur(4px);
}
.loan-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 28px 80px -24px rgba(11, 32, 39, 0.45);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.loan-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.loan-modal__title {
  font-size: 22px;
  font-weight: 800;
  color: #0b2027;
  margin: 0 0 8px;
}
.loan-modal__copy {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.5;
}
.loan-modal__form {
  display: grid;
  gap: 14px;
}
.loan-field {
  display: grid;
  gap: 6px;
}
.loan-field__label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.loan-field__input {
  width: 100%;
  border: 1px solid #dbe3ea;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: #0b2027;
  background: #fff;
}
.loan-field__input:focus {
  outline: none;
  border-color: #2f8f98;
  box-shadow: 0 0 0 3px rgba(47, 143, 152, 0.15);
}
.loan-field__textarea {
  resize: vertical;
  min-height: 84px;
}
.loan-modal__submit {
  margin-top: 4px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #175b67, #0b2027);
  cursor: pointer;
}
.loan-modal__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.loan-modal__error {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
}
.loan-modal__success {
  margin: 0;
  font-size: 13px;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 12px;
}
.page-home .sell-cta {
  background: linear-gradient(135deg, #0b2027 0%, #144852 40%, #175b67 80%, #2f8f98 100%);
  border-radius: 28px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px -20px rgba(11, 32, 39, 0.4);
  position: relative;
  overflow: hidden;
}
.page-home .sell-cta::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-home .sell-cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}
.page-home .sell-cta-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.page-home .sell-cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 440px;
}
.page-home .sell-cta-btn {
  background: linear-gradient(135deg, #f4e3bd, #d9a441);
  color: #0b2027;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, opacity 0.15s;
  display: inline-block;
  text-align: center;
}
.page-home .sell-cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Tools */
.page-home .tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.page-home .tool-card {
  background: #fff;
  border: 1px solid rgba(23, 91, 103, 0.1);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  color: inherit;
}
.page-home .tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(11, 32, 39, 0.12);
  border-color: rgba(47, 143, 152, 0.3);
}
.page-home .tool-icon {
  width: 52px;
  height: 52px;
  background: #eef7f7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.page-home .tool-icon svg {
  width: 26px;
  height: 26px;
  color: #175b67;
}
.page-home .tool-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f8f98;
  background: #eef7f7;
  border-radius: 99px;
  padding: 3px 10px;
  margin-bottom: 8px;
  display: inline-block;
}
.page-home .tool-name {
  font-size: 15px;
  font-weight: 700;
  color: #0b2027;
  margin-bottom: 6px;
}
.page-home .tool-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
}
.page-home .tool-btn {
  background: linear-gradient(135deg, #144852, #175b67);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 10px;
  display: inline-block;
}

/* Cities */
.page-home .city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.page-home .city-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
}
.page-home .city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(11, 32, 39, 0.3);
}
.page-home .city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.page-home .city-card:hover img {
  transform: scale(1.06);
}
.page-home .city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 32, 39, 0.75) 0%, rgba(11, 32, 39, 0.1) 55%, transparent 100%);
}
.page-home .city-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
}
.page-home .city-name {
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
}
.page-home .city-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.page-home .city-follow {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #0b2027;
}

/* Research */
.page-home .research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.page-home .research-card {
  background: linear-gradient(135deg, #fff 70%, #f0fdfa 100%);
  border: 1px solid rgba(23, 91, 103, 0.1);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  color: inherit;
}
.page-home .research-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(11, 32, 39, 0.12);
  border-color: rgba(47, 143, 152, 0.25);
}
.page-home .research-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2f8f98;
  background: #eef7f7;
  border-radius: 99px;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 14px;
}
.page-home .research-name {
  font-size: 17px;
  font-weight: 700;
  color: #0b2027;
  margin-bottom: 8px;
}
.page-home .research-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* News */
.page-home .news-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.page-home .news-scroll::-webkit-scrollbar {
  display: none;
}
.page-home .news-card {
  flex-shrink: 0;
  width: 320px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 91, 103, 0.08);
  text-decoration: none;
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
  color: inherit;
}
.page-home .news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(11, 32, 39, 0.15);
}
.page-home .news-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e2e8f0;
}
.page-home .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.page-home .news-card:hover .news-img img {
  transform: scale(1.05);
}
.page-home .news-body {
  padding: 18px;
}
.page-home .news-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f8f98;
  background: #eef7f7;
  border-radius: 99px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.page-home .news-title {
  font-size: 15px;
  font-weight: 700;
  color: #0b2027;
  line-height: 1.4;
  margin-bottom: 8px;
}
.page-home .news-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

/* Animations */
@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-home .anim-fadeup {
  animation: homeFadeUp 0.6s ease both;
}
.page-home .anim-delay-1 {
  animation-delay: 0.1s;
}
.page-home .anim-delay-2 {
  animation-delay: 0.2s;
}
.page-home .anim-delay-3 {
  animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1100px) {
  .page-home .hero-layout {
    grid-template-columns: 1fr;
  }

  .page-home .hero-showcase {
    display: none;
  }

  .page-home .hero-content .hero-subtitle {
    max-width: 540px;
  }
}

@media (max-width: 1024px) {
  .page-home .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .dev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .page-home .highlights-layout {
    grid-template-columns: 1fr;
  }

  .page-home .hl-thumbs {
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .page-home .hl-thumb {
    flex: 0 0 220px;
    width: 220px;
  }

  .page-home .hl-stage {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
  }

  .page-home .hl-panel-img {
    min-height: 0;
    height: 180px;
  }

  .page-home .hl-panel-body {
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding: 16px;
  }

  .page-home .home-tools-row {
    grid-template-columns: 1fr;
  }
}
/* Short viewports — keep hero above the fold */
@media (max-height: 820px) and (min-width: 769px) {
  body.page-home {
    --home-trust-bar-height: 3rem;
  }

  .page-home .hero-subtitle {
    display: none;
  }

  .page-home .hero-stats {
    margin-bottom: 2rem;
  }

  .page-home .s-tab {
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  body.page-home {
    --home-trust-bar-height: 0px;
  }

  .page-home .hero {
    min-height: calc(100dvh - var(--site-header-height, 4rem));
    min-height: calc(100vh - var(--site-header-height, 4rem));
    padding: clamp(0.5rem, 1.5vh, 1rem) 0;
  }
  .page-home .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .why-item:nth-child(2) {
    border-right: none;
  }
  .page-home .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .city-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .research-grid {
    grid-template-columns: 1fr;
  }
  .page-home .trust-divider {
    display: none;
  }
  .page-home .sell-cta {
    padding: 36px 28px;
  }
  .page-home .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-home .hero-subtitle {
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }

  .page-home .hero-stats {
    gap: 0.75rem;
    margin-bottom: 0.625rem;
  }

  .page-home .hero-stat-divider {
    display: none;
  }

  .page-home .search-input-row {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
  }

  .page-home .search-city-chip {
    margin-right: 0;
    flex: 0 0 auto;
  }

  .page-home .search-input-wrap {
    flex: 1 1 calc(100% - 5.5rem);
    min-width: 0;
  }

  .page-home .search-btn {
    width: auto;
    margin-top: 0;
    padding: 8px 16px;
    flex-shrink: 0;
  }

  .page-home .locality-row {
    padding: 6px 8px 8px;
  }
}
@media (max-width: 640px) {
  .page-home .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .dev-card {
    flex: 0 0 min(85vw, 280px);
    min-width: min(85vw, 280px);
  }
}

/* Amazon-style shelf cards */
.page-home .home-section.shelf-section {
  padding: 48px 0;
}

.page-home [data-home-shelf-root].is-loading [data-home-shelf-grid] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.page-home .home-section.carousel-section {
  padding: 0 0 56px;
}

.page-home .shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.page-home .shelf-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 18px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 28px -18px rgba(15, 23, 42, 0.22);
}

.page-home .shelf-card__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0b2027;
  line-height: 1.35;
  margin-bottom: 14px;
}

.page-home .shelf-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
}

.page-home .shelf-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.page-home .shelf-tile__img {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eef0;
  margin-bottom: 8px;
}

.page-home .shelf-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

.page-home .shelf-tile:hover .shelf-tile__img img {
  transform: scale(1.03);
}

.page-home .shelf-tile__label {
  font-size: 12.5px;
  font-weight: 600;
  color: #0b2027;
  line-height: 1.35;
}

.page-home .shelf-tile__sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
}

.page-home .shelf-card__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #175b67;
  text-decoration: none;
}

.page-home .shelf-card__more:hover {
  color: #2f8f98;
  text-decoration: underline;
}

.page-home .carousel-shelf__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.page-home .carousel-shelf__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #0b2027;
  line-height: 1.2;
}

.page-home .carousel-shelf__see-more {
  font-size: 13px;
  font-weight: 600;
  color: #175b67;
  text-decoration: none;
}

.page-home .carousel-shelf__see-more:hover {
  text-decoration: underline;
}

.page-home .carousel-shelf__outer {
  position: relative;
}

.page-home .carousel-shelf__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

.page-home .carousel-shelf__track::-webkit-scrollbar {
  display: none;
}

.page-home .carousel-shelf__item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.page-home .carousel-shelf__img-wrap {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.page-home .carousel-shelf__img-wrap img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.2s;
}

.page-home .carousel-shelf__item:hover .carousel-shelf__img-wrap img {
  transform: scale(1.02);
}

.page-home .carousel-shelf__meta {
  padding: 8px 2px 0;
}

.page-home .carousel-shelf__price {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0b2027;
}

.page-home .carousel-shelf__loc {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.page-home .carousel-shelf__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-72%);
  z-index: 3;
  width: 42px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  color: #0b2027;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.15s;
}

.page-home .carousel-shelf:hover .carousel-shelf__nav,
.page-home .carousel-shelf:focus-within .carousel-shelf__nav {
  opacity: 1;
  pointer-events: auto;
}

.page-home .carousel-shelf__nav:hover {
  background: #fff;
}

.page-home .carousel-shelf__nav--prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.page-home .carousel-shelf__nav--next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

@media (max-width: 1100px) {
  .page-home .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-home .carousel-shelf__item {
    flex: 0 0 160px;
  }

  .page-home .carousel-shelf__img-wrap img {
    height: 160px;
  }

  .page-home .carousel-shelf__nav {
    opacity: 1;
    pointer-events: auto;
    width: 36px;
    height: 60px;
  }
}

@media (max-width: 600px) {
  .page-home .shelf-grid {
    grid-template-columns: 1fr;
  }
}
