/* Buyer-focused layer: faster discovery, richer proof and side-by-side decisions. */
.buyer-featured {
  background: #f5f0e8;
  padding-top: clamp(82px, 9vw, 138px);
}

.buyer-featured-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 46px;
}

.buyer-featured-head h2 {
  max-width: 980px;
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 500;
  line-height: .91;
  letter-spacing: -.045em;
}

.buyer-featured-head h2 em { color: var(--pink); }
.buyer-featured-head > p { max-width: 430px; margin: 0 0 8px; color: #5a6570; font-size: 16px; line-height: 1.7; }

.buyer-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.buyer-feature-card {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #07182d;
  color: #fff;
  cursor: pointer;
  isolation: isolate;
}

.buyer-feature-card:nth-child(1), .buyer-feature-card:nth-child(4) { margin-top: 46px; }
.buyer-feature-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.buyer-feature-card:hover > img { transform: scale(1.045); }
.buyer-feature-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(5,17,35,.12) 0%, rgba(5,17,35,.35) 42%, rgba(5,17,35,.96) 100%); }
.buyer-feature-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.buyer-feature-content > div { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buyer-feature-content > div span, .buyer-feature-content > div b { padding: 8px 10px; background: rgba(5,17,35,.72); backdrop-filter: blur(10px); font-size: 8px; letter-spacing: .13em; }
.buyer-feature-content > div b { background: #ff3ca6; }
.buyer-feature-content h3 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(38px, 3.2vw, 58px); font-weight: 500; line-height: .94; }
.buyer-feature-content > p { min-height: 68px; margin: 0 0 22px; color: #dce5ec; font-size: 13px; line-height: 1.55; }
.buyer-feature-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 0; margin: 0 0 14px; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); list-style: none; }
.buyer-feature-content li { min-width: 0; }
.buyer-feature-content small { display: block; margin-bottom: 5px; color: #9eb0bf; font-size: 7px; letter-spacing: .12em; }
.buyer-feature-content li strong { display: block; font-size: 10px; line-height: 1.35; }
.buyer-feature-content > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 0 0; border: 0; background: none; color: #fff; font: inherit; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.buyer-feature-content > button span { color: #ff3ca6; font-size: 18px; }

.buyer-featured-actions { display: flex; justify-content: center; gap: 12px; padding-top: 42px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px;
  background: rgba(255,255,255,.14);
  color: #fff;
}
.trust-strip > div { position: relative; min-height: 190px; padding: 42px clamp(22px, 3vw, 48px); background: #07182d; }
.trust-strip span { position: absolute; right: 22px; top: 18px; color: rgba(255,255,255,.18); font-family: var(--serif); font-size: 48px; }
.trust-strip strong { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.trust-strip small { display: block; max-width: 260px; color: #9dafbe; font-size: 12px; line-height: 1.6; }

.purchase-path { background: #eef4f3; }
.purchase-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(7,24,45,.16); border-left: 1px solid rgba(7,24,45,.16); }
.purchase-path-grid article { position: relative; min-height: 300px; padding: 38px; border-right: 1px solid rgba(7,24,45,.16); border-bottom: 1px solid rgba(7,24,45,.16); }
.purchase-path-grid b { position: absolute; right: 28px; top: 20px; color: rgba(7,24,45,.13); font-family: var(--serif); font-size: 62px; font-weight: 500; }
.purchase-path-grid span { display: block; margin-bottom: 74px; color: #287c72; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.purchase-path-grid h3 { max-width: 280px; margin: 0 0 14px; font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; }
.purchase-path-grid p { max-width: 330px; margin: 0; color: #52616c; font-size: 13px; line-height: 1.65; }

.project-grid:not(.expanded) .project-card:nth-child(n+7) { display: none; }
.projects-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(420px, 100%);
  margin: 34px auto 0;
  padding: 17px 22px;
  border: 1px solid rgba(7,24,45,.18);
  background: transparent;
  color: #07182d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.projects-more:hover { border-color: #ff3ca6; color: #a73575; }
.projects-more span { font-size: 18px; }
.projects-more[hidden] { display: none; }
.modal-map { display: inline-flex; margin-top: 16px; color: #0c6d65; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }
.modal-map:hover { color: #ff3ca6; }
.modal-fit > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.modal-fit > div span { padding: 11px 14px; border: 1px solid rgba(7,24,45,.15); background: #f5f0e8; color: #24394d; font-size: 11px; font-weight: 700; }
.modal-actions { flex-wrap: wrap; }
.modal-actions button.button { font: inherit; cursor: pointer; }

.compare-bar {
  position: fixed;
  z-index: 85;
  left: 50%;
  bottom: 18px;
  width: min(920px, calc(100% - 190px));
  min-height: 78px;
  padding: 12px 12px 12px 22px;
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(240px, 1.4fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(7,24,45,.96);
  box-shadow: 0 24px 70px rgba(2,10,20,.32);
  color: #fff;
  backdrop-filter: blur(18px);
  transform: translate(-50%, calc(100% + 45px));
  opacity: 0;
  pointer-events: none;
  transition: .35s ease;
}
.compare-bar.open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.compare-bar > div:first-child small { display: block; margin-bottom: 5px; color: #8fdacf; font-size: 7px; letter-spacing: .16em; }
.compare-bar > div:first-child strong { font-size: 12px; }
.compare-mini { display: flex; gap: 7px; overflow: hidden; }
.compare-mini button { min-width: 0; height: 48px; padding: 4px 8px 4px 4px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.07); color: #fff; cursor: pointer; }
.compare-mini img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }
.compare-mini span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.compare-mini b { color: #ff7ebf; }
.compare-bar > button { height: 52px; padding: 0 22px; border: 0; border-radius: 10px; background: #ff3ca6; color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.compare-bar > button:disabled { background: rgba(255,255,255,.12); color: #8b9aa8; cursor: not-allowed; }
body.compare-active .contact-float { bottom: 112px; }

.compare-dialog { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: .25s ease; }
.compare-dialog.open { visibility: visible; opacity: 1; }
.compare-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,12,25,.82); backdrop-filter: blur(8px); }
.compare-panel { position: relative; width: min(1180px, calc(100% - 34px)); max-height: calc(100vh - 34px); overflow: auto; background: #f5f0e8; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.compare-head { position: sticky; z-index: 3; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 34px 40px; background: #07182d; color: #fff; }
.compare-head span { color: #8fdacf; font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.compare-head h2 { margin: 8px 0 6px; font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; }
.compare-head p { max-width: 650px; margin: 0; color: #aebdca; font-size: 12px; }
.compare-head > button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.compare-table-wrap { overflow-x: auto; padding: 0 28px; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; color: #152b3f; }
.compare-table th, .compare-table td { padding: 18px; border-bottom: 1px solid rgba(7,24,45,.14); border-right: 1px solid rgba(7,24,45,.1); text-align: left; vertical-align: top; }
.compare-table thead th { min-width: 220px; padding-top: 28px; }
.compare-table thead th:first-child, .compare-table tbody th { width: 150px; min-width: 150px; color: #6d7882; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.compare-table thead img { width: 100%; height: 140px; margin-bottom: 14px; object-fit: cover; }
.compare-table thead span { display: block; margin-bottom: 5px; color: #8b4b73; font-size: 8px; letter-spacing: .1em; }
.compare-table thead strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 600; }
.compare-table thead button { margin-top: 12px; padding: 0; border: 0; background: none; color: #a44b7d; font-size: 9px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.compare-table td { font-size: 12px; font-weight: 600; line-height: 1.45; }
.compare-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 40px 34px; }
.compare-foot > button { padding: 12px 0; border: 0; background: none; color: #8b4b73; font-size: 10px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
body.compare-dialog-open { overflow: hidden; }

@media (max-width: 1050px) {
  .buyer-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .buyer-feature-card:nth-child(n) { margin-top: 0; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .purchase-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purchase-path-grid article { padding: 34px 30px; }
}

@media (max-width: 680px) {
  .buyer-featured-head { display: block; }
  .buyer-featured-head > p { margin-top: 24px; }
  .buyer-featured-grid { display: flex; gap: 12px; margin-right: -20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 20px; }
  .buyer-feature-card { flex: 0 0 84vw; min-height: 570px; scroll-snap-align: start; }
  .buyer-feature-content { padding: 24px; }
  .buyer-feature-content h3 { font-size: 46px; }
  .buyer-featured-actions { align-items: stretch; flex-direction: column; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { min-height: 155px; }
  .purchase-path-grid { grid-template-columns: 1fr; }
  .purchase-path-grid article { min-height: 255px; padding: 30px 24px; }
  .purchase-path-grid span { margin-bottom: 58px; }
  .compare-bar { left: 10px; right: 10px; bottom: 10px; width: auto; min-height: 88px; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 10px 10px 16px; border-radius: 14px; transform: translateY(calc(100% + 35px)); }
  .compare-bar.open { transform: translateY(0); }
  .compare-mini { display: none; }
  .compare-bar > button { padding: 0 14px; }
  body.compare-active .contact-float { bottom: 112px; }
  .compare-panel { width: calc(100% - 16px); max-height: calc(100vh - 16px); }
  .compare-head { padding: 26px 20px; }
  .compare-head h2 { font-size: 38px; }
  .compare-table-wrap { padding: 0 12px; }
  .compare-foot { align-items: stretch; flex-direction: column-reverse; padding: 22px 20px 28px; }
  .compare-foot .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .buyer-feature-card > img, .compare-bar, .compare-dialog { transition: none; }
}
