/* ==========================================================================
   Zillionaire Realty — property landing page
   Loaded only on the property-detail route (see views/layout.php).

   Everything is namespaced under .pd so the campaign layout can be opinionated
   without leaking into the Homelengo theme that drives the rest of the site.
   Palette matches the site: brass #b6892b · ink #161e2d · slate #5c6368
   ========================================================================== */

.pd {
  --brass: #b6892b;
  --brass-d: #96701f;
  --brass-l: #d9ae52;
  --ink: #161e2d;
  --ink-2: #1f2939;
  --slate: #5c6368;
  --line: #e6e3dd;
  --soft: #faf8f4;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 14px 40px rgba(22, 30, 45, .10);
  --shadow-lg: 0 24px 60px rgba(22, 30, 45, .18);

  color: var(--ink);
  font-size: 16px;
}

.pd *,
.pd *::before,
.pd *::after { box-sizing: border-box; }

.pd img { max-width: 100%; }

/* ---------- shared type ---------- */
.pd-h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.01em;
}
.pd-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
}
.pd-eyebrow-light { color: var(--brass-l); }
.pd-head { margin-bottom: 28px; }
.pd-head-center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 42px; }
.pd-head-sub { margin: 14px 0 0; color: var(--slate); font-size: 15px; }
.pd-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
  font-weight: 500;
}
.pd-muted { color: #9aa0a6; }

.pd-prose { color: var(--slate); font-size: 15.5px; line-height: 1.78; }
.pd-prose p { margin: 0 0 15px; }
.pd-prose p:last-child { margin-bottom: 0; }
.pd-prose h2, .pd-prose h3, .pd-prose h4 { color: var(--ink); margin: 26px 0 10px; font-size: 19px; font-weight: 600; }
.pd-prose ul, .pd-prose ol { margin: 0 0 15px; padding-left: 20px; }
.pd-prose li { margin-bottom: 7px; }
.pd-prose a { color: var(--brass); text-decoration: underline; }

/* ---------- sections ---------- */
.pd-section { padding: 74px 0; background: var(--white); }
.pd-section-alt { background: var(--soft); }
.pd-section-dark { background: var(--ink); color: rgba(255, 255, 255, .82); }
.pd-section-dark .pd-h2 { color: #fff; }
.pd-section-dark .pd-head-sub { color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .12s, box-shadow .2s;
  white-space: nowrap;
}
.pd-btn:hover { transform: translateY(-1px); text-decoration: none; }
.pd-btn:active { transform: translateY(0); }
.pd-btn:focus-visible { outline: 3px solid rgba(182, 137, 43, .45); outline-offset: 2px; }
.pd-btn .icon { font-size: 15px; }

.pd-btn-primary { background: var(--brass); color: #fff; box-shadow: 0 6px 18px rgba(182, 137, 43, .28); }
.pd-btn-primary:hover { background: var(--brass-d); color: #fff; box-shadow: 0 10px 24px rgba(182, 137, 43, .34); }

.pd-btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.pd-btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.pd-btn-outline-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.pd-btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.pd-btn-ghost { background: transparent; color: var(--slate); border-color: var(--line); }
.pd-btn-ghost:hover { background: var(--soft); color: var(--ink); }

.pd-btn-play { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); }
.pd-btn-play:hover { background: #fff; color: var(--ink); }

.pd-btn-sm { padding: 9px 18px; font-size: 13px; }
.pd-btn-block { width: 100%; }
.pd-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.pd-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pd-cta-center { justify-content: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.pd-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 60px;
  overflow: hidden;
  background: var(--ink);
}
.pd-hero-slider { position: absolute; inset: 0; height: 100%; }
.pd-hero-slider .swiper-wrapper { height: 100%; }
.pd-hero-slider .swiper-slide { height: 100%; }
.pd-hero-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pd-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 17, 26, .70) 0%, rgba(12, 17, 26, .30) 30%, rgba(12, 17, 26, .86) 100%),
    linear-gradient(90deg, rgba(12, 17, 26, .72) 0%, rgba(12, 17, 26, .12) 62%);
}
.pd-hero-inner { position: relative; z-index: 2; width: 100%; }

.pd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: end;
}
.pd-hero-copy { color: #fff; max-width: 720px; }

.pd-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--brass);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pd-ribbon .icon { font-size: 12px; }

