:root {
    --pd-ink: #0b2235;
    --pd-deep: #071824;
    --pd-gold: #c79a45;
    --pd-gold-light: #e8c780;
    --pd-cream: #f4efe5;
    --pd-ivory: #fbfaf7;
    --pd-line: rgba(11, 34, 53, .14);
    --pd-white: #fff;
}

.property-detail-page {
    background: var(--pd-ivory);
    color: var(--pd-ink);
    overflow-x: hidden;
}

.property-detail-page main { overflow: hidden; }
.property-detail-page .preloader { background: var(--pd-deep); }

.property-shell {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

.property-hero {
    position: relative;
    min-height: min(86vh, 900px);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    color: var(--pd-white);
    background: var(--pd-deep);
}

.property-hero__image,
.property-hero__veil {
    position: absolute;
    inset: 0;
}

.property-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .28s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}

.property-hero__image img.is-changing { opacity: .35; transform: scale(1.015); }

.property-hero__veil {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7,24,36,.3) 0%, rgba(7,24,36,.16) 38%, rgba(7,24,36,.94) 100%),
        linear-gradient(90deg, rgba(7,24,36,.72), transparent 60%);
}

.property-hero__content {
    position: relative;
    z-index: 2;
    padding-block: 170px 76px;
}

.property-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 48px;
    font-size: .78rem;
    color: rgba(255,255,255,.64);
}

.property-breadcrumb a { color: inherit; text-decoration: none; }
.property-breadcrumb a:hover { color: var(--pd-gold-light); }

.property-eyebrow,
.property-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--pd-gold);
    font: 700 .72rem/1.4 Manrope, Cairo, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.property-eyebrow::before,
.property-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.property-hero h1 {
    max-width: 900px;
    margin: 20px 0 18px;
    font-size: clamp(2.7rem, 6.5vw, 6.5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.property-hero__location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: rgba(255,255,255,.72);
}

.property-hero__location i { color: var(--pd-gold-light); }

.property-hero__index {
    position: absolute;
    z-index: 2;
    inset-inline-end: clamp(22px, 5vw, 80px);
    bottom: 42px;
    color: rgba(255,255,255,.12);
    font: 300 clamp(6rem, 15vw, 14rem)/.7 Manrope, sans-serif;
    letter-spacing: -.08em;
}

.property-gallery {
    background: var(--pd-deep);
    border-top: 1px solid rgba(255,255,255,.12);
}

.property-gallery__track {
    display: flex;
    gap: 12px;
    padding-block: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pd-gold) transparent;
}

.property-thumb {
    position: relative;
    flex: 0 0 160px;
    height: 96px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    color: white;
    cursor: pointer;
    overflow: hidden;
}

.property-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .52; transition: opacity .25s ease, transform .4s ease; }
.property-thumb span { position: absolute; inset-inline-end: 8px; bottom: 5px; font: 600 .65rem Manrope, sans-serif; }
.property-thumb:hover img,
.property-thumb.is-active img { opacity: 1; transform: scale(1.04); }
.property-thumb.is-active { border-color: var(--pd-gold); }

.property-overview {
    padding: clamp(90px, 11vw, 160px) 0;
    background: var(--pd-ivory);
}

.property-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, .72fr);
    gap: clamp(60px, 9vw, 130px);
    align-items: start;
}

.property-overview__main > h2,
.property-section-heading h2,
.property-inquiry__copy h2 {
    max-width: 820px;
    margin: 18px 0 48px;
    font-size: clamp(2rem, 4.2vw, 4.4rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.property-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--pd-line);
}

.property-facts > div {
    min-height: 128px;
    padding: 25px 20px 22px 0;
    border-bottom: 1px solid var(--pd-line);
}

[dir="rtl"] .property-facts > div { padding: 25px 0 22px 20px; }
.property-facts > div:nth-child(even) { padding-inline-start: 28px; border-inline-start: 1px solid var(--pd-line); }
.property-facts dt { margin-bottom: 12px; color: rgba(11,34,53,.5); font-size: .78rem; }
.property-facts dd { margin: 0; font: 600 clamp(1.3rem, 2vw, 2rem)/1.2 Manrope, Cairo, sans-serif; }
.property-facts small { color: rgba(11,34,53,.5); font-size: .68em; font-weight: 500; }

.property-description { max-width: 820px; margin-top: 70px; }
.property-description h2 { margin: 0 0 22px; font-size: 1.5rem; }
.property-description p { margin: 0; color: rgba(11,34,53,.68); font-size: 1.04rem; line-height: 2; white-space: pre-line; }

