.public-property-detail.pd-page { padding: 140px 0 72px; background: #fff; color: #18263a; }
.pd-page *, .pd-page *::before, .pd-page *::after { box-sizing: border-box; }
.pd-page [hidden] { display: none !important; }
.pd-page svg { flex-shrink: 0; }
.pd-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: #64748b; margin-bottom: 28px; }
.pd-breadcrumb a { color: #53637a; }
.pd-breadcrumb a:hover { color: var(--site-primary); }
.pd-heading { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.pd-heading > div { min-width: 0; max-width: 900px; }
.pd-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #59667a; }
.pd-purpose { color: var(--site-primary-dark); background: var(--site-primary-soft); padding: 6px 12px; border-radius: 7px; font-weight: 600; }
.pd-purpose.is-rent { color: #136954; background: #e9f7f1; }
.pd-reference { color: #64748b; }
.pd-heading h1 { font-size: clamp(26px, 3vw, 42px); line-height: 1.2; letter-spacing: -.035em; margin: 14px 0; overflow-wrap: anywhere; }
.pd-location { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #59667a; margin: 0; }
.pd-location svg { width: 19px; height: 19px; color: var(--site-primary); }
.pd-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 17px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.pd-button svg { width: 19px; height: 19px; }
.pd-button-whatsapp { color: #17683e; background: #fff; border-color: #c4dfce; }
.pd-button-whatsapp:hover, .pd-button-whatsapp:focus-visible { color: #105332; background: #eef8f1; border-color: #7fba96; }
.pd-button-primary { color: #fff; background: var(--site-primary); }
.pd-button-primary:hover { color: #fff; background: var(--site-primary-dark); }
.pd-contact-actions { display: flex; flex-direction: row; align-items: stretch; gap: 10px; flex-shrink: 0; }
.pd-contact-actions > .pd-button { flex: 1 1 0; min-width: 0; min-height: 52px; text-transform: uppercase; text-align: center; }
.pd-button-contact { min-height: 52px; font-weight: 700; color: #fff; background: #187a43; border-color: #187a43; box-shadow: 0 4px 12px rgba(24, 122, 67, .18); }
.pd-button-contact:hover, .pd-button-contact:focus-visible { color: #fff; background: #126235; border-color: #126235; }
.pd-button-outline { background: #fff; border-color: #dce4ef; color: #223951; }
.pd-button-outline:hover, .pd-button-quiet:hover { background: var(--site-primary-soft); color: var(--site-primary-dark); }
.pd-button-quiet { background: #f5f7fa; color: #36465c; flex-shrink: 0; }
.pd-button-white { background: #fff; color: #1c304b; box-shadow: 0 2px 12px #10243a20; }
.pd-page :is(a, button, input):focus-visible { outline: 3px solid var(--site-primary); outline-offset: 4px; }
.pd-gallery-section { position: relative; margin-bottom: 32px; }
.pd-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 215px); gap: 8px; border-radius: 18px; overflow: hidden; }
.pd-gallery-photo { min-width: 0; overflow: hidden; display: block; background: #edf2f8; }
.pd-gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pd-gallery-photo:hover img { transform: scale(1.025); }
.pd-gallery-photo:first-child { grid-row: span 2; }
.pd-gallery-extra { display: none; }
.pd-gallery-count-1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.pd-gallery-count-1 .pd-gallery-photo:first-child, .pd-gallery-count-2 .pd-gallery-photo:first-child { grid-row: auto; }
.pd-gallery-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 390px; }
.pd-gallery-count-3 { grid-template-columns: 2fr 1fr; }
.pd-gallery-count-4 .pd-gallery-photo:nth-child(2) { grid-column: 2 / -1; }
.pd-gallery-tools { position: absolute; right: 16px; bottom: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-photo-count { display: none; font-size: 13px; font-weight: 600; color: #53637a; }
.pd-gallery-hint { margin: 9px 0 0; font-size: 12px; color: #64748b; }
.pd-empty-gallery { padding: 90px 24px; text-align: center; border-radius: 18px; background: #f2f5fa; margin-bottom: 32px; color: #64748b; }
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 345px; gap: 48px; align-items: start; }
.pd-content { min-width: 0; }
.pd-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 0; margin: 0 0 30px; gap: 16px; list-style: none; border-block: 1px solid #e5ebf3; }
.pd-features li { display: flex; align-items: center; gap: 12px; }
.pd-features-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-feature-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 52px; width: 52px; height: 52px; border: 1px solid #e4e4e4; border-radius: 8px; color: #161e2d; }
.pd-feature-icon .icon { font-size: 24px; }
.pd-features strong { display: block; font-size: 16px; line-height: 1.5; font-weight: 600; color: #161e2d; }
.pd-feature-label { display: block; font-size: 16px; line-height: 1.5; font-weight: 400; color: #5c6368; opacity: .8; }
.pd-section { margin-bottom: 34px; }
.pd-section-kicker { display: block; color: var(--site-primary); font-size: 12px; font-weight: 600; margin-bottom: 8px; letter-spacing: .04em; }
.pd-page h2 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.3; letter-spacing: -.025em; margin: 0 0 18px; }
.pd-page .public-property-description { color: #53637a; line-height: 1.9; font-size: 16px; white-space: pre-line; overflow-wrap: anywhere; }
.pd-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.pd-amenities li { display: flex; align-items: center; gap: 10px; color: #53637a; }
.pd-amenities svg { width: 20px; height: 20px; color: var(--site-primary); }
.pd-location-panel { background: #f4f7fc; border: 1px solid #e5ebf3; padding: 26px; border-radius: 14px; display: flex; gap: 18px; }
.pd-location-panel h2 { font-size: 21px; margin-bottom: 12px; }
.pd-location-panel p { line-height: 1.8; margin-bottom: 10px; color: #53637a; }
.pd-location-panel small { color: #64748b; font-size: 12px; }
.pd-location-icon { color: var(--site-primary); }
.pd-price-card { position: sticky; top: 120px; padding: 28px; border: 1px solid #e0e7f0; border-radius: 18px; box-shadow: 0 10px 35px #2038560a; background: #fff; }
.pd-price-label { display: block; font-size: 13px; color: #64748b; margin-bottom: 7px; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; }
.pd-price strong { font-size: clamp(25px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.04em; line-height: 1.3; }
.pd-price > span { font-size: 13px; color: #64748b; }
.pd-costs { margin: 18px 0 0; }
.pd-costs:empty { display: none; }
.pd-costs > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 9px 0; font-size: 13px; }
.pd-costs dt { color: #64748b; font-weight: 400; }
.pd-costs dd { margin: 0; font-weight: 600; }
.pd-demo-note { font-size: 12px; line-height: 1.7; color: #64748b; padding-block: 18px; margin-block: 18px; border-block: 1px solid #e5ebf3; }
.pd-price-card > .pd-contact-actions { flex-direction: column; margin-bottom: 10px; }
.pd-price-card > .pd-contact-actions > .pd-button { flex: none; width: 100%; }
.pd-price-card > .pd-button { width: 100%; margin-bottom: 10px; }
.pd-card-reference { display: block; text-align: center; font-size: 12px; color: #64748b; margin-top: 9px; }
.pd-related { border-top: 1px solid #e5ebf3; padding-top: 42px; margin-top: 32px; }
.pd-related-heading { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.pd-related-heading h2 { margin-bottom: 0; }
.pd-related-heading > a { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--site-primary); font-size: 14px; }
.pd-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pd-related-card { border: 1px solid #e0e7f0; border-radius: 14px; overflow: hidden; }
.pd-related-card > a { display: block; height: 100%; color: inherit; }
.pd-related-card img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.pd-related-copy { padding: 20px; }
.pd-related-copy > span, .pd-related-copy > p { font-size: 13px; color: #64748b; }
.pd-related-copy h3 { font-size: 19px; line-height: 1.4; margin: 8px 0; overflow-wrap: anywhere; }
.pd-related-copy > strong { display: block; color: var(--site-primary); margin-top: 16px; font-size: 18px; }
.pd-related-placeholder { display: grid; place-items: center; aspect-ratio: 3/2; background: #edf2f8; color: #64748b; }
.pd-mobile-bar { display: none; }
.pd-share-status:not(:empty) { position: fixed; z-index: 1100; left: 50%; bottom: 100px; transform: translateX(-50%); border-radius: 10px; padding: 12px 20px; background: #14263f; color: #fff; font-size: 14px; box-shadow: 0 8px 30px #0002; }
.pd-lightbox { width: min(1400px, 96vw); max-width: 100%; max-height: 96dvh; padding: 20px; border: none; border-radius: 16px; margin: auto; background: #101a2b; color: #fff; }
.pd-lightbox::backdrop { background: #07101deb; }
.pd-lightbox-top, .pd-lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pd-lightbox-top > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.pd-lightbox button { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #ffffff35; border-radius: 50%; color: #fff; background: #ffffff12; font-size: 28px; cursor: pointer; }
.pd-lightbox-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; align-items: center; margin: 12px 0; }
.pd-lightbox-stage img { width: 100%; height: min(70dvh, 800px); object-fit: contain; touch-action: pan-y; }
.pd-lightbox.pd-lightbox-single .pd-lightbox-stage { grid-template-columns: minmax(0, 1fr); }
.pd-lightbox-bottom { font-size: 12px; color: #cfdaeb; padding: 8px; }
@media (min-width:992px) {
  .pd-heading > .pd-contact-actions { flex-direction: row; align-items: stretch; }
  .pd-heading > .pd-contact-actions > .pd-button { width: auto; min-height: 52px; white-space: nowrap; }
}
@media (max-width:1199px) {
  .pd-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .pd-price-card { padding: 22px; }
  .pd-gallery { grid-template-rows: repeat(2, 175px); }
  .pd-gallery-count-1, .pd-gallery-count-2 { grid-template-rows: 360px; }
  .pd-features { gap: 12px; }
  .pd-features li { gap: 8px; }
}
@media (max-width:991px) {
  .pd-heading { flex-wrap: wrap; }
  .pd-heading > .pd-contact-actions { width: 100%; }
  .pd-contact-actions > .pd-button { padding: 10px; font-size: 12px; }
  .pd-body { grid-template-columns: 1fr; gap: 28px; }
  .pd-price-card { position: static; grid-row: 1; }
  .pd-content { grid-row: 2; }
  .pd-gallery { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 180px); }
  .pd-gallery-photo:nth-child(n+4) { display: none; }
  .pd-gallery-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 330px; }
  .pd-gallery-count-1 { grid-template-columns: 1fr; grid-template-rows: 360px; }
  .pd-gallery-count-4 .pd-gallery-photo:nth-child(2) { grid-column: auto; }
  .pd-related-grid { gap: 16px; }
  .pd-related-copy { padding: 16px; }
  .pd-price-card > .pd-button { width: auto; margin-right: 8px; }
  .pd-card-reference { text-align: left; }
}
@media (max-width:767px) {
  .public-property-detail.pd-page { padding: 112px 0 40px; }
  .pd-breadcrumb { margin-bottom: 20px; gap: 8px; font-size: 12px; }
  .pd-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .pd-heading > .pd-button { padding: 10px 12px; }
  .pd-heading h1 { font-size: 27px; margin: 12px 0; }
  .pd-location { font-size: 13px; align-items: flex-start; }
  .pd-eyebrow { gap: 8px; font-size: 11px; }
  .pd-reference { flex-basis: 100%; }
  .pd-gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; border-radius: 12px; scrollbar-width: none; }
  .pd-gallery::-webkit-scrollbar { display: none; }
  .pd-gallery .pd-gallery-photo { display: block; flex: 0 0 94%; height: clamp(225px, 62vw, 420px); scroll-snap-align: center; border-radius: 12px; }
  .pd-gallery-count-1 .pd-gallery-photo { flex-basis: 100%; }
  .pd-gallery-tools { position: static; margin-top: 12px; }
  .pd-photo-count { display: inline; }
  .pd-gallery-tools .pd-button { font-size: 12px; min-height: 40px; padding: 8px 12px; }
  .pd-gallery-section { margin-bottom: 24px; }
  .pd-price-card { padding: 22px; }
  .pd-price strong { font-size: 29px; }
  .pd-price-card > .pd-button { width: 100%; margin-right: 0; }
  .pd-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 28px; }
  .pd-features li { gap: 12px; }
  .pd-location-panel { padding: 20px; }
  .pd-amenities { grid-template-columns: 1fr; }
  .pd-related { padding-top: 30px; margin-top: 12px; }
  .pd-related-heading { flex-wrap: wrap; }
  .pd-related-grid { grid-template-columns: 1fr; }
  .pd-mobile-bar { position: fixed; z-index: 990; bottom: 0; left: 0; right: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e0e7f0; background: #fffffffa; box-shadow: 0 -4px 20px #18334a09; }
  .pd-mobile-bar > div { min-width: 0; }
  .pd-mobile-bar .pd-contact-actions { flex: 1 0 100%; gap: 8px; }
  .pd-mobile-bar .pd-contact-actions .pd-button { padding: 9px; min-height: 48px; font-size: 11px; }
  .pd-mobile-bar > div > span { display: block; color: #64748b; font-size: 10px; }
  .pd-mobile-bar strong { display: block; font-size: 16px; white-space: nowrap; }
  .pd-mobile-bar small { margin-left: 3px; font-size: 10px; color: #64748b; }
  .pd-mobile-bar .pd-button { padding: 10px 12px; font-size: 12px; flex-shrink: 0; }
  body:has(.pd-page), body.pd-active-page { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  body.pd-active-page .progress-wrap { bottom: 160px; }
  .pd-lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 14px; }
  .pd-lightbox-stage { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 4px; }
  .pd-lightbox-stage img { height: calc(100dvh - 160px); }
  .pd-lightbox-stage button { width: 36px; height: 44px; border-radius: 8px; }
  .pd-lightbox-bottom > span:last-child { display: none; }
}
@media (prefers-reduced-motion:reduce) { .pd-page * { transition: none !important; scroll-behavior: auto !important; } }

.pd-costs > div { align-items: flex-start; gap: 1rem; }
.pd-costs dt { min-width: 0; overflow-wrap: anywhere; }
.pd-costs dd { flex-shrink: 0; }