.pd-hero-title {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.pd-hero-place { font-size: 16.5px; color: rgba(255, 255, 255, .82); margin: 0 0 24px; }

.pd-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pd-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}
.pd-hero-stat .v { font-size: 16px; font-weight: 600; color: #fff; line-height: 1.2; }
.pd-hero-stat .l { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }

.pd-hero-usp { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.pd-hero-usp li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.pd-hero-usp .icon { color: var(--brass-l); font-size: 13px; flex-shrink: 0; }

.pd-hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.pd-hero-price-l { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 3px; }
.pd-hero-price-v { display: block; font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; color: #fff; line-height: 1.1; }
.pd-hero-price-n { display: block; margin-top: 5px; font-size: 13px; color: var(--brass-l); }
.pd-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* hero slider pagination */
.pd-hero-pagination {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pd-hero-pagination .swiper-pagination-bullet {
  width: 26px; height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, .45);
  opacity: 1;
  transition: background-color .25s;
}
.pd-hero-pagination .swiper-pagination-bullet-active { background: var(--brass-l); }

/* ---------- hero capture card ---------- */
.pd-hcard {
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pd-hcard-head { padding: 20px 24px 16px; background: var(--ink); color: #fff; }
.pd-hcard-head h2 { font-size: 19px; font-weight: 600; margin: 0 0 4px; color: #fff; }
.pd-hcard-head p { margin: 0; font-size: 13px; color: var(--brass-l); }
.pd-inline-form { padding: 22px 24px 24px; }
.pd-hcard-note { margin: 12px 0 0; font-size: 12px; color: var(--slate); text-align: center; line-height: 1.5; }

/* ==========================================================================
   Sticky section nav
   ========================================================================== */
.pd-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(22, 30, 45, .05);
}
.pd-nav-inner { display: flex; align-items: center; gap: 16px; }
.pd-nav-scroll {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pd-nav-scroll::-webkit-scrollbar { display: none; }
.pd-nav-scroll a {
  position: relative;
  padding: 18px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s;
}
.pd-nav-scroll a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform .25s;
}
.pd-nav-scroll a:hover { color: var(--ink); }
.pd-nav-scroll a.is-active { color: var(--brass); }
.pd-nav-scroll a.is-active::after { transform: scaleX(1); }
.pd-nav-cta { flex-shrink: 0; }

/* ==========================================================================
   Overview
   ========================================================================== */
.pd-overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 52px; align-items: start; }

.pd-clamp { position: relative; max-height: 260px; overflow: hidden; transition: max-height .4s ease; }
.pd-clamp::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 88%);
  pointer-events: none;
  transition: opacity .3s;
}
.pd-clamp.is-open { max-height: 5000px; }
.pd-clamp.is-open::after { opacity: 0; }
.pd-readmore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brass);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.pd-readmore .icon { font-size: 11px; transition: transform .25s; }
.pd-readmore[aria-expanded="true"] .icon { transform: rotate(180deg); }

.pd-facts {
  padding: 28px 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
}
.pd-facts-title { font-size: 17px; font-weight: 600; margin: 0 0 16px; color: var(--ink); }
.pd-facts dl { margin: 0; }
.pd-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.pd-fact:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-fact dt { font-size: 13px; color: var(--slate); margin: 0; flex-shrink: 0; }
.pd-fact dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; }

/* ==========================================================================
   Price
   ========================================================================== */
.pd-price-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pd-price-table { width: 100%; border-collapse: collapse; }
.pd-price-table thead th {
  padding: 16px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
}
.pd-price-table td { padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); vertical-align: middle; }
.pd-price-table tbody tr:last-child td { border-bottom: 0; }
.pd-price-table tbody tr:hover { background: var(--soft); }
.pd-price-table td:last-child { text-align: right; }
.pd-price-table strong { font-size: 16px; font-weight: 600; color: var(--ink); }

