* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Manrope", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
  background: #fafafa;
}
.btn-primary,
.btn-secondary,
.btn-view-all {
  border: none;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
  transform: none;
}
.btn-primary {
  background: #f39c12;
  color: #002e6e;
}
.btn-secondary {
  background: #002e6e;
}
.btn-view-all {
  background: #ffdc00;
  color: #002e6e;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-view-all:hover {
  transform: none;
}
.hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}
.hero-btns a,
.hero-btns button {
  min-width: 180px;
}
.hero-add-property {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
}
.hero-add-property:hover,
.hero-add-property:focus-visible {
  background: #ffdc00;
  border-color: #ffdc00;
  color: #002e6e;
  outline: none;
}

.hero-video-enabled {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.hero-video-stage,
.hero-video-shade {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-video-stage {
  z-index: 0;
}

.hero-video-shade {
  background:
    linear-gradient(120deg, rgba(0, 46, 110, 0.78), rgba(0, 46, 110, 0.5)),
    rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.hero-video-slide {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transform: scale(1.02);
  transition: opacity 900ms ease;
  width: 100%;
}

.hero-video-slide.active {
  opacity: 1;
}

.hero-video-enabled > :not(.hero-video-stage):not(.hero-video-shade) {
  position: relative;
  z-index: 2;
}

.property-listing-header.hero-video-enabled::before {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-slide {
    transition: none;
  }
}

.view-all-section {
  text-align: center;
  padding: 10px 0;
  display: flex;
}
.view-all-section .btn-view-all {
  min-width: 220px;
}
.btn-secondary,
.btn-view-all,
.btn-primary {
  text-align: center;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
.section {
  padding: 70px 0;
}
.bg-light {
  background: #f8f9fa;
}
#navbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 46, 110, 0.08);
  box-shadow: 0 12px 30px rgba(0, 30, 70, 0.08);
  display: flex;
  height: 78px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5000;
}
.nav-flex {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  width: 100%;
}
.logo {
  align-items: center;
  color: #002e6e;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-left: 0;
  min-width: max-content;
  padding: 6px 0;
  text-decoration: none;
  text-transform: uppercase;
}
.logo-mark {
  align-items: center;
  background: linear-gradient(135deg, #002e6e 0%, #014a9d 100%);
  border: 2px solid rgba(255, 220, 0, 0.75);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 46, 110, 0.2);
  color: #ffdc00;
  display: inline-flex;
  font-size: 1.15rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.logo-text {
  color: #002e6e;
  display: inline-flex;
  font-size: 1.08rem;
  gap: 6px;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo-text strong {
  color: #8a5200;
  font-size: inherit;
  letter-spacing: inherit;
}
.nav-links {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 4px;
  justify-content: center;
  list-style: none;
  margin: 0;
  min-width: 0;
}
.nav-links a {
  align-items: center;
  border-radius: 7px;
  color: #26364d;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 0 11px;
  position: relative;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(0, 46, 110, 0.07);
  color: #002e6e;
  outline: none;
}
.nav-links a::after {
  background: #f39c12;
  border-radius: 999px;
  bottom: 5px;
  content: "";
  height: 2px;
  left: 14px;
  opacity: 0;
  position: absolute;
  right: 14px;
  transform: scaleX(0.35);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-links .nav-cta {
  background: #ffdc00;
  box-shadow: 0 9px 18px rgba(255, 220, 0, 0.28);
  color: #002e6e;
  margin-left: 4px;
  padding: 0 15px;
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: #f39c12;
  color: #002e6e;
}
.nav-links .nav-cta::after {
  display: none;
}
.mobile-menu-btn {
  display: none;
  align-items: center;
  background: #f4f7fb;
  border: 1px solid rgba(0, 46, 110, 0.12);
  border-radius: 7px;
  color: #002e6e;
  cursor: pointer;
  font-size: 1.1rem;
  height: 42px;
  justify-content: center;
  width: 42px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
  background: #002e6e;
  border-color: #002e6e;
  color: #ffdc00;
  outline: none;
}
.nav-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 0;
  position: relative;
}
.google-sign-in {
  align-items: center;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 4px;
  color: #3c4043;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.google-sign-in[hidden],
.google-official-sign-in[hidden] {
  display: none !important;
}
.google-official-sign-in {
  flex: 0 0 auto;
}
.google-sign-in img {
  height: 18px;
  width: 18px;
}
.google-sign-in:hover,
.google-sign-in:focus-visible {
  background: #f8fafd;
  border-color: #d2e3fc;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.18);
  color: #3c4043;
  outline: none;
}
.google-sign-in:active {
  box-shadow: inset 0 1px 2px rgba(60, 64, 67, 0.3);
}
@media (min-width: 1181px) {
  #navbar .container {
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  .logo {
    margin-left: 0;
  }

  .nav-actions {
    margin-right: 0;
  }
}
.google-sign-in[aria-pressed="true"] {
  background: #002e6e;
  border-color: #002e6e;
  border-radius: 50%;
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
  min-height: 42px;
  padding: 0;
  width: 42px;
}
.google-sign-in[aria-pressed="true"] img {
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  display: block;
  height: 34px;
  object-fit: cover;
  width: 34px;
}
.google-sign-in[aria-pressed="true"] span {
  display: none;
}
.google-sign-in[aria-pressed="true"]:hover,
.google-sign-in[aria-pressed="true"]:focus-visible {
  background: #f39c12;
  border-color: #f39c12;
  color: #002e6e;
}
.profile-dropdown-menu[hidden] {
  display: none !important;
}
.profile-dropdown-menu {
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 46, 110, 0.16);
  display: grid;
  min-width: 210px;
  overflow: hidden;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 2500;
}
.profile-dropdown-menu a,
.profile-dropdown-menu button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #23364d;
  cursor: pointer;
  display: flex;
  font: 800 0.92rem "Manrope", Arial, sans-serif;
  gap: 10px;
  min-height: 40px;
  padding: 9px 11px;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}
.profile-dropdown-menu a:hover,
.profile-dropdown-menu a:focus-visible,
.profile-dropdown-menu button:hover,
.profile-dropdown-menu button:focus-visible {
  background: #eef5fc;
  color: #002e6e;
  outline: none;
}
.welcome-back-section[hidden] {
  display: none !important;
}
.google-signin-prompt[hidden] {
  display: none !important;
}
.google-signin-prompt {
  align-items: flex-start;
  background: rgba(32, 33, 36, 0.18);
  display: flex;
  inset: 0;
  justify-content: flex-end;
  padding: 96px 18px 18px;
  position: fixed;
  z-index: 3000;
}
.google-signin-card {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(32, 33, 36, 0.28);
  color: #202124;
  font-family: Arial, sans-serif;
  max-width: 452px;
  overflow: hidden;
  width: min(452px, 100%);
}
.google-consent-copy {
  background: #f1f3f4;
  padding: 16px 10px 36px;
}
.google-consent-copy h2 {
  color: #202124;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 4px;
}
.google-consent-copy p,
.google-share-text {
  color: #303134;
  font-size: 18px;
  line-height: 1.42;
}
.google-consent-copy a,
.google-share-text a {
  color: #0b57d0;
  font-weight: 600;
  text-decoration: none;
}
.google-account-box {
  background: #fff;
}
.google-account-header {
  align-items: center;
  border-bottom: 1px solid #dadce0;
  color: #5f6368;
  display: grid;
  font-size: 18px;
  font-weight: 600;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
  min-height: 60px;
  padding: 0 10px;
}
.google-prompt-logo {
  height: 28px;
  width: 28px;
}
.google-prompt-close {
  align-items: center;
  background: transparent;
  border: none;
  color: #5f6368;
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.google-prompt-close:hover,
.google-prompt-close:focus-visible {
  color: #202124;
  outline: none;
}
.google-account-user {
  align-items: center;
  display: flex;
  gap: 14px;
  padding: 26px 12px 18px;
}
.google-account-avatar {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 22px;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.google-account-user strong,
.google-account-user span {
  display: block;
}
.google-account-user strong {
  color: #3c4043;
  font-size: 18px;
  line-height: 1.2;
}
.google-account-user span {
  color: #5f6368;
  font-size: 16px;
}
.google-continue-btn {
  background: #1a73e8;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  min-height: 44px;
  margin: 0 14px 8px;
  width: calc(100% - 28px);
}
.google-continue-btn:hover,
.google-continue-btn:focus-visible {
  background: #1765cc;
  outline: none;
}
.google-share-text {
  padding: 0 10px 18px;
}
@media (max-width: 1120px) {
  .nav-flex {
    gap: 12px;
  }
  .logo-mark {
    height: 38px;
    width: 38px;
  }
  .logo-text {
    font-size: 0.94rem;
  }
  .nav-links a {
    font-size: 0.8rem;
    padding: 0 8px;
  }
  .nav-links .nav-cta {
    padding: 0 12px;
  }
  .google-sign-in {
    font-size: 13px;
    padding: 0 10px;
  }
}
@media (max-width: 1180px) {
  #navbar {
    height: 66px;
  }
  #navbar .container {
    padding: 0 14px;
  }
  .nav-flex {
    gap: 10px;
  }
  .logo {
    gap: 8px;
    min-width: 0;
  }
  .logo-mark {
    height: 36px;
    width: 36px;
  }
  .logo-text {
    font-size: 0.88rem;
    gap: 4px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-actions {
    margin-left: auto;
    order: 2;
  }
  .google-sign-in {
    font-size: 12px;
    min-height: 38px;
    padding: 0 9px;
  }
  .google-sign-in img {
    height: 16px;
    width: 16px;
  }
  .mobile-menu-btn {
    display: inline-flex;
    order: 3;
  }
  .nav-links {
    background: #fff;
    border: 1px solid rgba(0, 46, 110, 0.09);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 30, 70, 0.16);
    display: flex;
    flex-direction: column;
    gap: 4px;
    left: 14px;
    margin: 0;
    opacity: 0;
    order: 4;
    padding: 12px;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 58px;
    transform: translateY(-8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
    visibility: hidden;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
  .nav-links a {
    justify-content: flex-start;
    margin: 0;
    min-height: 44px;
    padding: 0 12px;
    width: 100%;
  }
  .nav-links .nav-cta {
    justify-content: center;
    margin-left: 0;
    margin-top: 6px;
  }
}
@media (hover: none) and (pointer: coarse) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #navbar {
    height: 66px;
  }

  #navbar .container,
  .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    width: 100%;
  }

  .nav-flex {
    gap: 10px;
  }

  .logo {
    gap: 8px;
    min-width: 0;
  }

  .logo-mark {
    height: 36px;
    width: 36px;
  }

  .logo-text {
    font-size: 0.78rem;
    gap: 4px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    display: inline-flex;
    order: 3;
  }

  .nav-links {
    background: #fff;
    border: 1px solid rgba(0, 46, 110, 0.09);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 30, 70, 0.16);
    display: flex;
    flex-direction: column;
    gap: 4px;
    left: 14px;
    margin: 0;
    opacity: 0;
    order: 4;
    padding: 12px;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 58px;
    transform: translateY(-8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
    visibility: hidden;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    justify-content: flex-start;
    margin: 0;
    min-height: 44px;
    padding: 0 12px;
    width: 100%;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-left: 0;
    margin-top: 6px;
  }

  .main-footer {
    width: 100%;
  }

  .footer-links-grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .contact-list a {
    font-size: clamp(0.78rem, 3.5vw, 0.94rem);
    max-width: 100%;
  }
}

@media (hover: none) and (pointer: coarse) and (min-width: 769px) {
  .hero {
    min-height: calc(100svh - 66px);
    padding: 72px 0 84px;
  }

  .hero-content {
    max-width: 920px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-content h1 {
    font-size: 5.2rem;
    line-height: 1.05;
    margin-bottom: 18px;
  }

  .hero-content > p {
    font-size: 1.55rem !important;
    line-height: 1.45;
    margin: 0 auto 26px !important;
    max-width: 760px;
  }

  .search-wrapper {
    border-radius: 18px;
    margin: 34px auto 24px;
    max-width: 920px;
    padding: 28px;
  }

  .search-category-tabs {
    gap: 28px;
    margin-bottom: 20px;
  }

  .s-tab {
    font-size: 1.25rem;
  }

  .main-search-bar {
    border-radius: 12px;
    height: 92px;
  }

  .city-selector {
    font-size: 1.2rem;
    padding: 0 22px;
    width: 170px;
  }

  .search-input-group {
    gap: 16px;
    padding: 0 22px;
  }

  .search-input-group input {
    font-size: 1.22rem;
    min-height: 60px;
  }

  .search-tools button,
  #location-btn {
    border-radius: 10px;
    font-size: 1.16rem;
    height: 58px;
    min-height: 58px;
    min-width: 58px;
    width: 58px;
  }

  .search-main-btn {
    font-size: 1.16rem;
    padding: 0 42px;
  }

  .hero-btns {
    gap: 18px;
    margin-top: 26px;
  }

  .hero-btns a,
  .hero-btns button {
    font-size: 1.12rem;
    min-height: 54px;
    min-width: 220px;
    padding: 14px 26px;
  }
}

.android-desktop-mode .hero {
  margin-top: 66px;
  min-height: 70svh;
  padding: 44px 0 52px;
}

.android-desktop-mode .hero-content {
  max-width: 1040px;
  padding-left: 34px;
  padding-right: 34px;
}

.android-desktop-mode .hero-content h1 {
  font-size: 7rem;
  line-height: 1.04;
  margin-bottom: 24px;
}

.android-desktop-mode .hero-content > p {
  font-size: 1.9rem !important;
  line-height: 1.45;
  margin: 0 auto 32px !important;
  max-width: 860px;
}

.android-desktop-mode .search-wrapper {
  border-radius: 22px;
  margin: 30px auto 22px;
  max-width: 1040px;
  padding: 30px;
}

.android-desktop-mode .search-category-tabs {
  gap: 34px;
  margin-bottom: 20px;
}

.android-desktop-mode .s-tab {
  font-size: 1.55rem;
}

.android-desktop-mode .main-search-bar {
  border-radius: 14px;
  height: 104px;
}

.android-desktop-mode .city-selector {
  font-size: 1.45rem;
  padding: 0 28px;
  width: 210px;
}

.android-desktop-mode .search-input-group {
  gap: 20px;
  padding: 0 28px;
}

.android-desktop-mode .search-input-group input {
  font-size: 1.45rem;
  min-height: 72px;
}

.android-desktop-mode .search-tools button,
.android-desktop-mode #location-btn {
  border-radius: 12px;
  font-size: 1.35rem;
  height: 64px;
  min-height: 64px;
  min-width: 64px;
  width: 64px;
}

.android-desktop-mode .search-main-btn {
  font-size: 1.35rem;
  padding: 0 52px;
}

.android-desktop-mode .hero-btns {
  gap: 22px;
  margin-top: 24px;
}

.android-desktop-mode .hero-btns a,
.android-desktop-mode .hero-btns button {
  font-size: 1.35rem;
  min-height: 62px;
  min-width: 270px;
  padding: 16px 34px;
}
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .logo-mark {
    height: 34px;
    width: 34px;
  }
  .logo-text {
    font-size: 0.72rem;
  }
  .google-sign-in {
    height: 38px;
    padding: 0 10px;
    width: 42px;
  }
  .google-sign-in span {
    display: none;
  }
}
.hero {
  min-height: 68vh;
  background:
    linear-gradient(rgba(0, 46, 110, 0.8), rgba(0, 46, 110, 0.7)),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=900&q=70");
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 78px;
  color: #fff;
  text-align: center;
}
.hero .locality-overlay,
.hero .locality-overlay *,
.hero .locality-btn,
.hero .locality-btn * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
.locality-overlay,
.locality-overlay span {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
.hero-content {
  width: 100%;
  max-width: 900px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.search-wrapper {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 12px;
  margin: 30px auto;
  position: relative;
  z-index: 5;
}
.search-category-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  justify-content: center;
}
.s-tab {
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.s-tab.active,
.s-tab:hover {
  border-bottom-color: #f39c12;
  font-weight: 700;
  color: #ffdc00;
}
.main-search-bar {
  display: flex;
  background: #fff;
  border-radius: 8px;
  height: 70px;
  overflow: visible;
  align-items: center;
  position: relative;
  z-index: 10;
}
.city-selector {
  width: 130px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-right: 1px solid #eee;
  color: #333;
  font-weight: 700;
  cursor: pointer;
  align-self: stretch;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.location-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  color: #002e6e;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  min-width: 220px;
  display: none;
  z-index: 3000;
  max-height: 260px;
  overflow: auto;
  text-align: left;
}
.location-item {
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}
.location-item:hover { background: #f5f7fb; }
.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px;
  color: #333;
}
.search-input-group input {
  border: none;
  outline: none;
  width: 100%;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.3;
  padding: 10px 0;
}
.search-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-tools button,
#location-btn {
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  height: 44px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #f7f9fc;
  color: #002e6e;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.search-tools button:hover,
.search-tools button:focus-visible,
#location-btn:hover,
#location-btn:focus-visible {
  background: #fff4d6;
  border-color: #f39c12;
  color: #002e6e;
}
.search-main-btn {
  background: #ffdc00;
  border: none;
  height: 100%;
  padding: 0 35px;
  font-weight: 700;
  cursor: pointer;
  color: #333;
  font-size: 1rem;
}
@media (max-width: 1180px) {
  .hero {
    margin-top: 66px;
    min-height: calc(100svh - 66px);
    padding: 44px 0 38px;
  }
  .hero-content {
    max-width: 900px;
    padding: 0 14px;
  }
  .hero-content h1 {
    font-size: 3rem;
    line-height: 1.12;
  }
  .hero-content > p {
    font-size: 1rem !important;
    line-height: 1.45;
    margin: 0 auto 16px !important;
    max-width: 460px;
  }
  .search-wrapper {
    margin: 18px auto 16px;
    max-width: 900px;
    padding: 16px;
    width: 100%;
  }
  .main-search-bar {
    min-height: 60px;
  }
  .search-main-btn {
    padding: 0 24px;
  }
  .hero-btns {
    margin-top: 12px;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: calc(100svh - 66px);
    padding: 22px 0 28px;
  }
  .hero-content h1 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
    line-height: 1.12;
    margin-bottom: 10px;
  }
  .hero-content > p {
    font-size: 0.95rem !important;
    line-height: 1.45;
    margin: 0 auto 12px !important;
    max-width: 320px;
  }
  .search-wrapper {
    margin: 14px auto 12px;
    max-width: 340px;
    padding: 12px;
    width: 100%;
  }
  .search-category-tabs {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 10px;
  }
  .s-tab {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    font-size: 0.78rem;
    gap: 4px;
    justify-content: center;
    min-height: 40px;
    text-align: center;
  }
  .main-search-bar {
    align-items: stretch;
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    overflow: visible;
  }
  .city-selector {
    align-self: auto;
    background: #fff;
    border-bottom: 1px solid #edf1f6;
    border-radius: 8px 8px 0 0;
    border-right: 0;
    min-height: 48px;
    padding: 0 16px;
    width: 100%;
  }
  .search-input-group {
    background: #fff;
    border-radius: 0 0 8px 8px;
    gap: 8px;
    min-height: 50px;
    padding: 0 12px;
    width: 100%;
  }
  .search-input-group input {
    font-size: 0.95rem;
    min-height: 44px;
    min-width: 0;
  }
  .search-tools {
    flex: 0 0 auto;
  }
  #location-btn {
    height: 40px;
    min-height: 40px;
    min-width: 40px;
    width: 40px;
  }
  .search-main-btn {
    border-radius: 8px;
    height: 48px;
    margin-top: 8px;
    min-height: 48px;
    padding: 0 18px;
    width: 100%;
  }
  .hero-btns {
    gap: 8px;
    margin-top: 6px;
  }
  .hero-btns a,
  .hero-btns button {
    min-width: 0;
    width: min(100%, 270px);
  }
}
@media (max-width: 1180px) and (hover: none) and (pointer: coarse) {
  .hero,
  .android-desktop-mode .hero {
    min-height: clamp(560px, calc(100svh - 66px), 760px);
    padding: 34px 0 42px;
  }
  .hero-content,
  .android-desktop-mode .hero-content {
    max-width: 900px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-content h1,
  .android-desktop-mode .hero-content h1 {
    font-size: clamp(2.8rem, 7vw, 4.4rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }
  .hero-content > p,
  .android-desktop-mode .hero-content > p {
    font-size: clamp(1rem, 2.2vw, 1.25rem) !important;
    line-height: 1.5;
    margin: 0 auto 20px !important;
    max-width: 660px;
  }
  .search-wrapper,
  .android-desktop-mode .search-wrapper {
    margin: 22px auto 18px;
    max-width: 860px;
    padding: 20px;
  }
  .android-desktop-mode .main-search-bar {
    height: 78px;
  }
  .android-desktop-mode .city-selector {
    font-size: 1.05rem;
    padding: 0 18px;
    width: 150px;
  }
  .android-desktop-mode .search-input-group {
    gap: 12px;
    padding: 0 18px;
  }
  .android-desktop-mode .search-input-group input {
    font-size: 1.05rem;
    min-height: 52px;
  }
  .android-desktop-mode .search-tools button,
  .android-desktop-mode #location-btn {
    font-size: 1rem;
    height: 48px;
    min-height: 48px;
    min-width: 48px;
    width: 48px;
  }
  .android-desktop-mode .search-main-btn {
    font-size: 1rem;
    padding: 0 28px;
  }
  .hero-btns,
  .android-desktop-mode .hero-btns {
    gap: 12px;
    margin-top: 14px;
  }
  .hero-btns a,
  .hero-btns button,
  .android-desktop-mode .hero-btns a,
  .android-desktop-mode .hero-btns button {
    font-size: 1rem;
    min-height: 48px;
    min-width: 180px;
    padding: 12px 22px;
  }
}
@media (max-width: 768px) {
  .hero,
  .android-desktop-mode .hero {
    min-height: clamp(520px, calc(100svh - 66px), 680px);
    padding: 22px 0 28px;
  }
  .android-desktop-mode .hero-content {
    padding-left: 14px;
    padding-right: 14px;
  }
  .android-desktop-mode .hero-content h1 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
    margin-bottom: 10px;
  }
  .android-desktop-mode .hero-content > p {
    font-size: 0.95rem !important;
    margin: 0 auto 12px !important;
    max-width: 320px;
  }
  .android-desktop-mode .search-wrapper {
    margin: 14px auto 12px;
    max-width: 340px;
    padding: 12px;
  }
  .android-desktop-mode .search-category-tabs {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 10px;
  }
  .android-desktop-mode .s-tab {
    font-size: 0.78rem;
    min-height: 40px;
  }
  .android-desktop-mode .main-search-bar {
    height: auto;
  }
  .android-desktop-mode .city-selector {
    border-bottom: 1px solid #edf1f6;
    border-radius: 8px 8px 0 0;
    border-right: 0;
    font-size: 1rem;
    min-height: 48px;
    padding: 0 16px;
    width: 100%;
  }
  .android-desktop-mode .search-input-group {
    border-radius: 0 0 8px 8px;
    gap: 8px;
    min-height: 50px;
    padding: 0 12px;
  }
  .android-desktop-mode .search-input-group input {
    font-size: 0.95rem;
    min-height: 44px;
  }
  .android-desktop-mode #location-btn,
  .android-desktop-mode .search-tools button {
    font-size: 1rem;
    height: 40px;
    min-height: 40px;
    min-width: 40px;
    width: 40px;
  }
  .android-desktop-mode .search-main-btn {
    border-radius: 8px;
    font-size: 1rem;
    height: 48px;
    margin-top: 8px;
    min-height: 48px;
    padding: 0 18px;
    width: 100%;
  }
  .android-desktop-mode .hero-btns {
    gap: 8px;
    margin-top: 6px;
  }
  .android-desktop-mode .hero-btns a,
  .android-desktop-mode .hero-btns button {
    font-size: 1rem;
    min-width: 0;
    width: min(100%, 270px);
  }
  .about-content {
    gap: 12px;
  }
  .about-content p {
    line-height: 1.65;
  }
  .about-highlights {
    gap: 16px;
    margin-top: 4px;
  }
  .about-highlights div {
    gap: 6px;
  }
  .about-highlights span {
    line-height: 1.62;
  }
}
@media (max-width: 480px) {
  .hero,
  .android-desktop-mode .hero {
    min-height: clamp(500px, calc(100svh - 66px), 640px);
    padding: 18px 0 24px;
  }
  .about-layout {
    gap: 22px;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .why-choose-card {
    padding: 18px;
  }
  .about-content {
    gap: 10px;
  }
  .about-highlights {
    gap: 14px;
  }
}
.view-btn {
  align-items: center;
  background: #002e6e;
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  margin-top: 18px;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.view-btn:hover {
  background: #f39c12;
  transform: translateY(-1px);

}
.loan-copy h2, .loan-copy p{
  margin-bottom: 0;
  margin-top: 0;
} 
.loan-hub-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 46, 110, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 40px;
}
.loan-stats-card {
  background: linear-gradient(135deg, #002e6e, #064b9d);
  border-radius: 14px;
  color: #fff;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.loan-benefits{
  padding: 14px;
}
.loan-expert-cta-box {
  display: grid;
  gap: 16px;
  margin: 24px 0 4px;
  padding: 20px;
}
.loan-expert-cta-box > div {
  align-items: center;
  display: flex;
  gap: 12px;
}
.loan-expert-cta-box > div i {
  align-items: center;
  background: #ffdc00;
  border-radius: 50%;
  color: #002e6e;
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.loan-expert-cta-box > div span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  line-height: 1.35;
}
.loan-expert-cta-box .loan-primary-btn {
  align-items: center;
  background: #f39c12;
  border: 1px solid #f39c12;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  color: #002e6e;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin: 0;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  width: fit-content;
}
.loan-expert-cta-box .loan-primary-btn:hover,
.loan-expert-cta-box .loan-primary-btn:focus-visible {
  background: #ffdc00;
  border-color: #ffdc00;
  color: #002e6e;
  outline: none;
  transform: translateY(-1px);
}
.loan-bank-picker {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.loan-bank-picker label {
  color: #002e6e;
  font-size: 0.84rem;
  font-weight: 800;
}
.loan-bank-picker select {
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 7px;
  color: #1d2d44;
  font: inherit;
  font-weight: 700;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}
.loan-bank-picker select {
  display: none;
}
.loan-bank-picker select:focus {
  border-color: #f39c12;
  outline: none;
}
.home-bank-combobox {
  position: relative;
}
.home-bank-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 7px;
  color: #002e6e;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 50px;
  padding: 8px 12px;
  text-align: left;
  width: 100%;
}
.home-bank-trigger:focus-visible {
  border-color: #f39c12;
  outline: none;
}
.home-bank-trigger > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-bank-trigger i {
  color: #002e6e;
  font-size: 0.76rem;
}
.home-bank-menu {
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 46, 110, 0.16);
  display: grid;
  gap: 4px;
  left: 0;
  max-height: 260px;
  overflow: auto;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
}
.home-bank-menu[hidden] {
  display: none;
}
.home-bank-option {
  align-items: center;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #1d2d44;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 46px;
  padding: 7px 9px;
  text-align: left;
  width: 100%;
}
.home-bank-option:hover,
.home-bank-option:focus-visible,
.home-bank-option.active {
  border-color: #f39c12;
  outline: none;
}
.home-bank-option.active {
  background: #fff9e8;
}
.home-bank-option strong {
  color: #002e6e;
  display: block;
  font-size: 0.88rem;
  line-height: 1.25;
}
.home-bank-option span:last-child {
  color: #607086;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.loan-bank-card {
  align-items: center;
  background: #f7faff;
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  margin-top: 16px;
  padding: 18px;
}
.bank-info h5,
.bank-info h3 {
  color: #002e6e;
  font-size: 1rem;
  margin-bottom: 4px;
}
.bank-info p {
  color: #607086;
  font-size: 0.88rem;
}
.btn-outline {
  align-items: center;
  background: #fff;
  border: 1px solid #002e6e;
  border-radius: 7px;
  color: #002e6e;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: #002e6e;
  color: #fff;
  outline: none;
}
.loan-apply-link {
  text-decoration: none;
  border:2px solid #002e6e;
  }

.locality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.locality-card {
  padding: 0;
  overflow: hidden;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.dash-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.65fr);
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid #dfe8f4;
  border-radius: 16px;
  box-shadow: 0 20px 52px rgba(0, 46, 110, 0.08);
  padding: 24px;
  position: relative;
}
.about-layout::before {
  content: "";
  position: absolute;
  display: none;
}
.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.about-content h2,
.about-content p {
  margin: 0;
}
.about-content h2 {
  color: #002e6e;
}
.about-content p {
  line-height: 1.75;
}
.about-highlights {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}
.about-highlights div {
  display: grid;
  gap: 8px;
}
.about-highlights strong {
  color: #002e6e;
  font-size: 1rem;
}
.about-highlights span {
  line-height: 1.7;
}
.about-image {
  max-width: 340px;
  justify-self: end;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.about-image img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
}
.why-choose-section {
  background:
    linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}
