/* Project detail — PDF-aligned */

:root {
    --font-project: 'PP Editorial Old', 'PP Editorial', Georgia, serif;
    --pd-muted: #c9c0b4;
    --pd-muted-soft: #b7aea2;
    --pd-cream: #ddd5c8;
}

.header-shell { width: min(1480px, 94vw); margin-inline: auto; }
.page-project .site-header { height: 96px; }

@media (min-width: 992px) {
    .page-project .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
    }
}

.page-project .header-logo-img { height: 32px; width: auto; }
.page-project .header-nav { justify-content: center; padding-right: 0; gap: 2.6rem; }
.page-project .header-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    font-weight: 400;
    text-transform: none;
    border-bottom-width: 1px;
}
.page-project .header-nav a.is-active { border-bottom-color: rgba(255, 255, 255, 0.95); }
.page-project .header-tel-box { min-width: 8rem; height: 36px; font-size: 0.74rem; }
.page-project .menu-toggle {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; padding: 0;
}
.page-project .menu-toggle span { display: block; width: 14px; height: 1.5px; margin: 0; background: #fff; }
.page-project .header-actions { gap: 0.85rem; }

.pd-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.4rem;
    border: 1px solid var(--sage);
    border-radius: 4px;
    color: var(--sage);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}
.pd-btn-outline:hover { background: rgba(143, 168, 140, 0.12); color: var(--sage); }
.pd-btn-outline svg { width: 16px; height: 16px; }

/* —— 01 Intro —— */
.pd-hero {
    background: #0a0a0a;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: calc(var(--header-h) + 5rem) 0 5.5rem;
    text-align: left;
    border-bottom: 1px solid var(--sage);
}
.pd-hero-inner {
    text-align: left;
    margin-inline: auto;
    width: min(1280px, 92vw);
}
.pd-hero-title {
    margin: 0;
    padding: 0 3rem 1rem 0;
    border-bottom: 1px solid var(--sage);
    width: fit-content;
    min-width: 16rem;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(3.25rem, 7.5vw, 5.25rem);
    line-height: 1;
    color: var(--sage);
    text-align: left;
}
.pd-hero-lead {
    margin: 1.25rem 0 1rem;
    font-size: 1.05rem;
    color: var(--pd-cream);
    text-align: left;
}
.pd-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--sage);
    font-size: 0.9rem;
    text-align: left;
}

/* —— 02 Overview —— */
.pd-overview { padding: 4.5rem 0 5rem; background: #0a0a0a; }
.pd-overview-title {
    margin: 0 0 2rem;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    color: var(--sage);
}
.pd-overview-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 992px) {
    .pd-overview-grid {
        grid-template-columns: 1.35fr 0.95fr;
        gap: 2.75rem;
        align-items: center;
    }
}
.pd-overview-media img {
    width: 100%;
    min-height: 460px;
    max-height: 560px;
    object-fit: cover;
    border: 1px solid var(--sage);
    border-radius: 10px;
}
.pd-overview-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.15rem;
}
.pd-spec-widget {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sage);
    border-radius: 6px;
    padding: 0.35rem 0;
}
.pd-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid rgba(143, 168, 140, 0.45);
}
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-label {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pd-muted-soft);
    margin-bottom: 0.3rem;
}
.pd-spec-value {
    font-size: 1rem;
    color: var(--pd-cream);
}
.pd-spec-svg {
    width: 22px;
    height: 22px;
    color: var(--pd-muted);
    flex-shrink: 0;
}
.pd-sales-card {
    padding: 1.15rem 1.35rem 1.25rem;
    border: 1px solid var(--sage);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}
.pd-sales-label {
    margin: 0 0 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--sage);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
}
.pd-sales-main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.45rem;
}
.pd-sales-svg { width: 26px; height: 26px; color: var(--sage); flex-shrink: 0; }
.pd-sales-phone {
    color: var(--pd-cream);
    font-size: 1.2rem;
    font-weight: 500;
}
.pd-sales-hours {
    margin: 0;
    font-size: 0.82rem;
    color: var(--pd-muted-soft);
}