.pd-costing {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pd-costing-copy h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.pd-costing-copy p { margin: 0 0 20px; color: var(--slate); font-size: 15px; line-height: 1.7; }

.pd-costing-sheet {
  position: relative;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pd-costing-rows { display: grid; gap: 12px; }
.pd-costing-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--slate); }
.pd-costing-row b { color: var(--ink); }
.pd-costing-sheet.is-locked .pd-costing-rows { filter: blur(4px); user-select: none; }
.pd-lock-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-lock-badge .icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--brass);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 22px rgba(182, 137, 43, .4);
}

/* ==========================================================================
   Floor plans
   ========================================================================== */
.pd-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.pd-plan-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.pd-plan-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pd-plan-media { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.pd-plan-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: filter .3s; }
.pd-plan-media.is-locked img { filter: blur(9px); transform: scale(1.06); }
.pd-plan-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(22, 30, 45, .34);
}
.pd-plan-veil > .icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--brass);
  font-size: 18px;
}
.pd-plan-zoom {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 30, 45, .78);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s;
}
.pd-plan-card:hover .pd-plan-zoom { opacity: 1; }
.pd-plan-card figcaption { padding: 15px 18px; font-size: 15px; font-weight: 600; text-align: center; color: var(--ink); border-top: 1px solid var(--line); }

/* ==========================================================================
   Amenities
   ========================================================================== */
.pd-amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
.pd-amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  transition: background-color .25s, border-color .25s, transform .25s;
}
.pd-amenity:hover { background: rgba(182, 137, 43, .14); border-color: var(--brass); transform: translateY(-3px); }
.pd-amenity .icon { font-size: 27px; color: var(--brass-l); }
.pd-amenity span { font-size: 13.5px; color: rgba(255, 255, 255, .88); line-height: 1.4; }
.pd-amenity-note { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.pd-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; }
.pd-tabs-wrap { flex-wrap: wrap; justify-content: flex-start; margin-bottom: 20px; }
.pd-tabs button {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--slate);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pd-tabs button:hover { border-color: var(--brass); color: var(--brass); }
.pd-tabs button.is-active { background: var(--brass); border-color: var(--brass); color: #fff; }

.pd-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pd-gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--soft);
}
.pd-gallery-item[hidden] { display: none; }
.pd-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pd-gallery-item:hover img { transform: scale(1.07); }
.pd-gallery-zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  background: rgba(22, 30, 45, .42);
  opacity: 0;
  transition: opacity .25s;
}
.pd-gallery-item:hover .pd-gallery-zoom { opacity: 1; }

/* ==========================================================================
   Location
   ========================================================================== */
.pd-location-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pd-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.pd-map iframe { display: block; width: 100%; height: 460px; border: 0; }

.pd-landmarks { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pd-landmark-list { list-style: none; margin: 0; padding: 0; display: none; max-height: 330px; overflow-y: auto; }
.pd-landmark-list.is-active { display: block; }
.pd-landmark-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}
.pd-landmark-list li:last-child { border-bottom: 0; }
.pd-landmark-list li span { display: flex; align-items: center; gap: 9px; }
.pd-landmark-list li .icon { color: var(--brass); font-size: 14px; }
.pd-landmark-list li b { color: var(--brass); font-size: 13.5px; white-space: nowrap; }

/* ==========================================================================
   Virtual site visit
   ========================================================================== */
