/* =========================================================
   LUXURY PROPERTY SHOWCASE
========================================================= */

.vp-luxury-property-showcase__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 90px;
    align-items: center;
}

.vp-luxury-property-showcase__media {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #e7ded2;
}

.vp-luxury-property-showcase__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, .04),
            rgba(0, 0, 0, .06));
}

.vp-luxury-property-showcase__image {
    width: 100%;
    height: 100%;
    min-height: 720px;
    object-fit: cover;
    display: block;

    filter:
        saturate(0.88) contrast(1.04) brightness(0.94) sepia(0.06);
}

.vp-luxury-property-showcase__content {
    max-width: 560px;
}

.vp-luxury-property-showcase__eyebrow {
    margin-bottom: 26px;
}

.vp-luxury-property-showcase__title {
    font-size: clamp(42px, 4.8vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.075em;
}

.vp-luxury-property-showcase__text {
    margin-top: 34px;
    font-size: clamp(16px, 1.15vw, 19px);
}

.vp-luxury-property-showcase__details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;

    margin-top: 58px;
    padding-top: 34px;

    border-top: 1px solid rgba(23, 19, 15, 0.13);
}

.vp-luxury-property-showcase__detail {
    position: relative;
}

.vp-luxury-property-showcase__detail-value {
    display: block;

    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 400;

    color: #17130f;
}