/* —— 03 Luxury + Features —— */
.pd-living {
    position: relative;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}
.pd-living-bg { position: absolute; inset: 0; }
.pd-living-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
}
.pd-living-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.62), rgba(8, 8, 8, 0.78));
}
.pd-living-inner { position: relative; z-index: 1; }
.pd-living-top {
    display: grid;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 992px) {
    .pd-living-top {
        grid-template-columns: 0.9fr 1.2fr;
        gap: 3.5rem;
        align-items: start;
    }
}
.pd-living-heading {
    margin: 0;
    max-width: 16rem;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    line-height: 1.15;
    color: var(--sage);
}
.pd-living-copy p {
    margin: 0 0 1rem;
    color: var(--pd-muted);
    line-height: 1.75;
    font-size: 0.98rem;
}
.pd-icon-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 3.5rem;
    padding: 0.35rem 0 1.75rem;
    border-bottom: 1px solid var(--sage);
}
@media (min-width: 992px) {
    .pd-icon-stats { grid-template-columns: repeat(5, 1fr); }
}
.pd-icon-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
    padding: 1rem 1.15rem;
    border-right: 1px solid rgba(143, 168, 140, 0.45);
}
.pd-icon-stat:last-child { border-right: none; }
@media (max-width: 991px) {
    .pd-icon-stat:nth-child(2n) { border-right: none; }
    .pd-icon-stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(143, 168, 140, 0.35);
    }
}
.pd-icon-stat svg {
    width: 32px;
    height: 32px;
    color: var(--pd-cream);
    flex-shrink: 0;
    margin: 0;
}
.pd-icon-stat-copy {
    min-width: 0;
}
.pd-icon-stat strong {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pd-muted-soft);
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.pd-icon-stat span {
    color: var(--sage);
    font-size: 0.9rem;
    line-height: 1.35;
}
.pd-living-features {
    display: grid;
    gap: 2rem;
}
@media (min-width: 992px) {
    .pd-living-features {
        grid-template-columns: 1fr 1.15fr;
        gap: 3rem;
        align-items: start;
    }
}
.pd-features-heading {
    margin: 0 0 1.5rem;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--sage);
    white-space: nowrap;
}
.pd-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pd-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(143, 168, 140, 0.35);
    color: var(--pd-muted);
    line-height: 1.5;
}
.pd-checklist li svg {
    width: 16px;
    height: 16px;
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.pd-living-features-media img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border: 1px solid var(--sage);
    border-radius: 8px;
}

/* —— 04 Amenities —— */
.pd-amenities {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: #0a0a0a;
}
.pd-amenities-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.pd-amenities-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.28);
}
.pd-amenities-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.72));
}
.pd-amenities .container-rijam {
    position: relative;
    z-index: 1;
}
.pd-amenities-title {
    margin: 0 0 2.25rem;
    text-align: left;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(2rem, 4vw, 2.85rem);
    color: var(--sage);
}
.pd-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--sage);
    border-left: 1px solid var(--sage);
}
@media (min-width: 768px) { .pd-amenities-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .pd-amenities-grid { grid-template-columns: repeat(7, 1fr); } }
.pd-amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 10rem;
    padding: 1.5rem 0.75rem;
    border-right: 1px solid var(--sage);
    border-bottom: 1px solid var(--sage);
    text-align: center;
}
.pd-amenity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.85rem;
    line-height: 1;
    color: var(--pd-cream);
}
.pd-amenity-label {
    font-size: 0.92rem;
    color: var(--pd-muted);
    line-height: 1.35;
}
.pd-amenity-dash {
    width: 1.5rem;
    height: 1px;
    background: var(--sage);
    opacity: 0.7;
}

/* —— 05 Gallery —— */
.pd-gallery { padding: 5rem 0; background: #101010; }
.pd-gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}
.pd-gallery-title {
    margin: 0;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(2rem, 4vw, 2.85rem);
    color: var(--sage);
}
.pd-gallery-tabs { display: flex; gap: 1.5rem; }
.pd-gallery-tabs button {
    background: none;
    border: none;
    padding: 0 0 0.4rem;
    color: var(--pd-muted-soft);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}