.why-choose-head {
  display: grid;
  gap: 10px;
  margin: 0 auto 28px;
  max-width: 820px;
  text-align: center;
}
.why-choose-head h2 {
  color: #172335;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  margin: 0;
}
.why-choose-head p {
  color: #536174;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}
.why-choose-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.why-choose-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 46, 110, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 46, 110, 0.07);
  display: grid;
  gap: 10px;
  justify-items: center;
  min-width: 0;
  padding: 22px;
  text-align: center;
}
.why-choose-card span {
  align-items: center;
  background: #fff7e8;
  border: 1px solid #f5c36e;
  border-radius: 8px;
  color: #f39c12;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.why-choose-card h3 {
  color: #172335;
  font-size: 1rem;
  line-height: 1.32;
  margin: 0;
}
.why-choose-card p {
  color: #536174;
  font-size: 0.92rem;
  line-height: 1.62;
  margin: 0;
}
@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loan-hub-panel {
    grid-template-columns: 1fr;
  }
}
#toast {
  visibility: hidden;
  min-width: 250px;
  background: #333;
  color: #fff;
  padding: 16px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  border-radius: 8px;
  z-index: 2000;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
#toast.show {
  visibility: visible;
  bottom: 50px;
  opacity: 1;
  transition: 0.4s;
}
.main-footer {
  background-color: #050505;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.12) 1.4px,
    transparent 1.4px
  );
  background-size: 34px 30px;
  color: #fff;
  padding: 56px 0 0;
  border-top: none;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 1.25fr;
  gap: 56px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 1024px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.footer-col h4,
