/* Home-page map (Phase: homepage map). Matches the site palette: navy #14213d, gold #c9a14a. */
.hm-map { position: relative; width: 100%; height: 540px; background: #e9edf3; border-radius: 6px; }
.hm-map .maplibregl-canvas { outline: none; }
.hm-chip {
  position: absolute; z-index: 3; top: 14px; left: 14px; max-width: calc(100% - 90px);
  background: #fff; color: #14213d; font-size: 13px; line-height: 1.35; font-weight: 600;
  padding: 9px 14px; border-radius: 10px; box-shadow: 0 4px 16px rgba(20,33,61,.18);
}
.hm-chip small { display: block; font-weight: 400; color: #6b7385; font-size: 11.5px; }
.hm-loading {
  position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(247,248,250,.85); color: #14213d; font-size: 14px; font-weight: 600; transition: opacity .25s;
}
.hm-loading.hide { opacity: 0; pointer-events: none; }
.hm-spin { width: 18px; height: 18px; border: 3px solid #cfd6e2; border-top-color: #14213d; border-radius: 50%; animation: hm-spin .7s linear infinite; }
@keyframes hm-spin { to { transform: rotate(360deg); } }
.hm-error { display: none; position: absolute; inset: 0; z-index: 5; align-items: center; justify-content: center; text-align: center; padding: 24px; background: #f7f8fa; color: #14213d; font-size: 15px; }
.hm-error.show { display: flex; flex-direction: column; gap: 12px; }

/* pins: same look as the search page */
.hm-pin {
  width: 16px; height: 16px; border-radius: 50%; background: #14213d; cursor: pointer; box-sizing: border-box;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .12s, background .12s; padding: 0;
}
.hm-pin--buy { background: #2d6a9f; }
.hm-pin:hover, .hm-pin:focus-visible, .hm-pin.is-active { background: #c9a14a; transform: scale(1.4); z-index: 10; outline: none; }
.hm-pin:focus-visible { box-shadow: 0 0 0 3px rgba(201,161,74,.5), 0 2px 6px rgba(0,0,0,.35); }

/* hover card */
.hm-popup { z-index: 20; }
.hm-popup .maplibregl-popup-content { padding: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.25); width: 240px; }
.hm-popup .maplibregl-popup-tip { border-top-color: #fff; border-bottom-color: #fff; }
.hm-pop-img { width: 100%; height: 130px; object-fit: cover; display: block; background: #dde4ef; }
.hm-pop-body { padding: 10px 12px 12px; }
.hm-pop-price { font-size: 16px; font-weight: 700; color: #14213d; }
.hm-pop-stats { font-size: 12px; color: #6b7385; margin: 3px 0 5px; }
.hm-pop-addr { font-size: 11.5px; color: #8a93a3; line-height: 1.4; margin-bottom: 9px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hm-pop-link { display: block; text-align: center; padding: 8px; background: #14213d; color: #fff !important; border-radius: 7px; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.hm-pop-link:hover, .hm-pop-link:focus-visible { background: #233a5c; }

.hm-foot { text-align: center; padding: 28px 0 8px; }
.hm-foot p { margin: 0 0 14px; color: #6b7385; font-size: 14px; }

@media (max-width: 991px) { .hm-map { height: 480px; } }
@media (max-width: 767px) {
  .hm-map { height: 420px; }
  .hm-chip { top: 10px; left: 10px; font-size: 12px; padding: 7px 11px; }
  .hm-popup .maplibregl-popup-content { width: 210px; }
  .hm-pop-img { height: 110px; }
  .hm-foot { padding-top: 22px; }
  .hm-foot .cmn-btn { width: 100%; max-width: 360px; }
}
@media (max-width: 479px) { .hm-map { height: 380px; } .map-wrap-btns { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .hm-pin, .hm-loading { transition: none; } .hm-spin { animation-duration: 2s; } }

/* Why-choose-us: uploaded photos fill the circle instead of floating small inside it */
.why-cho-col-icon { overflow: hidden; background-color: #e8e1c4; box-shadow: 0 6px 18px rgba(20,33,61,.12); }
.why-cho-col-icon img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }

/* ── Home page: "What Our Clients Say" – compact, equal-height cards in the site's navy + gold ── */
.testimonial-sec { padding: 70px 0 64px; }
.testimonial-sec .cmn-hd p { max-width: 560px; }
.js-testimonial .slick-track { display: flex !important; }
.js-testimonial .slick-slide { height: auto; }
.js-testimonial .slick-slide > div { height: 100%; }
.testimonial-item-col { padding: 0 10px; height: 100%; }
.js-testimonial .slick-list { margin: 0 -10px; padding-right: 60px; }
.testimonial-item {
  display: flex; flex-direction: column; height: 100%; padding: 26px 26px 22px;
  background: #fff; border: 1px solid #e6e8ee; border-radius: 14px;
  box-shadow: 0 6px 22px rgba(20,33,61,.06);
}
.slick-current.slick-active .testimonial-item { background: #f7f2e2; border-color: #c9a14a; box-shadow: 0 10px 28px rgba(20,33,61,.10); }
.testimonial-item .quote-icon { position: static; max-width: 34px; margin: 0 0 12px; opacity: .35; }
.slick-current.slick-active .testimonial-item .quote-icon { opacity: .6; }
.testimonial-item p { font-size: .95rem; line-height: 1.65; color: #4a5568; -webkit-line-clamp: 4; margin: 0 0 14px; }
.read-story { align-self: flex-start; font-size: .85rem; font-weight: 700; color: #14213d; border-bottom: 2px solid #c9a14a; margin-bottom: 14px; }
.client-info { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(20,33,61,.1); gap: 14px; align-items: center; }
.client-img { width: 48px; height: 48px; }
.client-img img { width: 100%; height: 100%; object-fit: cover; }
.client-text { min-width: 0; }
.client-text h4 { font-size: 1rem; font-weight: 700; color: #14213d; margin: 0 0 2px; overflow-wrap: anywhere; }
.client-text span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; line-height: 1.4; color: #6b7385; }
.client-text ul { margin: 6px 0 0; padding: 0; }
.client-text ul li i { font-size: 11px; }
.js-testimonial .slick-arrow { top: -96px; }
@media (max-width: 767px) {
  .testimonial-sec { padding: 48px 0 44px; }
  .testimonial-item { padding: 22px 20px 18px; }
  .js-testimonial .slick-list { padding-right: 36px; }
  .js-testimonial .slick-arrow { top: -78px; }
}