.pd-sitevisit {
  position: relative;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: #fff;
}
.pd-sitevisit-scrim { position: absolute; inset: 0; background: rgba(12, 17, 26, .76); }
.pd-sitevisit-inner { position: relative; z-index: 2; max-width: 700px; }
.pd-sitevisit .pd-h2 { color: #fff; }
.pd-sitevisit p { margin: 14px 0 0; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.7; }

/* ==========================================================================
   Developer + RERA
   ========================================================================== */
.pd-dev-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 46px; align-items: start; }
.pd-rera {
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.pd-rera h3 { font-size: 17px; font-weight: 600; margin: 0 0 18px; color: var(--ink); }
.pd-rera-qr { width: 150px; height: 150px; object-fit: contain; background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.pd-rera-no { margin-bottom: 14px; }
.pd-rera-no span { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.pd-rera-no b { font-size: 17px; font-weight: 600; color: var(--brass); letter-spacing: .04em; }
.pd-rera-note { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--slate); }
.pd-rera-note a { color: var(--brass); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.pd-faq { max-width: 860px; margin-inline: auto; }
.pd-faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.pd-faq-item.is-open { border-color: var(--brass); box-shadow: var(--shadow); }
.pd-faq-item h3 { margin: 0; }
.pd-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 19px 24px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.pd-faq-q .icon { flex-shrink: 0; font-size: 13px; color: var(--brass); transition: transform .3s; }
.pd-faq-item.is-open .pd-faq-q .icon { transform: rotate(45deg); }
.pd-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.pd-faq-a-inner { padding: 0 24px 22px; }

/* ==========================================================================
   Closing CTA + disclaimer
   ========================================================================== */
.pd-final { padding: 56px 0; background: var(--ink); color: #fff; }
.pd-final-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.pd-final h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; margin: 0 0 6px; color: #fff; }
.pd-final p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 15px; }
.pd-final .pd-cta-row { margin-top: 0; }

.pd-disclaimer-line {
  display: block;
  padding: 26px 15px;
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8b9096;
  text-align: center;
}

/* ==========================================================================
   Sticky action bar
   ========================================================================== */
.pd-actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(22, 30, 45, .14);
  padding-bottom: env(safe-area-inset-bottom);
}
.pd-actionbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 11px 6px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.pd-actionbar-item .icon { font-size: 18px; color: var(--brass); }
.pd-actionbar-item.is-primary { background: var(--brass); color: #fff; }
.pd-actionbar-item.is-primary .icon { color: #fff; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: rgba(10, 14, 20, .94);
}
.pd-lightbox[hidden] { display: none; }
.pd-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.pd-lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); }
.pd-lightbox figcaption { margin-top: 14px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.pd-lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}
.pd-lightbox button:hover { background: var(--brass); }
.pd-lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; }
.pd-lightbox-prev,
.pd-lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 16px; }
.pd-lightbox-prev { left: 20px; }
.pd-lightbox-next { right: 20px; }

/* ==========================================================================
   Lead form fields (shared by the hero card and the modal)
   ========================================================================== */
.pd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pd-lead-field { position: relative; margin-bottom: 12px; }
.pd-lead-field > .icon {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #a4a9ae;
  pointer-events: none;
}
.pd-lead-cc {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  padding-right: 10px;
  border-right: 1px solid var(--line);
  pointer-events: none;
}
.pd-lead-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.pd-lead-field:has(.pd-lead-cc) input { padding-left: 62px; }
.pd-lead-field input::placeholder { color: #a4a9ae; }
.pd-lead-field input:focus {
  outline: 0;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(182, 137, 43, .16);
}
.pd-lead-field input.is-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }

.pd-lead-error {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #fdeceb;
  border: 1px solid #f3c6c1;
  color: #a5271a;
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================================================
   Lead modal
   ========================================================================== */
.pd-lead-modal .modal-dialog { max-width: 430px; }
.pd-lead-modal .modal-content { position: relative; border: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }

.pd-lead-close {
  position: absolute;
  top: 10px; right: 12px;
  z-index: 5;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s;
}
.pd-lead-close:hover { background: rgba(255, 255, 255, .4); }

.pd-lead-promise {
  display: flex;
  background: var(--ink);
  padding: 18px 12px;
}
.pd-lead-promise-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .82);
}
.pd-lead-promise-item .icon { font-size: 20px; color: var(--brass-l); }