.footer-col h2 {
  color: #ffdc00;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.9;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #ffdc00;
}
.contact-list a:hover,
.contact-list a:focus-visible,
.contact-list a:active {
  color: #fff;
  outline: none;
}
.contact-list li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.contact-list a {
  align-items: baseline;
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}
.contact-value {
  border-radius: 5px;
  color: inherit;
  padding: 1px 4px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.contact-list a:hover .contact-value,
.contact-list a:focus-visible .contact-value,
.contact-list a:active .contact-value {
  background: #ffdc00;
  color: #050505;
}
.contact-list i {
  flex: 0 0 auto;
  color: #ffdc00;
  margin-top: 5px;
}
.address {
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.app-links {
  margin-bottom: 28px;
}
.app-btn {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
  padding: 9px 14px;
}
.app-btn i {
  color: #ffdc00;
  font-size: 1.1rem;
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-links a {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #050505;
  display: flex;
  height: 40px;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  width: 40px;
}
.social-links a:hover {
  background: #ffdc00;
  color: #050505;
  transform: translateY(-2px);
}
.footer-bottom {
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  padding: 22px 0;
  text-align: center;
  position: relative;
}
.back-to-top {
  background: #ffdc00;
  border: none;
  border-radius: 50%;
  color: #050505;
  cursor: pointer;
  height: 42px;
  position: absolute;
  right: 96px;
  top: -22px;
  width: 42px;
}
@media (max-width: 768px) {
  .google-signin-prompt {
    justify-content: center;
    padding: 86px 10px 16px;
  }
  .google-consent-copy {
    padding-bottom: 24px;
  }
  .google-consent-copy h2 {
    font-size: 18px;
  }
  .google-consent-copy p,
  .google-share-text {
    font-size: 16px;
  }
  .google-account-header {
    font-size: 15px;
    gap: 10px;
  }
  .google-account-user strong,
  .google-continue-btn {
    font-size: 16px;
  }
  .google-account-user span {
    font-size: 14px;
  }
  .property-results-layout {
    grid-template-columns: 1fr;
  }
  .property-listing-header {
    padding: 56px 0 36px;
  }
  .property-listing-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .property-listing-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .property-listing-actions a {
    justify-content: center;
    width: 100%;
  }
  .property-filter-panel {
    position: static;
  }
  .property-results-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .property-results-bar select {
    width: 100%;
  }
  .property-content .specs {
    grid-template-columns: 1fr;
  }
  .logo {
    gap: 8px;
    margin-left: 0;
    min-width: 0;
  }
  .nav-flex {
    gap: 10px;
    justify-content: space-between;
    position: relative;
  }
  .logo-mark {
    font-size: 1rem;
    height: 36px;
    width: 36px;
  }
  .logo-text {
    font-size: 0.9rem;
    gap: 4px;
  }
  .nav-actions {
    margin-left: auto;
    order: 2;
  }
  .google-sign-in {
    font-size: 12px;
    min-height: 38px;
    padding: 0 9px;
  }
  .google-sign-in img {
    height: 16px;
    width: 16px;
  }
  .nav-links {
    background: #fff;
    border: 1px solid rgba(0, 46, 110, 0.09);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 30, 70, 0.16);
    display: flex;
    flex-direction: column;
    gap: 4px;
    left: 20px;
    margin: 0;
    opacity: 0;
    order: 4;
    padding: 12px;
    pointer-events: none;
    position: absolute;
    right: 20px;
    top: 58px;
    transform: translateY(-8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
    visibility: hidden;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
  .nav-links a {
    justify-content: flex-start;
    margin: 0;
    min-height: 44px;
    padding: 0 12px;
    width: 100%;
  }
  .nav-links .nav-cta {
    justify-content: center;
    margin-left: 0;
    margin-top: 6px;
  }
  .mobile-menu-btn {
    display: inline-flex;
    order: 3;
  }
  .loan-hub-panel {
    grid-template-columns: 1fr;
  }
  .loan-page-grid,
  .loan-input-grid,
  .loan-info-grid {
    grid-template-columns: 1fr;
  }
  .loan-page-hero {
    padding: 42px 0;
  }
  .loan-application-panel {
    padding: 20px;
  }
  .loan-result-grid {
    grid-template-columns: 1fr;
  }
  .loan-bank-head,
  .loan-bank-directory,
  .loan-bank-option {
    grid-template-columns: 1fr;
  }
  .loan-bank-option {
    align-items: start;
  }
  .loan-bank-option strong,
  .loan-bank-option button {
    width: 100%;
  }
  .detail-hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .sy-title-block {
    display: block;
  }
  .sy-title-actions {
    margin-top: 14px;
  }
  .detail-facts-strip {
    grid-template-columns: 1fr 1fr;
  }
  .detail-tabs {
    top: 78px;
  }
  .floor-card {
    grid-template-columns: 1fr;
  }
  .floor-card .detail-outline-btn {
    min-width: 0;
  }
  .detail-hero img {
    height: 280px;
  }
  .detail-hero-content {
    padding: 26px;
  }
  .detail-hero-content h1 {
    font-size: 1.65rem;
  }
  .agent-panel {
    position: static;
  }
  .about-layout {
    grid-template-columns: 1fr;
    background: #fff;
    padding: 18px;
  }
  .about-layout::before {
    display: none;
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-image {
    max-width: 100%;
    justify-self: stretch;
  }
  .about-image img {
    height: 220px;
  }
  .loan-expert-cta-box {
    margin-top: 18px;
    padding: 16px;
  }
  .loan-expert-cta-box .loan-primary-btn {
    width: 100%;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .back-to-top {
    right: 88px;
  }
}
@media (max-width: 480px) {
  .logo {
    gap: 6px;
  }
  .logo-mark {
    height: 34px;
    width: 34px;
  }
  .logo-text {
    font-size: 0.72rem;
  }
}
@media (max-width: 520px) {
  .detail-facts-strip,
  .detail-hero-actions,
  .agent-action-grid {
    grid-template-columns: 1fr;
  }
}
.zoom-effect {
  width: 300px; /* Set your base size */
  transition:
    transform 0.3s ease,
    filter 0.3s ease; /* Makes the movement smooth */
  cursor: pointer;
}
.zoom-effect:hover {
  transform: scale(1.1); /* Increases height and width by 10% */
  filter: brightness(1.2); /* Makes it look "highlighted" or brighter */
}
.bank-logo-wrap {
  align-items: center;
  background: #fff;
  border: 1px solid #e2eaf5;
  border-radius: 8px;
  color: #002e6e;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  padding: 7px;
  width: 48px;
}
.bank-logo-wrap i {
  font-size: 1.25rem;
}
.loan-panel-logo {
  background: #fff;
  border-color: rgba(0, 46, 110, 0.12);
  height: 50px;
  width: 50px;
}
.tab-headers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 40px;
}
.tab-headers button {
    align-items: center;
    padding: 10px 25px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    min-height: 44px;
    text-align: center;
    transition: 0.3s;
    white-space: normal;
}
.tab-headers button.active {
    background: #002e6e;
    color: #fff;
    border-color: #002e6e;
}
@media (max-width: 768px) {
    .tab-headers {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 28px;
        padding: 22px 0 28px;
    }
    .tab-headers button {
        border-radius: 8px;
        min-width: 0;
        padding: 11px 12px;
        width: 100%;
        word-break: normal;
    }
    #services .tab-headers {
        margin-left: auto;
        margin-right: auto;
        max-width: 520px;
        width: 100%;
    }
    #services .tab-headers button {
        min-height: 46px;
    }
}
@media (max-width: 380px) {
    .tab-headers {
        grid-template-columns: 1fr;
    }
}
.locality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.locality-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-grid-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}
.service-item {
    background: #fff;
    color: inherit;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-decoration: none;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.service-item:hover {
    box-shadow: 0 12px 28px rgba(0, 46, 110, 0.12);
    transform: translateY(-4px);
}
.service-item img {
    margin-bottom: 15px;
}
.service-item p {
    font-weight: 600;
    color: #002e6e;
}
.service-item span {
    align-items: center;
    color: #8a5200;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 7px;
    margin-top: 12px;
}
.localities-section {
    background: #f5f7fa;
}
.top-markets-section {
    background: #fff;
}
.top-markets-title {
    margin-bottom: 28px;
    max-width: 1180px;
}
.top-markets-title h2 {
    color: #172335;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}
.top-markets-title p {
    color: #536174;
    font-size: 1rem;
    line-height: 1.7;
}
.market-card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.market-card {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    overflow: hidden;
}
.market-card-head {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: 126px 1fr;
    padding: 20px;
}
.market-logo {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    color: #002e6e;
    display: flex;
    font-size: 3.2rem;
    height: 126px;
    justify-content: center;
    width: 126px;
}
.market-card h3 {
    color: #172335;
    font-size: 1.3rem;
    margin-bottom: 2px;
}
.market-card-head p {
    color: #536174;
    margin-bottom: 14px;
}
.market-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.market-stats span {
    color: #172335;
    font-size: 0.88rem;
}
.market-stats strong {
    display: block;
    font-size: 1rem;
}
.market-links {
    border-top: 1px solid #dfe5ec;
    display: grid;
    gap: 18px;
    padding: 20px;
}
.market-links a {
    align-items: center;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    color: #172335;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 20px;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}
.market-links a:hover {
    border-color: #f39c12;
    color: #002e6e;
}
.view-market-link {
    align-items: center;
    border-top: 1px solid #dfe5ec;
    color: #172335;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    margin-top: 26px;
    padding-top: 18px;
    text-decoration: none;
}
.view-market-link:hover {
    color: #f39c12;
}
.localities-section .section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}
.section-kicker {
    display: inline-block;
    color: #8a5200;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.localities-section .section-title h2 {
    color: #002e6e;
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.localities-section .section-title p {
    color: #637083;
    font-size: 1rem;
}
.locality-tabs {
    margin-bottom: 45px;
}
.locality-tabs button {
    min-width: 180px;
    border-radius: 50px;
    padding: 13px 26px;
    font-weight: 800;
}
.locality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.locality-card:hover {
    box-shadow: 0 18px 40px rgba(0, 46, 110, 0.14);
}
.locality-img-wrap {
    width: 100%;
    height: 220px;
    display: block;
    overflow: hidden;
    border-radius: 16px;
}
.locality-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 46, 110, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.locality-overlay span {
    background: #fff;
    color: #002e6e;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.locality-image-label {
    position: absolute;
    left: 16px;
    top: 16px;
    background: rgba(0, 46, 110, 0.8);
    padding: 8px 14px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 1;
}
.locality-card:hover .locality-image-label {
    background: rgba(0, 46, 110, 0.95);
}
.locality-card:hover .locality-overlay {
    opacity: 1;
}
.locality-card:hover .locality-overlay span {
    transform: translateY(0);
}
.locality-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.locality-card:hover .locality-img-wrap img {
    transform: scale(1.08);
}
.locality-info {
    padding: 24px;
}
.locality-info h3 {
    color: #002e6e;
    font-size: 1.35rem;
    margin-bottom: 10px;
}
.locality-info p {
    color: #526174;
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.locality-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.locality-tags span {
    background: #fff4d6;
    border: 1px solid #f0c56d;
    color: #6b3d00;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
}
.locality-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #002e6e;
    color: #fff;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 8px;
    font-weight: 800;
    transition: background 0.25s ease, color 0.25s ease;
}
.locality-btn:hover {
    background: #f39c12;
    color: #002e6e;
}
@media (max-width: 768px) {
    .localities-section .section-title h2 {
        font-size: 1.7rem;
    }
    .top-markets-title h2 {
        font-size: 1.7rem;
    }
    .market-card-head {
        grid-template-columns: 88px 1fr;
    }
    .market-logo {
        font-size: 2.2rem;
        height: 88px;
        width: 88px;
    }
    .locality-tabs {
        flex-direction: column;
        align-items: center;
    }
    .locality-tabs button {
        width: 100%;
        max-width: 280px;
    }
    .locality-grid {
        grid-template-columns: 1fr;
    }
}
.moving-news-section {
  background: #f8f9fa;
  margin-bottom: 40px;
  overflow: hidden;
  padding: 34px 0 44px;
}
.moving-news-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto 26px;
  max-width: 1200px;
  padding: 0 20px;
}
.moving-news-section h2 {
  color: #002e6e;
  margin: 0;
}
.moving-news-head a {
  align-items: center;
  background: #002e6e;
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}
.moving-news-head a:hover,
.moving-news-head a:focus-visible {
  background: #f39c12;
  color: #002e6e;
  outline: none;
}
.news-marquee {
  width: 100%;
  overflow: hidden;
}
.news-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: newsMove 25s linear infinite;
}
.news-card {
  width: 280px;
  background: #fff;
  border-radius: 12px;
  color: inherit;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0, 46, 110, 0.12);
  text-decoration: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.news-card:hover,
.news-card:focus-visible {
  box-shadow: 0 14px 34px rgba(0, 46, 110, 0.18);
  outline: none;
  transform: translateY(-4px);
}
.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.news-card h4,
.news-card h3 {
  color: #002e6e;
  font-size: 1rem;
  line-height: 1.4;
}
.article-news-copy {
  display: grid;
  gap: 7px;
  padding: 16px;
}
.article-news-copy span {
  color: #8a5200;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}
.article-news-copy p {
  color: #607086;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}
.news-card-empty {
  min-height: 180px;
  padding: 18px;
}
.news-track:hover {
  animation-play-state: paused;
}
@keyframes newsMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 700px) {
  .property-results-layout {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }
  .property-filter-panel {
    padding: 16px;
    position: static;
    top: auto;
    width: 100%;
  }
  .property-results-main,
  .property-map-panel,
  .property-locality-panel,
  .property-results-bar,
  .property-grid {
    min-width: 0;
    width: 100%;
  }
  .property-map-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .property-map-panel,
  .property-locality-panel {
    padding: 16px;
  }
  .property-map {
    height: 300px;
  }
  .property-map-legend {
    gap: 8px;
  }
  .property-listing-header {
    padding: 56px 0 36px;
  }
  .property-listing-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .property-listing-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .property-listing-actions a {
    justify-content: center;
    width: 100%;
  }
  .property-grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 0;
  }
  .property-locality-head,
  .property-results-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .property-sort-form,
  .property-results-bar select {
    width: 100%;
  }
  .property-content .specs {
    grid-template-columns: 1fr;
  }
  .career-hero {
    min-height: auto;
    padding: 128px 0 64px;
  }
  .career-intro-grid,
  .career-process-layout,
  .career-apply-grid,
  .career-section-head {
    grid-template-columns: 1fr;
  }
  .career-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .career-benefit-grid,
  .career-role-grid {
    grid-template-columns: 1fr;
  }
  .career-hero-actions a,
  .career-section-head a,
  .career-form button {
    width: 100%;
  }
}
.leaflet-control-attribution {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .main-footer {
    width: 100%;
  }

  .main-footer .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    width: 100%;
  }

  .footer-links-grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }
}

/* Homepage spacing refinement */
body:has(#home) #main-content .container {
  max-width: none;
  width: 100%;
}

body:has(#home) #main-content .hero-content {
  max-width: 900px;
}

body:has(#home) #main-content .moving-news-head,
body:has(#home) #main-content .top-markets-title,
body:has(#home) #main-content .welcome-back-section .dashboard-grid {
  max-width: none;
}

body:has(#home) #main-content .main-footer .container,
body:has(#home) #main-content .footer-links-grid {
  max-width: 1200px;
}

body:has(#home) .section {
  padding: 54px 0;
}

body:has(#home) #properties-section {
  padding-top: 56px;
}

body:has(#home) #about,
body:has(#home) #why-choose-us,
body:has(#home) #loan-hub,
body:has(#home) #localities,
body:has(#home) #top-markets,
body:has(#home) #services {
  padding-top: 50px;
  padding-bottom: 50px;
}

body:has(#home) .section-title,
body:has(#home) .why-choose-head,
body:has(#home) .localities-section .section-title,
body:has(#home) .top-markets-title {
  margin-bottom: 24px;
}

body:has(#home) .why-choose-grid,
body:has(#home) .loan-hub-panel,
body:has(#home) .market-card-grid,
body:has(#home) .locality-grid,
body:has(#home) .service-grid-display {
  gap: 26px;
}

body:has(#home) .tab-headers,
body:has(#home) .locality-tabs {
  margin-bottom: 28px;
}

body:has(#home) .view-all-section,
body:has(#home) .view-market-link {
  margin-top: 24px;
}

body:has(#home) .moving-news-section {
  margin-bottom: 0;
  padding: 38px 0 44px;
}

body:has(#home) .moving-news-head {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  body:has(#home) .section {
    padding: 40px 0;
  }

  body:has(#home) #properties-section,
  body:has(#home) #about,
  body:has(#home) #why-choose-us,
  body:has(#home) #loan-hub,
  body:has(#home) #localities,
  body:has(#home) #top-markets,
  body:has(#home) #services {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  body:has(#home) .section-title,
  body:has(#home) .why-choose-head,
  body:has(#home) .localities-section .section-title,
  body:has(#home) .top-markets-title {
    margin-bottom: 20px;
  }

  body:has(#home) .about-layout,
  body:has(#home) .why-choose-grid,
  body:has(#home) .loan-hub-panel,
  body:has(#home) .market-card-grid,
  body:has(#home) .locality-grid,
  body:has(#home) .service-grid-display {
    gap: 20px;
  }

  body:has(#home) .tab-headers,
  body:has(#home) .locality-tabs {
    margin-bottom: 22px;
  }

  body:has(#home) .moving-news-section {
    padding: 32px 0 36px;
  }
}

@media (max-width: 520px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}