.pd-gallery-tabs button.is-active,
.pd-gallery-tabs button:hover {
    color: var(--sage);
    border-bottom-color: var(--sage);
}
.pd-gallery-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .pd-gallery-grid { grid-template-columns: 1fr 1fr; } }
.pd-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--sage);
    aspect-ratio: 16 / 10;
}
.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pd-gallery-item:hover img { transform: scale(1.03); }

/* —— 06 Location + map —— */
.pd-location {
    position: relative;
    padding: 4.5rem 0 5rem;
    overflow: hidden;
    text-align: left;
}
.pd-location-bg { position: absolute; inset: 0; }
.pd-location-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    filter: brightness(0.28);
    opacity: 0.9;
}
.pd-location-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.7) 42%, rgba(8, 8, 8, 0.45) 100%);
}
.pd-location-wrap {
    position: relative;
    z-index: 1;
    text-align: left;
}
.pd-location-inner {
    max-width: 34rem;
    margin: 0 0 2.75rem;
    text-align: left;
}
.pd-location-title {
    margin: 0 0 1.25rem;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(2rem, 4vw, 2.85rem);
    color: var(--sage);
    text-align: left;
}
.pd-location-body {
    margin: 0 0 1.5rem;
    color: var(--pd-muted);
    line-height: 1.7;
    text-align: left;
}
.pd-location-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.pd-location-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: var(--pd-muted);
}
.pd-check {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.pd-check svg { width: 16px; height: 16px; display: block; }

.pd-mapbox-panel {
    display: grid;
    gap: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
@media (min-width: 992px) {
    .pd-mapbox-panel {
        grid-template-columns: 1.05fr 1fr;
        gap: 2rem;
        align-items: center;
        padding: 0;
    }
}
.pd-mapbox-map {
    border: 1px solid var(--sage);
    border-radius: 10px;
    overflow: hidden;
    min-height: 320px;
}
.pd-mapbox-map img,
.pd-mapbox-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
    object-fit: cover;
}
.pd-mapbox-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 0.5rem 0.75rem;
}
.pd-mapbox-address {
    margin: 0;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.35;
    color: var(--sage);
}
.pd-btn-direction {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--pd-cream);
    border-radius: 8px;
}
.pd-btn-direction:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.pd-mapbox-phone {
    width: 100%;
    border: 1px solid var(--sage);
    border-radius: 10px;
    padding: 0 1.15rem;
    background: rgba(0, 0, 0, 0.2);
}
.pd-mapbox-phone-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1rem 0;
}
.pd-phone-ico {
    color: var(--sage);
    display: inline-flex;
}
.pd-phone-ico svg { width: 34px; height: 34px; }
.pd-mapbox-phone-row a {
    color: var(--pd-cream);
    font-size: 1.45rem;
    font-weight: 500;
}
.pd-mapbox-hours {
    margin: 0;
    padding: 0.9rem 0 1rem;
    border-top: 1px solid var(--sage);
    text-align: center;
    color: var(--pd-muted);
    font-size: 0.9rem;
}