.pd-lead-body { padding: 24px 26px 26px; background: #fff; }
.pd-lead-logo { display: block; margin: 0 auto 14px; max-height: 34px; width: auto; }
.pd-lead-title { font-size: 19px; font-weight: 600; text-align: center; margin: 0 0 4px; color: var(--ink); line-height: 1.35; }
.pd-lead-sub { margin: 0 0 18px; font-size: 13.5px; text-align: center; color: var(--slate); }
.pd-lead-sub:empty { display: none; }
.pd-lead-consent { margin: 14px 0 0; font-size: 10.5px; line-height: 1.55; color: #8b9096; text-align: center; }
.pd-lead-consent a { color: var(--brass); }

.pd-lead-thanks { text-align: center; padding-top: 34px; }
.pd-lead-tick {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(182, 137, 43, .12);
  color: var(--brass);
  font-size: 26px;
}
.pd-lead-thanks-text { margin: 8px 0 20px; font-size: 14.5px; line-height: 1.65; color: var(--slate); }
.pd-lead-callnow { margin: 16px 0 14px; font-size: 13.5px; color: var(--slate); }
.pd-lead-callnow a { color: var(--brass); font-weight: 600; }
.pd-lead-thanks .pd-btn + .pd-btn { margin-top: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .pd-hero-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
  .pd-overview-grid { gap: 36px; }
}

@media (max-width: 991px) {
  .pd-hero { min-height: auto; padding: 130px 0 50px; }
  .pd-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-hero-copy { max-width: none; }
  .pd-hero-form { max-width: 460px; width: 100%; }
  .pd-overview-grid,
  .pd-location-grid,
  .pd-dev-grid { grid-template-columns: 1fr; }
  .pd-costing { grid-template-columns: 1fr; gap: 26px; }
  .pd-map iframe { height: 340px; }
  .pd-section { padding: 56px 0; }
  .pd-sitevisit { background-attachment: scroll; padding: 70px 0; }
  .pd-final-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .pd { font-size: 15px; }
  .pd-hero { padding: 110px 0 40px; }
  .pd-hero-stats { gap: 8px; }
  .pd-hero-stat { padding: 9px 14px; flex: 1 1 calc(50% - 4px); }
  .pd-hero-price { flex-direction: column; align-items: flex-start; }
  .pd-hero-actions { width: 100%; }
  .pd-hero-actions .pd-btn { flex: 1; }

  /* the sticky bar owns the bottom of the screen on phones */
  .pd-actionbar { display: flex; }
  .pd-nav-cta { display: none; }
  body:has(.pd-actionbar) .wa-float { bottom: 84px; }
  .pd-disclaimer-line { padding-bottom: 90px; }

  /* price table collapses to stacked cards */
  .pd-price-table thead { display: none; }
  .pd-price-table,
  .pd-price-table tbody,
  .pd-price-table tr,
  .pd-price-table td { display: block; width: 100%; }
  .pd-price-table tr { padding: 6px 0; border-bottom: 1px solid var(--line); }
  .pd-price-table tr:last-child { border-bottom: 0; }
  .pd-price-table td { padding: 9px 18px; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
  .pd-price-table td::before {
    content: attr(data-th);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--slate);
    font-weight: 600;
  }
  .pd-price-table td:last-child { justify-content: stretch; padding-top: 4px; padding-bottom: 14px; }
  .pd-price-table td:last-child::before { content: none; }
  .pd-price-table td:last-child .pd-btn { width: 100%; }

  .pd-amenity-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
  .pd-amenity { padding: 20px 10px; }
  .pd-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pd-plan-grid { grid-template-columns: 1fr; }
  .pd-facts { padding: 22px; }
  .pd-costing { padding: 22px; }
  .pd-lightbox { padding: 70px 12px; }
  .pd-lightbox-prev, .pd-lightbox-next { width: 40px; height: 40px; }
  .pd-lightbox-prev { left: 8px; }
  .pd-lightbox-next { right: 8px; }
  .pd-lead-modal .modal-dialog { max-width: none; margin: 12px; }
}

@media (max-width: 420px) {
  .pd-gallery-grid { grid-template-columns: 1fr; }
  .pd-hero-stat { flex: 1 1 100%; }
}

/* ---------- motion / contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .pd *,
  .pd *::before,
  .pd *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .pd-sitevisit { background-attachment: scroll; }
}