.vp-luxury-property-showcase__detail-label {
    display: block;

    margin-top: 12px;

    color: rgba(23, 19, 15, 0.46);

    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.vp-luxury-property-showcase__button {
    margin-top: 58px;
}

/* Property media refinement */

.vp-luxury-property-showcase__media {
    border-radius: 34px;
    padding: 18px;

    background: #eee8dc;

    border: 1px solid rgba(210, 198, 178, 0.32);

    box-shadow:
        0 30px 90px rgba(23, 19, 15, 0.10);
}

.vp-luxury-property-showcase__image {
    border-radius: 20px;
}

.vp-luxury-property-showcase__media::after {
    inset: 18px;
    border-radius: 20px;
}

.vp-luxury-property-showcase__media::before {
    content: "";
    position: absolute;
    inset: 34px;
    z-index: 2;
    pointer-events: none;

    border: 1px solid rgba(255, 255, 255, 0.24);
    opacity: 0.65;
}

.vp-luxury-property-showcase__media {
    transition:
        transform 1s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 1s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.8s ease;
}

.vp-luxury-property-showcase__image {
    transition:
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s ease;
}

.vp-luxury-property-showcase__media:hover {
    transform: translateY(-10px);

    border-color:
        rgba(210, 198, 178, 0.48);

    box-shadow:
        0 42px 120px rgba(23, 19, 15, 0.14);
}

.vp-luxury-property-showcase__media:hover .vp-luxury-property-showcase__image {
    transform: scale(1.045);

    filter:
        saturate(0.94)
        contrast(1.05)
        brightness(0.98)
        sepia(0.03);
}

/* Responsive */

@media (max-width: 980px) {
    .vp-luxury-property-showcase__inner {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .vp-luxury-property-showcase__media,
    .vp-luxury-property-showcase__image {
        min-height: 520px;
    }
}

@media (max-width: 640px) {

    .vp-luxury-property-showcase__media,
    .vp-luxury-property-showcase__image {
        min-height: 390px;
    }

    .vp-luxury-property-showcase__title {
        font-size: clamp(38px, 11vw, 58px);
        line-height: 1;
    }

    .vp-luxury-property-showcase__details {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================================================
   Property showcase JS states
========================================================= */

.vp-luxury-property-showcase__media {
    transition:
        transform .95s cubic-bezier(.16, 1, .3, 1),
        box-shadow .95s cubic-bezier(.16, 1, .3, 1),
        border-color .8s ease;
}

.vp-luxury-property-showcase__image {
    transition:
        transform 1s cubic-bezier(.16, 1, .3, 1),
        filter .9s ease;
}

.vp-luxury-property-showcase__media.is-focused {
    transform:
        translate3d(
            var(--property-focus-x, 0),
            var(--property-focus-y, 0),
            0
        );

    box-shadow:
        0 42px 120px rgba(23, 19, 15, .14);
}

.vp-luxury-property-showcase__detail {
    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.16, 1, .3, 1),
        border-color .65s ease,
        background .65s ease;
}

.vp-luxury-property-showcase__detail.is-active {
    opacity: 1;
    transform: translateY(-8px);
    background: rgba(255, 250, 242, .72);
    border-color: rgba(201, 188, 166, .42);
}

.vp-luxury-property-showcase__detail.is-muted {
    opacity: .55;
}

.vp-luxury-property-showcase__detail.is-pulse .vp-luxury-property-showcase__detail-value {
    animation: luxuryPropertyValuePulse .7s ease;
}

@keyframes luxuryPropertyValuePulse {
    0% {
        opacity: .72;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .vp-luxury-property-showcase__media.is-focused,
    .vp-luxury-property-showcase__detail.is-active,
    .vp-luxury-property-showcase__detail.is-muted {
        transform: none;
        opacity: 1;
    }
}

/* =========================================================
   LUXURY PROPERTY SHOWCASE
   Tablet + Mobile final responsive polish
========================================================= */

/* Tablet */
@media (max-width: 1024px) {

    .vp-luxury-property-showcase__inner {
        grid-template-columns: 1fr;
        gap: 62px;
    }

    .vp-luxury-property-showcase__media,
    .vp-luxury-property-showcase__image {
        min-height: 520px;
    }

    .vp-luxury-property-showcase__content {
        max-width: 760px;
    }

    .vp-luxury-property-showcase__text {
        max-width: 640px;
        margin-top: 28px;
    }

    .vp-luxury-property-showcase__details {
        max-width: 680px;
        margin-top: 46px;
    }

    .vp-luxury-property-showcase__button {
        margin-top: 46px;
    }
}


/* Mobile */
@media (max-width: 640px) {

    .vp-luxury-property-showcase__inner {
        gap: 44px;
    }

    .vp-luxury-property-showcase__media {
        min-height: 360px;
        padding: 10px;
        border-radius: 20px;
    }

    .vp-luxury-property-showcase__image {
        min-height: 360px;
        border-radius: 14px;
    }

    .vp-luxury-property-showcase__media::after {
        inset: 10px;
        border-radius: 14px;
    }

    .vp-luxury-property-showcase__media::before {
        inset: 22px;
    }

    .vp-luxury-property-showcase__eyebrow {
        margin-bottom: 18px;
    }

    .vp-luxury-property-showcase__title {
        font-size: clamp(36px, 11vw, 54px);
        line-height: 1;
        letter-spacing: -.06em;
    }

    .vp-luxury-property-showcase__text {
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.68;
    }

    .vp-luxury-property-showcase__details {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 36px;
        padding-top: 28px;
    }

    .vp-luxury-property-showcase__detail {
        padding: 18px 0;
        border-bottom: 1px solid rgba(23, 19, 15, .10);
    }

    .vp-luxury-property-showcase__detail:last-child {
        border-bottom: 0;
    }

    .vp-luxury-property-showcase__detail-value {
        font-size: clamp(28px, 9vw, 38px);
    }

    .vp-luxury-property-showcase__detail-label {
        margin-top: 9px;
        font-size: 10px;
    }

    .vp-luxury-property-showcase__button {
        width: 100%;
        margin-top: 36px;
    }

    .vp-luxury-property-showcase__media:hover,
    .vp-luxury-property-showcase__media.is-focused {
        transform: none;
    }

    .vp-luxury-property-showcase__detail.is-active,
    .vp-luxury-property-showcase__detail.is-muted {
        transform: none;
        opacity: 1;
        background: transparent;
    }
}


/* Small Mobile */
@media (max-width: 420px) {

    .vp-luxury-property-showcase__media,
    .vp-luxury-property-showcase__image {
        min-height: 310px;
    }

    .vp-luxury-property-showcase__title {
        font-size: clamp(34px, 12vw, 48px);
    }

    .vp-luxury-property-showcase__media {
        border-radius: 18px;
    }
}