/* —— Inquiry —— */
.pd-inquiry {
    position: relative;
    padding: 5.5rem 0 6rem;
    overflow: hidden;
}
.pd-inquiry-bg { position: absolute; inset: 0; }
.pd-inquiry-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.26);
}
.pd-inquiry-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.55);
}
.pd-inquiry-inner { position: relative; z-index: 1; }
.pd-inquiry-title {
    margin: 0;
    text-align: center;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--sage);
}
.pd-inquiry-sub {
    margin: 0.85rem auto 3rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 192, 180, 0.45);
    width: fit-content;
    text-align: center;
    font-size: 0.95rem;
    color: var(--pd-cream);
}
.pd-inquiry-grid {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 992px) {
    .pd-inquiry-grid {
        grid-template-columns: 0.85fr 1.25fr;
        gap: 3.5rem;
    }
}
.pd-inquiry-contact h3 {
    margin: 0 0 1.5rem;
    font-family: var(--font-project);
    font-weight: 200;
    font-size: 1.75rem;
    color: var(--pd-muted);
}
.pd-inquiry-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 1.1rem;
    color: var(--pd-muted);
    line-height: 1.55;
}
.pd-inquiry-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--pd-muted);
}
.pd-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding: 0.55rem 1.1rem 0.55rem 0.55rem;
    border: 1px solid rgba(201, 192, 180, 0.55);
    border-radius: 999px;
    color: var(--pd-cream);
    font-size: 0.85rem;
}
.pd-contact-pill span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(201, 192, 180, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pd-contact-pill svg { width: 16px; height: 16px; color: var(--pd-cream); margin: 0; }
.pd-form-row {
    display: grid;
    gap: 1rem;
}
@media (min-width: 768px) {
    .pd-form-row { grid-template-columns: 1fr 1fr; }
}
.pd-inquiry-form .form-group { margin-bottom: 1rem; }
.pd-field { position: relative; }
.pd-field input,
.pd-field textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(183, 174, 162, 0.55);
    border-radius: 8px;
    color: var(--pd-muted);
    padding: 0.95rem 2.75rem 0.95rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
}
.pd-field textarea { padding-right: 2.75rem; resize: vertical; }
.pd-field input::placeholder,
.pd-field textarea::placeholder { color: var(--pd-muted-soft); opacity: 0.9; }
.pd-field svg {
    position: absolute;
    right: 0.9rem;
    top: 0.95rem;
    width: 18px;
    height: 18px;
    color: var(--pd-muted-soft);
    pointer-events: none;
}
.pd-field--area svg { top: 1rem; }
.pd-field input:focus,
.pd-field textarea:focus {
    outline: none;
    border-color: var(--pd-cream);
}
.pd-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
}
.pd-submit-wrap .pd-btn-outline {
    color: var(--pd-cream);
    border-color: rgba(201, 192, 180, 0.7);
    min-width: 9rem;
}
.pd-submit-wrap .pd-btn-outline:hover {
    background: rgba(201, 192, 180, 0.1);
    color: #fff;
}

@media (max-width: 767px) {
    .pd-overview-media img,
    .pd-living-features-media img { min-height: 240px; }
    .pd-features-heading { white-space: normal; }
    .pd-mapbox-phone-row a { font-size: 1.15rem; }
}

/* Inquiry form AJAX (aligned with contact) */
.pd-form-errors {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(220, 53, 69, 0.45);
    background: rgba(220, 53, 69, 0.15);
    color: #f8d7da;
    font-size: 0.9rem;
}
.pd-form-errors ul { margin: 0; padding-left: 1.1rem; }
.pd-submit-wrap .pd-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    position: relative;
}
.pd-submit-wrap .pd-btn-outline:disabled,
.pd-submit-wrap .pd-btn-outline.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
}
.pd-submit-spin {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(201, 192, 180, 0.35);
    border-top-color: var(--pd-cream);
    border-radius: 50%;
    animation: pd-spin 0.7s linear infinite;
}
.pd-submit-wrap .pd-btn-outline.is-loading .pd-submit-spin { display: inline-block; }
.pd-submit-wrap .pd-btn-outline.is-loading .pd-submit-label { opacity: 0.85; }
@keyframes pd-spin { to { transform: rotate(360deg); } }

.pd-toast {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: min(22rem, calc(100vw - 2.5rem));
    padding: 0.95rem 1rem;
    border: 1px solid rgba(143, 168, 140, 0.55);
    border-radius: 10px;
    background: rgba(16, 20, 16, 0.94);
    color: #e8f0e6;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pd-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.pd-toast-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    color: #8fa88c;
    margin-top: 0.05rem;
}
.pd-toast-icon svg { width: 100%; height: 100%; display: block; }
.pd-toast-text { margin: 0; flex: 1; font-size: 0.92rem; line-height: 1.45; }
.pd-toast-close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.pd-toast-close:hover { color: #fff; }
