.details-page {
  --pd-green: #004735;
  --pd-green-dark: #003629;
  --pd-gold: #d79a28;
  --pd-border: #e1e5e0;
  --pd-soft: #f8f8f3;
  color: #17201c;
  background:
    radial-gradient(circle at 88% 16%, rgba(222, 178, 86, .07), transparent 22%),
    #fbfbf8;
  font-size: 12px;
}

.pd-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.pd-intro { padding-top: 22px; padding-bottom: 12px; }
.pd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #68716c; font-size: 10px; }
.pd-breadcrumb strong { color: var(--pd-green); font-weight: 600; }
.pd-title-row { display: flex; align-items: center; gap: 13px; margin-top: 11px; }
.pd-title-row h1 {
  margin: 0;
  color: #173c30;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(31px, 3.3vw, 42px);
  line-height: 1.1;
}
.pd-title-row > span {
  padding: 5px 9px;
  border: 1px solid #1e745a;
  border-radius: 5px;
  color: #155641;
  background: #edf7f2;
  font-size: 9px;
  font-weight: 700;
}
.pd-location { display: flex; align-items: center; gap: 5px; margin: 7px 0; color: #59635e; font-size: 10px; }
.pd-location svg { width: 13px; height: 13px; color: var(--pd-green); }
.pd-intro > h2 { margin: 8px 0 4px; color: #33413b; font-size: 14px; font-weight: 600; }
.pd-description { max-width: 760px; margin: 0; color: #68716c; font-size: 10px; line-height: 1.65; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.pd-badges span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #e7e7df;
  border-radius: 6px;
  color: #53605a;
  background: #fafaf5;
  font-size: 9px;
  font-weight: 600;
}
.pd-badges svg { width: 13px; height: 13px; color: var(--pd-gold); }

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
  padding-bottom: 24px;
}
.pd-content { min-width: 0; }
.pd-gallery { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(190px, 1fr); gap: 6px; }
.pd-main-image, .pd-thumbnails button {
  border: 0;
  background-position: center;
  background-size: cover;
}
.pd-main-image {
  min-height: 310px;
  border-radius: 9px 0 0 9px;
  box-shadow: inset 0 -28px 45px rgba(0, 31, 22, .08);
}
.pd-thumbnails { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pd-thumbnails button { min-height: 140px; border-radius: 5px; }
.pd-thumbnails .pd-more-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  background: linear-gradient(145deg, #1d6554, #073a30);
}
.pd-more-photos strong { font-size: 22px; line-height: 1; }
.pd-more-photos span { margin-top: 4px; font-size: 10px; }

.pd-stat-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 12px;
  padding: 11px 0;
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  background: white;
}
.pd-stat-bar > div { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-right: 1px solid var(--pd-border); }
.pd-stat-bar > div:last-child { border-right: 0; }
.pd-stat-bar svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--pd-gold); }
.pd-stat-bar p { display: flex; flex-direction: column; margin: 0; line-height: 1.2; }
.pd-stat-bar span { color: #747d78; font-size: 8px; }
.pd-stat-bar strong { margin-top: 3px; color: #24302b; font-size: 11px; }

.pd-section { padding: 19px 0; border-bottom: 1px solid var(--pd-border); }
.pd-section:last-child { border-bottom: 0; }
.pd-section > h2, .pd-section-heading h2, .pd-overview-grid h2, .pd-side-section > h2 {
  margin: 0 0 10px;
  color: #1b2823;
  font-size: 16px;
  line-height: 1.2;
}
.pd-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pd-section-heading a { color: var(--pd-green); font-size: 9px; font-weight: 700; }
.pd-section-heading a span { margin-left: 6px; font-size: 13px; }
.pd-pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.pd-pricing-grid article {
  min-height: 108px;
  padding: 13px;
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  background: white;
}
.pd-pricing-grid small { color: #707873; font-size: 8px; }
.pd-pricing-grid h3 { margin: 3px 0 7px; color: #2d3732; font-size: 15px; }
.pd-pricing-grid p { display: flex; flex-direction: column; margin: 0; color: #6d7571; font-size: 8px; }
.pd-pricing-grid strong { margin-top: 2px; color: #c27c19; font-size: 13px; }
.pd-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 13px; color: #3e6759; font-size: 9px; }
.pd-promises span { display: flex; align-items: center; gap: 6px; }
.pd-promises svg { width: 13px; height: 13px; color: #08714f; }

.pd-overview-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; }
.pd-overview-grid p { margin: 0 0 9px; color: #68716c; font-size: 9px; line-height: 1.7; }
.pd-overview-grid ul, .pd-location-grid ul { margin: 0; padding: 0; list-style: none; }
.pd-overview-grid li, .pd-location-grid li {
  position: relative;
  margin: 5px 0;
  padding-left: 14px;
  color: #56615c;
  font-size: 9px;
}
.pd-overview-grid li::before, .pd-location-grid li::before { content: "✓"; position: absolute; left: 0; color: #08714f; font-weight: 800; }

.pd-amenities { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.pd-amenities span { display: flex; align-items: center; gap: 5px; color: #365448; font-size: 7px; font-weight: 600; line-height: 1.35; }
.pd-amenities svg { width: 23px; height: 23px; flex: 0 0 auto; color: var(--pd-green); }

.pd-unit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.pd-unit-grid article { position: relative; min-height: 158px; overflow: hidden; border-radius: 8px; color: white; background: #244b3f; }
.pd-unit-grid article::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(0, 25, 18, .82)); pointer-events: none; }
.pd-unit-image { position: absolute; inset: 0; background-position: center; background-size: cover; }
.pd-unit-image span { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 3px 7px; border-radius: 4px; background: #08714f; font-size: 8px; font-weight: 700; }
.unit-plots { background-image: url("../images/photo-1500382017468-9049fed747ef.jpg"); }
.unit-apartments { background-image: url("../images/photo-1545324418-cc1a3fa10c00.jpg"); }
.unit-villas { background-image: url("../images/photo-1600585154340-be6161a56a0c.jpg"); }
.unit-commercial { background-image: url("../images/photo-1486406146926-c627a92ad1ab.jpg"); }
.pd-unit-grid h3, .pd-unit-grid p { position: absolute; z-index: 2; right: 10px; left: 10px; }
.pd-unit-grid h3 { bottom: 22px; margin: 0; font-size: 12px; }
.pd-unit-grid p { bottom: 7px; margin: 0; font-size: 8px; }

.pd-table-wrap { overflow-x: auto; border: 1px solid var(--pd-border); border-radius: 7px; background: white; }
.pd-table-wrap table { width: 100%; min-width: 760px; border-collapse: collapse; }
.pd-table-wrap th, .pd-table-wrap td { padding: 9px 10px; border-right: 1px solid var(--pd-border); border-bottom: 1px solid var(--pd-border); text-align: left; font-size: 8px; white-space: nowrap; }
.pd-table-wrap th { color: #55605b; background: #fbfbf7; font-weight: 600; }
.pd-table-wrap td { color: #313c37; }
.pd-table-wrap th:last-child, .pd-table-wrap td:last-child { border-right: 0; }
.pd-table-wrap tr:last-child td { border-bottom: 0; }
.pd-note { display: block; margin-top: 6px; color: #808783; font-size: 7px; }

.pd-floor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.pd-floor-grid article {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  background: white;
}
.pd-floor-grid svg { width: 100%; color: #887256; }
.pd-floor-grid svg rect { fill: #eee0c5; stroke: #7e6b54; stroke-width: 1.5; }
.pd-floor-grid h3 { margin: 0 0 3px; font-size: 10px; }
.pd-floor-grid p { margin: 0 0 8px; color: #6f7773; font-size: 8px; }
.pd-floor-grid button { padding: 0; border: 0; color: var(--pd-green); background: none; font-size: 8px; font-weight: 700; }

.pd-location-grid { display: grid; grid-template-columns: .75fr 1.6fr; gap: 20px; align-items: stretch; }
.pd-map-card {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  border: 1px solid #cadbd4;
  border-radius: 8px;
  background:
    linear-gradient(24deg, transparent 46%, rgba(238, 87, 69, .72) 47% 49%, transparent 50%),
    linear-gradient(-18deg, transparent 56%, rgba(255,255,255,.95) 57% 64%, transparent 65%),
    linear-gradient(38deg, transparent 25%, rgba(255,255,255,.9) 26% 31%, transparent 32%),
    #dcefe8;
}
.pd-map-roads {
  position: absolute;
  width: 70%;
  height: 16px;
  top: 58%;
  right: -5%;
  border: 2px solid white;
  background: #b6c9c0;
  transform: rotate(-14deg);
  box-shadow: 0 0 0 1px #9eb4aa;
}
.pd-map-pin {
  position: absolute;
  top: 38%;
  left: 52%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 7px;
  background: white;
  box-shadow: 0 5px 14px rgba(0, 51, 36, .15);
  transform: translate(-50%, -50%);
}
.pd-map-pin svg { width: 26px; height: 26px; color: #e55445; fill: #e55445; stroke: white; }
.pd-map-pin p { display: flex; flex-direction: column; margin: 0; }
.pd-map-pin strong { font-size: 9px; }
.pd-map-pin span { color: #66716c; font-size: 7px; }

.pd-video {
  position: relative;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: white;
  background-position: center;
  background-size: cover;
}
.pd-video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,48,35,.58), rgba(0,48,35,.12)); }
.pd-video-title { position: absolute; z-index: 1; top: 18px; left: 50%; font-family: "Manrope", Arial, sans-serif; font-size: 23px; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.pd-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 50px; height: 50px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: rgba(0,62,45,.74); transform: translate(-50%, -50%); }
.pd-play svg { width: 22px; height: 22px; fill: white; }

.pd-sidebar { min-width: 0; }
.pd-inquiry-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid #d9ded9;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 50, 36, .10);
}
.pd-inquiry-head { padding: 18px 17px; color: white; background: linear-gradient(145deg, #075742, #003d2e); }
.pd-inquiry-head h2 { margin: 0 0 3px; font-family: "Manrope", Arial, sans-serif; font-size: 18px; }
.pd-inquiry-head p { margin: 0; color: rgba(255,255,255,.86); font-size: 10px; }
.pd-inquiry-card form { display: flex; flex-direction: column; gap: 11px; padding: 16px; }
.pd-inquiry-card label { display: flex; flex-direction: column; gap: 5px; color: #48524d; font-size: 9px; font-weight: 600; }
.pd-inquiry-card input, .pd-inquiry-card select, .pd-inquiry-card textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #dfe3de;
  border-radius: 5px;
  outline: 0;
  color: #29332e;
  background: white;
  font-size: 9px;
  font-weight: 400;
}
.pd-inquiry-card input:focus, .pd-inquiry-card select:focus, .pd-inquiry-card textarea:focus { border-color: #279173; box-shadow: 0 0 0 2px rgba(39,145,115,.10); }
.pd-inquiry-card textarea { min-height: 76px; resize: vertical; }
.pd-inquiry-card .pd-consent { display: grid; grid-template-columns: 15px 1fr; align-items: start; gap: 7px; line-height: 1.5; }
.pd-consent input { min-height: 0; margin: 2px 0 0; }
.pd-submit, .pd-visit {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--pd-green);
  border-radius: 5px;
  font-weight: 700;
}
.pd-submit { color: white; background: var(--pd-green); }
.pd-visit { color: var(--pd-green); background: white; }
.pd-visit svg { width: 17px; height: 17px; }
.pd-help-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #dfe3de;
  border-radius: 8px;
  background: #fcfcf8;
}
.pd-help-card > svg { width: 27px; height: 27px; color: var(--pd-green); }
.pd-help-card p { display: flex; flex-direction: column; margin: 0; }
.pd-help-card strong { color: #245343; font-size: 13px; }
.pd-help-card span { color: #68716c; font-size: 8px; }
.pd-help-card a { margin-top: 5px; color: #08714f; font-size: 10px; font-weight: 700; }
.pd-side-section { margin-top: 26px; }
.pd-side-section > h2 { font-size: 15px; }
.pd-faq article { border-bottom: 1px solid var(--pd-border); }
.pd-faq button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 8px;
  border: 0;
  color: #47514c;
  background: transparent;
  text-align: left;
  font-size: 8px;
}
.pd-faq button b { font-size: 15px; font-weight: 500; }
.pd-faq p { max-height: 0; margin: 0; padding: 0 8px; overflow: hidden; color: #6e7672; font-size: 8px; transition: .22s ease; }
.pd-faq article.open p { max-height: 95px; padding: 3px 8px 10px; }
.pd-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-related-card { overflow: hidden; border: 1px solid var(--pd-border); border-radius: 8px; background: white; }
.pd-related-image { height: 88px; background-position: center; background-size: cover; }
.pd-related-card div:last-child { padding: 8px; }
.pd-related-card h3 { margin: 0; font-size: 10px; }
.pd-related-card p { margin: 2px 0 6px; color: #6e7672; font-size: 7px; }
.pd-related-card span { display: flex; align-items: center; justify-content: space-between; color: #727a76; font-size: 7px; }
.pd-related-card strong { color: #c47c18; font-size: 8px; }

.pd-assurance-strip { color: white; background: linear-gradient(90deg, #006045, #004431); }
.pd-assurance-strip > div { min-height: 58px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.pd-assurance-strip > div > div { display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid rgba(255,255,255,.16); }
.pd-assurance-strip > div > div:last-child { border-right: 0; }
.pd-assurance-strip svg { width: 27px; height: 27px; color: #f2bf39; }
.pd-assurance-strip span { display: flex; flex-direction: column; font-size: 8px; }
.pd-assurance-strip strong { font-size: 9px; }

.details-page + footer .footer-cta { display: none; }

@media (max-width: 1040px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
  .pd-main-image { min-height: 275px; }
  .pd-thumbnails button { min-height: 126px; }
  .pd-stat-bar { grid-template-columns: repeat(3, 1fr); }
  .pd-stat-bar > div { min-height: 42px; }
  .pd-stat-bar > div:nth-child(3) { border-right: 0; }
  .pd-stat-bar > div:nth-child(-n+3) { border-bottom: 1px solid var(--pd-border); }
  .pd-amenities { grid-template-columns: repeat(5, 1fr); row-gap: 14px; }
  .pd-pricing-grid { grid-template-columns: 1fr 1fr; }
  .pd-unit-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .pd-shell { width: min(100% - 32px, 720px); }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .pd-inquiry-card { position: static; grid-row: span 3; }
  .pd-help-card, .pd-side-section { margin-top: 0; }
  .pd-gallery { grid-template-columns: 1.8fr 1fr; }
  .pd-sidebar .pd-side-section:last-child { grid-column: 2; }
  .pd-assurance-strip > div { grid-template-columns: repeat(3, 1fr); padding: 10px 0; row-gap: 10px; }
  .pd-assurance-strip > div > div:nth-child(3) { border-right: 0; }
}

@media (max-width: 620px) {
  .pd-shell { width: calc(100% - 24px); }
  .pd-intro { padding-top: 16px; }
  .pd-title-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .pd-title-row h1 { font-size: 31px; }
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-main-image { min-height: 230px; border-radius: 8px; }
  .pd-thumbnails { grid-template-columns: repeat(4, 1fr); }
  .pd-thumbnails button { min-height: 74px; }
  .pd-stat-bar { grid-template-columns: 1fr 1fr; }
  .pd-stat-bar > div { border-right: 1px solid var(--pd-border) !important; border-bottom: 1px solid var(--pd-border); }
  .pd-stat-bar > div:nth-child(even) { border-right: 0 !important; }
  .pd-stat-bar > div:nth-last-child(-n+2) { border-bottom: 0; }
  .pd-pricing-grid, .pd-overview-grid, .pd-unit-grid, .pd-floor-grid, .pd-location-grid { grid-template-columns: 1fr; }
  .pd-promises { grid-template-columns: 1fr 1fr; }
  .pd-amenities { grid-template-columns: repeat(2, 1fr); }
  .pd-unit-grid article { min-height: 180px; }
  .pd-floor-grid article { min-height: 132px; }
  .pd-sidebar { display: flex; flex-direction: column; }
  .pd-sidebar .pd-side-section:last-child { grid-column: auto; }
  .pd-related-image { height: 105px; }
  .pd-assurance-strip > div { grid-template-columns: 1fr 1fr; }
  .pd-assurance-strip > div > div { min-height: 42px; border-right: 0; justify-content: flex-start; }
  .pd-video-title { font-size: 18px; }
}

@media (max-width: 400px) {
  .pd-thumbnails { grid-template-columns: 1fr 1fr; }
  .pd-thumbnails button { min-height: 90px; }
  .pd-related-grid { grid-template-columns: 1fr; }
  .pd-related-image { height: 135px; }
}

/* Readability pass for every project detail view */
.details-page { font-size: 14px; }
.pd-breadcrumb { font-size: 12px; }
.pd-title-row > span { font-size: 11px; }
.pd-location { font-size: 12px; }
.pd-intro > h2 { font-size: 16px; }
.pd-description { max-width: 840px; font-size: 12px; }
.pd-badges span { font-size: 11px; }
.pd-more-photos span { font-size: 12px; }
.pd-stat-bar span { font-size: 10px; }
.pd-stat-bar strong { font-size: 13px; }
.pd-section > h2, .pd-section-heading h2, .pd-overview-grid h2, .pd-side-section > h2 { font-size: 18px; }
.pd-section-heading a { font-size: 11px; }
.pd-pricing-grid small { font-size: 10px; }
.pd-pricing-grid h3 { font-size: 16px; }
.pd-pricing-grid p { font-size: 10px; }
.pd-pricing-grid strong { font-size: 14px; }
.pd-promises { font-size: 11px; }
.pd-overview-grid p, .pd-overview-grid li, .pd-location-grid li { font-size: 11px; }
.pd-amenities span { font-size: 10px; }
.pd-unit-image span { font-size: 10px; }
.pd-unit-grid h3 { font-size: 14px; }
.pd-unit-grid p { font-size: 10px; }
.pd-table-wrap th, .pd-table-wrap td { font-size: 10px; }
.pd-note { font-size: 9px; }
.pd-floor-grid h3 { font-size: 12px; }
.pd-floor-grid p, .pd-floor-grid button { font-size: 10px; }
.pd-map-pin strong { font-size: 11px; }
.pd-map-pin span { font-size: 9px; }
.pd-inquiry-head p { font-size: 12px; }
.pd-inquiry-card label { font-size: 11px; }
.pd-inquiry-card input, .pd-inquiry-card select, .pd-inquiry-card textarea { font-size: 12px; }
.pd-submit, .pd-visit { font-size: 13px; }
.pd-help-card span { font-size: 10px; }
.pd-help-card a { font-size: 12px; }
.pd-faq button, .pd-faq p { font-size: 11px; }
.pd-related-card h3 { font-size: 12px; }
.pd-related-card p, .pd-related-card span { font-size: 10px; }
.pd-related-card strong { font-size: 11px; }
.pd-assurance-strip span { font-size: 10px; }
.pd-assurance-strip strong { font-size: 11px; }
