/* ======================================================
   Property Carousel — Pinned horizontal scroll
   ====================================================== */
:root {
    --pc-accent: #717fe0;
    --pc-accent-hover: #5b69c9;
    --pc-ink-900: #16181d;
    --pc-ink-600: #5b5f66;
    --pc-ink-400: #9aa0a8;
    --pc-line: #e7e6e2;
    --pc-sec-bg: #f6f5f2;
    --pc-radius: 16px;
    --pc-pad: clamp(24px, 6vw, 80px);
}

/* ── HERO ───────────────────────────────────────── */
.pc-hero {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
    background: #0e1014;
}

.pc-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--pc-pad);
}

.pc-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--pc-accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pc-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--pc-accent);
    display: inline-block;
}

.pc-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -.01em;
    font-size: clamp(40px, 6.4vw, 88px);
    line-height: 1.02;
    margin: 22px 0 0;
    max-width: 16ch;
    color: #f3f4f6;
}

.pc-hero__title em {
    font-style: italic;
    color: var(--pc-accent);
}

.pc-hero__text {
    margin: 26px 0 0;
    max-width: 46ch;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.7;
    color: #aab0ba;
    font-weight: 300;
}

.pc-scroll-hint {
    margin-top: 56px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 500;
}

.pc-scroll-hint__dot {
    width: 34px;
    height: 34px;
    border: 1px solid #20242d;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #f3f4f6;
}

.pc-scroll-hint__dot .material-icons {
    font-size: 18px;
    animation: pcBob 1.8s ease-in-out infinite;
}

@keyframes pcBob {
    0%, 100% { transform: translateY(-3px); }
    50% { transform: translateY(3px); }
}

/* ── FILTERS SECTION ────────────────────────────── */
.pc-filters-section {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid var(--pc-line);
}

/* ── PINNED CAROUSEL ────────────────────────────── */
.pc-pin-wrap {
    position: relative;
    background: var(--pc-sec-bg);
    padding-top: 60px;
    padding-bottom: 60px;
}

.pc-pin-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pc-pin-inner {
    --cards: 3;
    --gap: 30px;
    width: 100%;
}

.pc-sec-head {
    padding: 0 var(--pc-pad);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vh, 52px);
}

.pc-sec-head__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.05;
    margin: 14px 0 0;
    letter-spacing: -.01em;
    color: var(--pc-ink-900);
}

.pc-sec-head__lead {
    color: var(--pc-ink-600);
    font-weight: 300;
    font-size: 15px;
    max-width: 34ch;
    margin: 0;
}

.pc-sec-head__meta {
    text-align: right;
    flex: 0 0 auto;
}

.pc-track {
    display: flex;
    gap: var(--gap);
    padding-inline: var(--pc-pad);
    padding-block: 8px;
    will-change: transform;
}

/* ── PROPERTY CARD ──────────────────────────────── */
.pc-card {
    flex: 0 0 auto;
    width: calc((100vw - 2 * var(--pc-pad) - (var(--cards) - 1) * var(--gap)) / var(--cards));
    position: relative;
    aspect-ratio: 3 / 4;
    background: #1a1c22;
    border-radius: var(--pc-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 16px 40px rgba(0,0,0,.08);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}

.pc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 28px 60px rgba(0,0,0,.20);
}

.pc-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.pc-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.pc-card:hover .pc-card__img {
    transform: scale(1.06);
}

/* Badge */
.pc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,255,255,.92);
    color: var(--pc-ink-900);
    backdrop-filter: blur(4px);
}

.pc-badge--rent {
    background: var(--pc-accent);
    color: #fff;
}

/* Favorite */
.pc-fav {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(255,255,255,.92);
    color: #16181d;
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.pc-fav .material-icons { font-size: 20px; }
.pc-fav:hover { transform: scale(1.08); }
.pc-fav.on { background: #e34f4f; color: #fff; }

/* Overlay */
.pc-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 26px 20px 20px;
    color: #fff;
    background: linear-gradient(to top, rgba(13,15,20,.94) 0%, rgba(13,15,20,.78) 42%, rgba(13,15,20,0) 100%);
    transition: background .42s ease;
}

.pc-card:hover .pc-overlay {
    background: linear-gradient(to top, rgba(13,15,20,.96) 0%, rgba(13,15,20,.9) 58%, rgba(13,15,20,.12) 100%);
}

.pc-overlay__type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    opacity: .72;
}

.pc-overlay__title {
    font-size: 22px;
    font-weight: 600;
    margin: 7px 0 6px;
    letter-spacing: -.01em;
    color: #fff;
}

.pc-overlay__loc {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 300;
}

.pc-overlay__loc .material-icons {
    font-size: 16px;
    opacity: .8;
}

.pc-overlay__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.pc-overlay__price {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #fff;
    white-space: nowrap;
}

.pc-overlay__price span {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,.65);
}

.pc-overlay__specs {
    display: flex;
    gap: 15px;
}

.pc-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.92);
}

.pc-spec .material-icons {
    font-size: 18px;
    color: rgba(255,255,255,.6);
}

/* Reveal on hover */
.pc-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .42s cubic-bezier(.2,.7,.2,1), opacity .32s ease, margin-top .42s ease;
}

.pc-card:hover .pc-reveal {
    max-height: 260px;
    opacity: 1;
    margin-top: 16px;
}

.pc-reveal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 16px;
}

.pc-rv {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pc-rv .material-icons {
    font-size: 18px;
    color: rgba(255,255,255,.55);
}

.pc-rv__k {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    line-height: 1.2;
}

.pc-rv__v {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.pc-cta {
    margin-top: 16px;
    width: 100%;
    border: 0;
    cursor: pointer;
    background: #fff;
    color: #16181d;
    border-radius: 10px;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
    position: relative;
    z-index: 5;
}

.pc-cta:hover {
    background: var(--pc-accent);
    color: #fff;
    text-decoration: none;
}

.pc-cta .material-icons { font-size: 17px; }

/* Progress bar */
.pc-prog {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(24px, 3.6vh, 44px) var(--pc-pad) 0;
}

.pc-prog__line {
    flex: 1;
    height: 2px;
    background: var(--pc-line);
    border-radius: 999px;
    overflow: hidden;
}

.pc-prog__fill {
    height: 100%;
    width: 0;
    background: var(--pc-accent);
    border-radius: 999px;
    transition: width .12s linear;
}

.pc-prog__num {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--pc-ink-900);
    font-variant-numeric: tabular-nums;
}

.pc-prog__tot {
    color: var(--pc-ink-400);
    font-weight: 400;
}

/* Hidden card (filtered out) */
.pc-card.pc-hidden {
    display: none;
}

/* No results */
.pc-no-results {
    padding: 60px var(--pc-pad);
    text-align: center;
}

.pc-no-results__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--pc-ink-400);
}

.pc-no-results__inner .material-icons {
    font-size: 48px;
    opacity: .5;
}

.pc-no-results__inner p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
    .pc-pin-inner { --cards: 1.25; }
    .pc-sec-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .pc-sec-head__meta { text-align: left; }
}

@media (max-width: 560px) {
    .pc-pin-inner { --cards: 1.1; --gap: 18px; }
    .pc-hero { min-height: 70vh; padding: 100px 0 60px; }
}