.property-action-card {
    position: sticky;
    top: 110px;
    padding: 38px;
    background: var(--pd-ink);
    color: var(--pd-white);
    box-shadow: 0 34px 80px rgba(7,24,36,.16);
}

.property-action-card__num { color: var(--pd-gold-light); font: 500 .7rem Manrope, sans-serif; letter-spacing: .16em; }
.property-action-card__label { margin: 70px 0 14px; color: var(--pd-gold-light) !important; font-size: .74rem !important; }
.property-action-card h2 { margin: 0 0 20px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.16; }
.property-action-card > p { color: rgba(255,255,255,.62); font-size: .92rem; line-height: 1.8; }
.property-action-card__buttons { display: grid; gap: 10px; margin-top: 32px; }

.property-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.property-btn:hover { transform: translateY(-2px); }
.property-btn--gold { background: var(--pd-gold); color: var(--pd-deep); }
.property-btn--gold:hover { background: var(--pd-gold-light); color: var(--pd-deep); }
.property-btn--ghost { border-color: rgba(255,255,255,.22); color: var(--pd-white); background: transparent; }
.property-btn--ghost:hover { border-color: var(--pd-gold-light); color: var(--pd-gold-light); }

.property-hotline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.58);
    text-decoration: none;
    font-size: .72rem;
}

.property-hotline strong { color: white; font: 600 1.55rem Manrope, sans-serif; }

.property-map { padding: clamp(90px, 10vw, 140px) 0; background: var(--pd-cream); }
.property-section-heading { margin-bottom: 44px; }
.property-section-heading h2 { margin-bottom: 0; }
.property-map__frame { height: min(66vh, 620px); min-height: 420px; border: 1px solid rgba(11,34,53,.18); background: #ddd5c5; overflow: hidden; }
.property-map__frame iframe { width: 100%; height: 100%; border: 0; }

.property-inquiry { padding: clamp(90px, 11vw, 160px) 0; background: var(--pd-deep); color: var(--pd-white); }
.property-inquiry__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1fr); gap: clamp(60px, 9vw, 130px); }
.property-inquiry__copy h2 { margin-bottom: 26px; }
.property-inquiry__copy p { max-width: 620px; color: rgba(255,255,255,.58); line-height: 1.9; }

.property-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
.property-form__field { display: grid; gap: 9px; }
.property-form__field--wide { grid-column: 1 / -1; }
.property-form label { color: rgba(255,255,255,.68); font-size: .78rem; }
.property-form input,
.property-form textarea {
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--pd-white);
    font: inherit;
    resize: vertical;
}

.property-form input:focus,
.property-form textarea:focus { border-color: var(--pd-gold-light); }
.property-form__errors { padding: 14px; border-inline-start: 3px solid #d87362; background: rgba(216,115,98,.1); }
.property-form__errors p { margin: 0; color: #ffd9d2; font-size: .8rem; }
.property-form__submit { grid-column: 1 / -1; justify-self: start; min-width: 210px; border: 0; }
[dir="ltr"] .property-form__submit i { transform: rotate(180deg); }

.property-detail-page :focus-visible { outline: 3px solid var(--pd-gold-light); outline-offset: 4px; }

@media (max-width: 980px) {
    .property-overview__grid,
    .property-inquiry__grid { grid-template-columns: 1fr; }
    .property-action-card { position: relative; top: auto; }
    .property-inquiry__grid { gap: 52px; }
}

@media (max-width: 680px) {
    .property-shell { width: min(100% - 28px, 1320px); }
    .property-hero { min-height: 78svh; }
    .property-hero__content { padding-block: 132px 42px; }
    .property-breadcrumb { margin-bottom: 36px; font-size: .68rem; }
    .property-hero h1 { font-size: clamp(2.35rem, 12vw, 4rem); }
    .property-hero__index { bottom: 26px; font-size: 7rem; }
    .property-thumb { flex-basis: 124px; height: 78px; }
    .property-overview { padding-block: 76px; }
    .property-overview__main > h2,
    .property-section-heading h2,
    .property-inquiry__copy h2 { margin-bottom: 36px; font-size: 2.25rem; }
    .property-facts { grid-template-columns: 1fr; }
    .property-facts > div,
    .property-facts > div:nth-child(even) { min-height: 102px; padding: 21px 0; border-inline-start: 0; }
    .property-action-card { padding: 28px 22px; }
    .property-action-card__label { margin-top: 48px; }
    .property-map__frame { min-height: 360px; }
    .property-form { grid-template-columns: 1fr; }
    .property-form__field--wide,
    .property-form__submit { grid-column: auto; }
    .property-form__submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .property-hero__image img,
    .property-thumb img,
    .property-btn { transition: none !important; }
}
