body .vm-search-wrap,
body .vm-single {
    font-family: "Montserrat", sans-serif;
}

.vm-search-form {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
    align-items: stretch;
}

.vm-search-form input,
.vm-search-form select,
.vm-search-form button {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.17);
    color: #fff;
    padding: 10px;
    min-height: 44px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.vm-search-form select {
    appearance: none;
    color: #fff;
    padding-right: 40px;
    border-radius: 10px;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.9) 50%),
        linear-gradient(135deg, rgba(255,255,255,0.9) 50%, transparent 50%),
        linear-gradient(to right, rgba(255,255,255,0.22), rgba(255,255,255,0.22));
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px),
        calc(100% - 34px) 50%;
    background-size: 6px 6px, 6px 6px, 1px 18px;
    background-repeat: no-repeat;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vm-search-form select option {
    color: #111;
    background: #fff;
}

.vm-search-form select:hover {
    border-color: rgba(129, 216, 208, 0.85);
    background-color: rgba(255, 255, 255, 0.22);
}

.vm-search-form select:focus {
    outline: none;
    border-color: #81D8D0;
    box-shadow: 0 0 0 3px rgba(129, 216, 208, 0.26);
    background-color: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}

.vm-search-form button {
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    grid-column: span 2;
    background: rgba(129, 216, 208, 0.3);
    border-color: rgba(129, 216, 208, 0.8);
    color: #fff;
}

.vm-search-form.vm-search-form--private-kind {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-template-columns: none;
    gap: 0;
    margin-bottom: 30px;
}

.vm-private-kind-bar {
    --vm-kind-teal: #81d8d0;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}

.vm-private-kind-sep {
    display: inline-block;
    width: 1px;
    height: 1.15em;
    margin: 0 0.1rem;
    padding: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    user-select: none;
    background: rgba(129, 216, 208, 0.35);
}

.vm-search-form.vm-search-form--private-kind .vm-private-kind-btn {
    position: relative;
    isolation: isolate;
    margin: 0;
    padding: 20px 30px;
    min-height: 44px;
    grid-column: auto;
    border: 1px solid transparent;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.62);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 999px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: color 0.28s ease, border-color 0.28s ease;
}

.vm-search-form.vm-search-form--private-kind .vm-private-kind-btn:hover {
    color: rgba(129, 216, 208, 0.92);
    background: transparent !important;
    border-color: transparent;
    transform: none;
}

.vm-search-form.vm-search-form--private-kind .vm-private-kind-btn.is-active {
    color: #fff;
    font-weight: 600;
    border-color: transparent;
    text-decoration: none;
}

.vm-search-form.vm-search-form--private-kind .vm-private-kind-btn.is-active::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--vm-kind-border-angle, 0deg),
        transparent 0deg 50deg,
        var(--vm-kind-teal) 110deg 170deg,
        transparent 230deg 310deg,
        var(--vm-kind-teal) 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: vm-private-kind-border-spin 2.8s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.vm-search-form.vm-search-form--private-kind .vm-private-kind-btn.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(129, 216, 208, 0.22);
    pointer-events: none;
}

@property --vm-kind-border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes vm-private-kind-border-spin {
    to {
        --vm-kind-border-angle: 360deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vm-search-form.vm-search-form--private-kind .vm-private-kind-btn.is-active::before {
        animation: none;
        background: var(--vm-kind-teal);
    }
}

/* Estate search: one grouped panel — filters, toggles, and search */
.vm-search-wrap--estate .vm-estate-search-form {
    display: block;
    margin-bottom: 24px;
    min-width: 0;
}

.vm-search-wrap--estate .vm-estate-filter-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.vm-search-wrap--estate .vm-estate-filter-metrics,
.vm-search-wrap--estate .vm-search-toggle-group--estate {
    display: contents;
}

.vm-search-wrap--estate .vm-estate-search-form .vm-estate-filter-select {
    min-width: 0;
    width: 100%;
}

.vm-search-wrap--estate .vm-estate-search-form .vm-search-toggle-group--estate .vm-search-toggle {
    min-width: 0;
    padding: 0 8px 0 10px;
}

.vm-search-wrap--estate .vm-estate-search-form .vm-search-toggle__label {
    font-size: 0.78rem;
    line-height: 1.2;
}

.vm-search-wrap--estate .vm-estate-filter-panel .vm-estate-search-submit {
    grid-column: 1 / -1;
    width: 100%;
    white-space: nowrap;
    padding-left: 14px;
    padding-right: 14px;
    order: 99;
}

.vm-estate-filter-select.vm-filter--hidden {
    display: none !important;
}

@media (min-width: 901px) {
    .vm-search-wrap--estate .vm-estate-filter-panel {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 8px;
    }

    .vm-search-wrap--estate .vm-estate-filter-panel .vm-estate-filter-select,
    .vm-search-wrap--estate .vm-estate-filter-panel .vm-search-toggle {
        flex: 1 1 0;
        min-width: 0;
    }

    .vm-search-wrap--estate .vm-estate-filter-panel .vm-estate-search-submit {
        flex: 0 0 auto;
        width: auto;
        min-width: 8.5rem;
        grid-column: auto;
        order: 0;
    }
}

.vm-search-toggle-group {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 8px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.vm-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0 10px 0 12px;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
}

.vm-search-toggle__label {
    font-weight: 600;
}

.vm-search-toggle__switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.vm-search-toggle__switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vm-search-toggle__slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #c9ccd1;
    transition: background-color .2s ease;
}

.vm-search-toggle__slider::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.22);
    transition: transform .2s ease;
}

.vm-search-toggle.is-active {
    border-color: #81D8D0;
    background: rgba(129, 216, 208, 0.2);
}

.vm-search-toggle.is-active .vm-search-toggle__slider {
    background: #81D8D0;
}

.vm-search-toggle.is-active .vm-search-toggle__slider::before {
    transform: translateX(16px);
}

.vm-results-grid {
    display: grid;
    gap: 18px;
}

/*
 * Shortcode results: square cells (row height = column width) so 1×1 tiles are square
 * and dense packing (e.g. 2×2 big + four 1×1) reads as one big + four small in a 2×2 block.
 */
#vm-search-results,
#vm-protected-search-results,
#vm-estate-search-results {
    container-type: inline-size;
    width: 100%;
    min-width: 0;
}

/* Collection page: container queries on results break block-height growth (footer sits early). */
body.vm-villas-collection-page #vm-search-results,
body.vm-estates-collection-page #vm-estate-search-results,
body.vm-protected-properties-page #vm-protected-search-results {
    container-type: normal;
    contain: none;
    height: auto;
    max-height: none;
}

.vm-results-grid--layout {
    --vm-results-cols: 4;
    --vm-results-gap: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: var(--vm-results-gap);
    /* Fallback when container query units are unavailable */
    grid-auto-rows: minmax(148px, 22vw);
}

@supports (width: 1cqw) {
    .vm-results-grid--layout {
        grid-auto-rows: calc(
            (100cqw - (var(--vm-results-cols) - 1) * var(--vm-results-gap)) / var(--vm-results-cols)
        );
    }
}

.vm-results-grid--layout .vm-villa-card.vm-card-layout {
    grid-column: span var(--vm-card-w, 1);
    grid-row: span var(--vm-card-h, 1);
    min-height: 0;
    align-self: stretch;
}

/* Collection desktop mosaic (data-vm-w on cards, not inline CSS vars) */
@media (min-width: 1281px) {
    body.vm-villas-collection-page .vm-results-grid--villa-collection,
    body.vm-estates-collection-page .vm-results-grid--estate-collection {
        container-type: inline-size;
    }

    .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout[data-vm-w="2"],
    .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout[data-vm-w="2"] {
        grid-column: span 2;
        grid-row: span 2;
    }

    .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout[data-vm-w="3"],
    .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout[data-vm-w="3"] {
        grid-column: span 3;
        grid-row: span 3;
    }

    .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout[data-vm-w="4"],
    .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout[data-vm-w="4"] {
        grid-column: span 4;
        grid-row: span 4;
    }
}

/* Villas collection mobile stack — see end of file for touch + wide-viewport overrides */

.vm-results-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vm-results-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vm-villa-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.vm-villa-card.vm-card-large {
    min-height: 540px;
}

.vm-villa-card.vm-card-small {
    min-height: 260px;
}

.vm-card-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: none;
    transform: none;
}

.vm-villa-card.is-protected .vm-card-image {
    filter: blur(22px) brightness(1.2);
    transform: scale(1.05);
}

.vm-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.72) 100%);
    padding: 24px 20px;
    box-sizing: border-box;
}

/*
 * Shortcode result cards: always opaque (scroll-reveal / theme can otherwise leave opacity:0 on mobile).
 * Use IDs so this wins without relying on html.vm-js.
 */
#vm-search-results .vm-villa-card,
#vm-protected-search-results .vm-villa-card,
#vm-estate-search-results .vm-villa-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-height: 0 !important;
}

/* Listing cards: GD blur + CSS blur; no scale (scale caused white gaps in grid cells). */
#vm-search-results .vm-villa-card.is-protected .vm-card-image,
#vm-protected-search-results .vm-villa-card.is-protected .vm-card-image,
#vm-estate-search-results .vm-villa-card.is-protected .vm-card-image {
    transform: none;
    filter: blur(22px) brightness(1.2);
}

/* Villa / estate shortcode grids: frosted overlay on hover (desktop) or always (touch/mobile). */
.vm-search-wrap .vm-results-grid--layout > .vm-villa-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.vm-search-wrap .vm-results-grid--layout > .vm-villa-card .vm-card-overlay {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}

@media (prefers-reduced-motion: reduce) {
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card .vm-card-overlay {
        transition: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card:hover .vm-card-overlay,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible .vm-card-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (hover: none), (pointer: coarse) {
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card .vm-card-overlay {
        opacity: 0;
        pointer-events: none;
    }

    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open .vm-card-overlay {
        opacity: 1;
        pointer-events: none;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open .vm-card-meta span,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open .vm-card-under-label,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open .vm-card-location,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open .vm-card-location-kicker,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open .vm-card-location-text,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open h3 {
        color: #141414 !important;
    }

    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card.vm-card--overlay-open .vm-card-meta span + span::before {
        color: #141414 !important;
        opacity: 0.42;
    }
}
[class^="kal-"] {
    font-size: 28px;
  }
.vm-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    font-size: 13px;
    margin: 0 0 10px;
}

.vm-card-location {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.35;
    opacity: 0.96;
    max-width: 100%;
}

.vm-card-location--estate {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vm-card-location-kicker {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

.vm-card-overlay h3 {
    margin: 0;
    font-size: clamp(calc(1.15rem + 4px), calc(2.6vw + 4px), calc(1.65rem + 4px));
    font-weight: 500;
    line-height: 1.2;
}

.vm-villa-card:hover .vm-card-meta span,
.vm-villa-card:hover .vm-card-under-label,
.vm-villa-card:hover .vm-card-location,
.vm-villa-card:hover h3,
.vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible .vm-card-meta span,
.vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible .vm-card-under-label,
.vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible .vm-card-location,
.vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible h3 {
    color: #fff;
}

/* Collection shortcodes ([villa_search], [estate_search], [villa_search_protected]): frosted light overlay on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .vm-search-wrap .vm-card-overlay {
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .vm-search-wrap .vm-villa-card:hover .vm-card-meta span,
    .vm-search-wrap .vm-villa-card:hover .vm-card-under-label,
    .vm-search-wrap .vm-villa-card:hover .vm-card-location,
    .vm-search-wrap .vm-villa-card:hover h3,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible .vm-card-meta span,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible .vm-card-under-label,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible .vm-card-location,
    .vm-search-wrap .vm-results-grid--layout > .vm-villa-card:focus-visible h3 {
        color: #141414;
    }
}

.vm-search-wrap .vm-card-meta {
    gap: 0;
    row-gap: 6px;
}

.vm-search-wrap .vm-card-meta span + span::before {
    content: '|';
    display: inline-block;
    margin: 0 0.38em;
    font-weight: 400;
    opacity: 0.42;
    color: inherit;
}

.zoom-in-down {
    transition: transform 0.35s ease;
}

/* Only real hover devices: tap does not equal hover; transform on grid cards caused huge gaps until “hover” stuck */
@media (hover: hover) {
    .zoom-in-down:hover {
        transform: translateY(-6px) scale(1.01);
    }
}

.vm-hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.vm-hero--video .vm-hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0a0c0e;
}

.vm-hero--video .vm-hero-video-bg iframe,
.vm-hero--video .vm-hero-video-bg video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    border: 0;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
@media all and (max-width:512px){
.vm-single--estate.vm-single--estate-video {
    padding-top: 90px;
}
}
/* Estate video hero: mobile = full width, natural aspect ratio; hide overlay CTA */
@media (max-width: 900px) {
    .vm-single--estate .vm-hero--video {
        min-height: 0;
        height: auto;
    }

    .vm-single--estate .vm-hero--video::before {
        content: none !important;
        display: none !important;
        pointer-events: none !important;
    }

    .vm-single--estate .vm-hero--video .vm-hero-video-bg {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        overflow: visible;
        z-index: 1;
        pointer-events: auto;
    }

    .vm-single--estate .vm-hero--video .vm-hero-video-bg video {
        position: relative;
        inset: auto;
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        object-fit: contain;
        pointer-events: auto;
        touch-action: manipulation;
    }

    .vm-single--estate .vm-hero--video .vm-hero-video-bg iframe {
        position: relative;
        inset: auto;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        max-width: 100%;
        pointer-events: auto;
        touch-action: manipulation;
    }

    .vm-single--estate .vm-hero--video .vm-hero-reserve {
        display: none !important;
    }
}
.vm-hero--video::before {
    z-index: 1;
}

.vm-hero--video .vm-hero-content,
.vm-hero--video .vm-hero-reserve {
    z-index: 2;
}

.vm-hero:not(.vm-hero--locked)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}
.vm-tab-headings {
    overflow: hidden;
  }
.vm-single--estate .vm-hero:not(.vm-hero--locked)::before {
    background: transparent;
}

/* Protected villa: GD blur + CSS blur on locked hero background. */
.vm-hero.vm-hero--locked {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0e1218;
    color: #fff;
}

.vm-hero-lock-bg {
    position: absolute;
    inset: -32px;
    background-size: cover;
    background-position: center;
    filter: blur(23px);
    -webkit-filter: blur(23px);
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .vm-hero-lock-bg {
        filter: none;
        -webkit-filter: none;
        transform: none;
        inset: 0;
    }
}

.vm-hero-lock-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(6, 10, 16, 0.52);
}

.vm-password-gate--overlay {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(2.5rem, 10vh, 5rem) 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: center;
}

.vm-password-gate--overlay h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

.vm-password-gate--overlay .vm-password-gate-hint {
    margin: 0 auto 0.75rem;
    max-width: min(100%, 28rem);
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    text-align: left;
}

.vm-password-gate--overlay .vm-password-gate-hint p {
    margin: 0 0 0.5rem;
}

.vm-password-gate--overlay .vm-password-gate-hint p:last-child {
    margin-bottom: 0;
}

.vm-password-gate--overlay > p {
    margin: 0 0 0.25rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.vm-password-gate--overlay form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 1.5rem;
    text-align: left;
}

.vm-password-gate--overlay input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
}

.vm-password-gate--overlay input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.vm-password-gate--overlay button[type="submit"] {
    padding: 12px 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
}

.vm-password-gate--overlay button[type="submit"]:hover {
    background: transparent;
    color: #81d8d0;
}

.vm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vm-hero-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

/* Villa single hero: avoid shrink-wrapped h1 wrapping too early */
.vm-single:not(.vm-single--estate) .vm-hero-content {
    width: 85%;
    max-width: 85%;
    box-sizing: border-box;
}

.vm-single:not(.vm-single--estate) .vm-hero-content h1 {
    width: 100%;
    margin: 0;
}

.vm-single:not(.vm-single--estate) .vm-password-gate--overlay {
    width: 85%;
    max-width: 85%;
}

.vm-single:not(.vm-single--estate) .vm-password-gate--overlay h1 {
    width: 100%;
}

.vm-location {
    font-size: 20px;
    margin: 0 0 6px;
}

.vm-location--estate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.vm-location-kicker {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.88;
}

.vm-location-value {
    display: block;
    line-height: 1.25;
}

.vm-stats-location-kicker {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6a6a6a;
    margin: 0 0 4px;
}

.vm-hero-reserve {
    position: absolute;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    font-family: inherit;
}

.vm-hero-reserve:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.vm-hero-reserve .vm-line {
    display: block;
    width: 1px;
    height: 30px;
    background: #fff;
    margin: 0 auto 8px;
}

.vm-bounce {
    display: inline-block;
    animation: vmBounce 1.8s infinite ease-in-out;
    letter-spacing: 1px;
}

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

.vm-max-1200 {
    max-width: 75vw;
    margin: 0 auto;
    padding:10px 0 50px 0px;
}

.vm-max-900 {
    max-width: 900px;
    margin: 0;
    padding: 16px;
    text-align: left;
}

.vm-stats-section {
    padding-top: 40px;
    padding-bottom: 0px;
}

.vm-section-heading {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(26px, 2.4vw, 54px);
    font-weight: 400;
    line-height: 1.05;
    color: #111;
    letter-spacing: 0;
    margin: 0 0 1rem;
    width: fit-content;
    max-width: 100%;
    position: relative;
    padding-bottom: 10px;
}

.vm-section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 7%;
    height: 1px;
    background: linear-gradient(90deg, rgba(129, 216, 208, 0.75) 0%, rgba(129, 216, 208, 0.08) 100%);
}

.vm-stats-heading {
    margin: 0;

        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        position: relative;
    
}

.vm-stats-heading .vm-stats-badge {
    position: absolute;
    top: var(--vm-gap-top, -45px);
    right: 0;
    z-index: -1;
    width: auto;
    height: var(--vm-gap);
    max-height: none;
    display: block;
}

@media (max-width: 480px) {
    .vm-stats-heading .vm-stats-badge .vm-stats-badge__bg,
    .villa-badge--landscape .vm-badge__bg {
        fill: #fff;
    }
}
.vm-stats-location {
    font-size: 15px;
    letter-spacing: 0.02em;
    color: #4a4a4a;
    margin: 0 0 6px;
}
.vm-stats-heading .vm-section-heading {
    color: #0f2432;
    margin-bottom: 0em;
}

.vm-amenities > .vm-section-heading,
.vm-gallery-section .vm-max-1200 > .vm-section-heading {
    margin-bottom: 1.25rem;
}

.vm-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    text-transform: none;
    font-weight: 600;
    gap: 0;
}

.vm-stat-item {
    display: inline-flex;
    align-items: center;
}

.vm-stat-item + .vm-stat-item::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    margin: 0 8px 0 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

@media (min-width: 901px) {
    /* zoom-in-down on stat highlights: mobile-only (see max-width block below) */
    .vm-stats .vm-stat-item.zoom-in-down,
    .vm-stats .vm-stat-item.zoom-in-down:hover {
        transition: none;
        transform: none;
    }
}

@media (max-width: 900px) {
    .vm-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
        align-items: start;
        justify-items: start;
    }

    .vm-stat-item + .vm-stat-item::before {
        display: none;
    }

    /* Touch: same lift as search cards where :hover is absent */
    .vm-stats .vm-stat-item.zoom-in-down:active {
        transform: translateY(-6px) scale(1.01);
    }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .vm-stats .vm-stat-item.zoom-in-down,
    .vm-stats .vm-stat-item.zoom-in-down:hover,
    .vm-stats .vm-stat-item.zoom-in-down:active {
        transition: none;
        transform: none;
    }
}

@keyframes vmStatItemIn {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    html.vm-js .vm-stats:not(.is-revealed) .vm-stat-item {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    html.vm-js .vm-stats.is-revealed .vm-stat-item {
        animation: vmStatItemIn 0.72s cubic-bezier(0.16, 1, 0.42, 1) forwards;
    }

    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(1) {
        animation-delay: 0.04s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(2) {
        animation-delay: 0.11s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(3) {
        animation-delay: 0.18s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(4) {
        animation-delay: 0.25s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(n + 5) {
        animation-delay: 0.32s;
    }
}

/* Shorter viewports: slightly longer stagger so the highlight motion reads on phones */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
    html.vm-js .vm-stats.is-revealed .vm-stat-item {
        animation-duration: 0.88s;
    }

    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(1) {
        animation-delay: 0.06s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(2) {
        animation-delay: 0.14s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(3) {
        animation-delay: 0.22s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(4) {
        animation-delay: 0.3s;
    }
    html.vm-js .vm-stats.is-revealed .vm-stat-item:nth-child(n + 5) {
        animation-delay: 0.38s;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.vm-js .vm-stats .vm-stat-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

.vm-description {
    margin-bottom: 40px;
}

.vm-description.vm-max-900 {
    max-width: 75vw;
    margin: 0 auto 10px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top:25px;
    padding-bottom:6px;
}

.vm-description.vm-max-900 > * {
    max-width: 1200px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.vm-cta-wrap {
    text-align: left;
    padding-top: 0;
    padding-bottom: 24px;
}

/* Landscape 42-years badge: hidden on desktop, stacked above CTA on narrower viewports */
.vm-cta-wrap__badge {
    display: none;
}

.vm-cta-wrap__badge .villa-badge--landscape {
    display: block;
    width: min(350px, 100%);
    max-width: 100%;
    height: auto;
}

@media (max-width: 1334px) {
    .vm-cta-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .vm-stats-heading svg ,.vm-cta.vm-cta-wrap__btn{
        display:none!important;
    }

    .vm-cta-wrap__badge {
        display: block;
        margin:auto;
    }

    .vm-cta-wrap__btn {
        margin: 0;
    }
}

.vm-cta {
    width: 140px;
    height: 40px;
    background: #0f2432;
    color: #fff;
    border: 0;
    padding: 0 14px;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
}

.vm-single .vm-cta-fixed {
    position: fixed;
    bottom: 25px;
    right: 40px;
    z-index: 9990;
    box-shadow: 0 10px 32px rgba(15, 36, 50, 0.38);
    text-transform: uppercase;
    font-weight: 600;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.vm-single .vm-cta-fixed.is-hidden-by-anchor {
    /* Hidden when another Reserve/Inquire CTA is in view or the fixed CTA would overlap the footer */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
}

/* Protected listing: Request access / Request a quote — ghost buttons, fixed bottom center */
.vm-single--locked .vm-request-access-cta {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: max(25px, env(safe-area-inset-bottom, 0));
    z-index: 9990;
    box-sizing: border-box;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    line-height: 1.2;
    cursor: pointer;
    transform: translateX(-50%);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vm-single--locked .vm-request-access-cta:hover,.vm-password-gate button:hover {
    background: transparent;
    color: #fff!important;
}


@media (max-width: 900px) {
    .vm-single .vm-cta-fixed:not(.is-unlocked) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(16px);
    }

    .vm-single .vm-cta-fixed.is-unlocked {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

html.glightbox-open .vm-request-access-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.vm-amenities.vm-max-1200 {
    margin-top: 20px;
  }

html.glightbox-open .vm-cta-fixed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* GLightbox: villa name + location — bottom-left overlay on slides */
.glightbox-container .ginner-container.desc-bottom {
    position: relative;
}

.glightbox-clean .gslide-description.description-bottom {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    top: auto;
    width: auto;
    max-width: min(480px, 90vw);
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: left;
}

.glightbox-clean .gslide-description.description-bottom .gdesc-inner {
    padding: 28px 32px 32px;
    margin: 0;

}

.glightbox-clean .gslide-description.description-bottom .vm-glightbox-location {
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 248, 240, 0.88);
    margin: 0 0 6px;
    line-height: 1.35;
}

.glightbox-clean .gslide-description.description-bottom .vm-glightbox-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.glightbox-clean .gslide-description.description-bottom .gslide-title:empty {
    display: none;
}

.glightbox-mobile .glightbox-container .gslide-description.description-bottom {
    text-align: left;
}

.glightbox-mobile .glightbox-container .gslide-description.description-bottom .gdesc-inner {
    text-align: left;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0));
}

.glightbox-mobile .gslide-desc .desc-more {
    display: none !important;
}

@media (max-width: 640px) {
    .vm-single .vm-cta-fixed {
        right: 20px;
    }
}

.vm-tab-headings {
    display: flex;
    gap: 44px;
    align-items: flex-end;
    border-bottom: 2px solid #d7d7d7;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.vm-tab-btn {
    background: transparent;
    border: 0;
    border-bottom: 4px solid transparent;
    padding: 10px 18px 14px;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: clamp(26px, 2.4vw, 54px);
    font-weight: 400;
    line-height: 1.05;
    color: #111;
    white-space: nowrap;
    font-family: "Montserrat", sans-serif;
    border-radius: 15px 15px 0 0;
    transition:
        color 0.28s ease,
        background-color 0.28s ease,
        border-color 0.28s ease,
        transform 0.28s ease;
}

@media (hover: hover) {
    .vm-tab-btn:not(.is-active):hover {
        color: #4c4c4c;
        transform: translateY(-1px);
    }
}

.vm-tab-btn:focus-visible {
    outline: 2px solid #81d8d0;
    outline-offset: 3px;
}

.vm-tab-btn.is-active {
    color: #fff;
    background: #81d8d0;
    border-bottom-color: #81d8d0;
    font-weight: 500;
    transform: none;
}



.vm-tab-panel {
    display: none;
    opacity: 0;
}

.vm-tab-panel.is-active {
    display: block;
    animation: vmTabPanelReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes vmTabPanelReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vm-toggle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* Estate stats highlights: six per row; reveal animation when .vm-estate-highlights--animate is added */
.vm-estate-highlights {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 14px;
}

@media (max-width: 1200px) {
    .vm-estate-highlights {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .vm-estate-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .vm-estate-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item {
    animation: vmToggleItemLux 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(1) { animation-delay: 0.04s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(2) { animation-delay: 0.09s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(3) { animation-delay: 0.14s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(4) { animation-delay: 0.19s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(5) { animation-delay: 0.24s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(6) { animation-delay: 0.29s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(7) { animation-delay: 0.34s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(8) { animation-delay: 0.39s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(9) { animation-delay: 0.44s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(10) { animation-delay: 0.49s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(11) { animation-delay: 0.54s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(12) { animation-delay: 0.59s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(n+13) { animation-delay: 0.64s; }

.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-icon {
    animation: vmToggleIconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(1) .vm-toggle-icon { animation-delay: 0.08s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(2) .vm-toggle-icon { animation-delay: 0.13s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(3) .vm-toggle-icon { animation-delay: 0.18s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(4) .vm-toggle-icon { animation-delay: 0.23s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(5) .vm-toggle-icon { animation-delay: 0.28s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(6) .vm-toggle-icon { animation-delay: 0.33s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(7) .vm-toggle-icon { animation-delay: 0.38s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(8) .vm-toggle-icon { animation-delay: 0.43s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(9) .vm-toggle-icon { animation-delay: 0.48s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(10) .vm-toggle-icon { animation-delay: 0.53s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(11) .vm-toggle-icon { animation-delay: 0.58s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(12) .vm-toggle-icon { animation-delay: 0.63s; }
.vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item:nth-child(n+13) .vm-toggle-icon { animation-delay: 0.68s; }

/* Wrapper e.g. #estateplots: ensure grid uses six columns when only .vm-toggle-grid is on the element */
#estateplots.vm-toggle-grid,
#estateplots .vm-toggle-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 14px;
}

@media (max-width: 1200px) {
    #estateplots.vm-toggle-grid,
    #estateplots .vm-toggle-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    #estateplots.vm-toggle-grid,
    #estateplots .vm-toggle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #estateplots.vm-toggle-grid,
    #estateplots .vm-toggle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Details tab: Layout (2) + Highlights (2) + Services (1) when all present */
.vm-details-grid {
    --vm-details-gap: 22px;
    display: grid;
    gap: var(--vm-details-gap);
    position: relative;
}

.vm-details-grid--cols-3 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
}

.vm-details-grid--cols-2.vm-details-grid--pair-lh {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vm-details-grid--cols-2.vm-details-grid--pair-ls,
.vm-details-grid--cols-2.vm-details-grid--pair-hs {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.vm-details-grid--cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.vm-details-grid::before,
.vm-details-grid::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(
        180deg,
        rgba(186, 155, 92, 0) 0%,
        rgba(186, 155, 92, 0.55) 50%,
        rgba(186, 155, 92, 0) 100%
    );
    transform: translateX(-50%);
    pointer-events: none;
}

.vm-details-grid::after {
    display: none;
}

.vm-details-grid--cols-3::before {
    /* 2fr | gap | 2fr | gap | 1fr — center of first gap */
    left: calc((100% - 2 * var(--vm-details-gap)) * 2 / 5 + var(--vm-details-gap) / 2);
}

.vm-details-grid--cols-3::after {
    display: block;
    /* center of second gap */
    left: calc((100% - 2 * var(--vm-details-gap)) * 4 / 5 + 1.5 * var(--vm-details-gap));
}

.vm-details-grid--cols-2.vm-details-grid--pair-lh::before {
    left: 50%;
}

.vm-details-grid--cols-2.vm-details-grid--pair-ls::before,
.vm-details-grid--cols-2.vm-details-grid--pair-hs::before {
    /* 2fr | gap | 1fr — center of gap */
    left: calc((100% - var(--vm-details-gap)) * 2 / 3 + var(--vm-details-gap) / 2);
}

.vm-details-grid--cols-2.vm-details-grid--pair-lh::after,
.vm-details-grid--cols-2.vm-details-grid--pair-ls::after,
.vm-details-grid--cols-2.vm-details-grid--pair-hs::after {
    display: none;
}

.vm-details-grid--cols-1::before,
.vm-details-grid--cols-1::after {
    display: none;
}

.vm-details-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-content: start;
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid rgba(196, 170, 111, 0.28);
    background:
        radial-gradient(130% 85% at 10% -10%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(165deg, rgba(245, 246, 248, 0.92) 0%, rgba(233, 236, 240, 0.8) 100%);
    box-shadow:
        0 16px 38px rgba(17, 24, 39, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(186, 155, 92, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.vm-details-col::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 45%);
}

.vm-details-title {
    grid-column: 1 / -1;
    margin: -2px 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 1.9vw, 38px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0;
    color: #111;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.vm-details-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 1px;
    background: linear-gradient(90deg, rgba(186, 155, 92, 0.75) 0%, rgba(186, 155, 92, 0.08) 100%);
}

.vm-details-col--layout {
    border-color: rgba(174, 146, 92, 0.34);
    grid-template-columns: 1fr;
}

.vm-details-layout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 22px;
    grid-column: 1 / -1;
}

.vm-details-slot--guests {
    grid-column: 1;
    grid-row: 1;
}

.vm-details-slot--villa-sqm {
    grid-column: 2;
    grid-row: 1;
}

.vm-details-slot--bedrooms {
    grid-column: 1;
    grid-row: 2;
}

.vm-details-slot--plot-sqm {
    grid-column: 2;
    grid-row: 2;
}

.vm-details-slot--bathrooms {
    grid-column: 1 / -1;
    grid-row: 3;
}

.vm-details-col--highlights {
    border-color: rgba(153, 130, 84, 0.34);
}

.vm-details-col--services {
    grid-template-columns: 1fr;
    border-color: rgba(129, 158, 140, 0.36);
}

/* Amenities tab: same panel skin as .vm-details-col, no inner section title */
.vm-amenities-tab-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid rgba(196, 170, 111, 0.28);
    background:
        radial-gradient(130% 85% at 10% -10%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(165deg, rgba(245, 246, 248, 0.92) 0%, rgba(233, 236, 240, 0.8) 100%);
    box-shadow:
        0 16px 38px rgba(17, 24, 39, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(186, 155, 92, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.vm-amenities-tab-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 45%);
}

.vm-toggle-grid--amenities-tab {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 18px;
}

@media (max-width: 1200px) {
    .vm-toggle-grid--amenities-tab {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .vm-toggle-grid--amenities-tab {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .vm-toggle-grid--amenities-tab {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Legacy: services block was under Amenities tab (now in Details) */
.vm-services-below {
    margin-top: 2.5rem;
}

.vm-services-below__title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #111;
    margin: 0 0 10px;
}

.vm-services-below__rule {
    width: 3rem;
    height: 2px;
    border-radius: 2px;
    background: #84dbd0;
    margin: 0 0 1.35rem;
}

.vm-toggle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    filter: blur(6px);
    will-change: transform, opacity, filter;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.vm-tab-panel.vm-tab-animate .vm-toggle-item {
    animation: vmToggleItemLux 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(1) { animation-delay: 0.04s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(2) { animation-delay: 0.09s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(3) { animation-delay: 0.14s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(4) { animation-delay: 0.19s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(5) { animation-delay: 0.24s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(6) { animation-delay: 0.29s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(7) { animation-delay: 0.34s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(8) { animation-delay: 0.39s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(9) { animation-delay: 0.44s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(10) { animation-delay: 0.49s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(11) { animation-delay: 0.54s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(12) { animation-delay: 0.59s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(n+13) { animation-delay: 0.64s; }

@keyframes vmToggleItemLux {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.92);
        filter: blur(8px);
    }
    55% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.vm-tab-panel.vm-tab-animate .vm-toggle-icon {
    animation: vmToggleIconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(1) .vm-toggle-icon { animation-delay: 0.08s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(2) .vm-toggle-icon { animation-delay: 0.13s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(3) .vm-toggle-icon { animation-delay: 0.18s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(4) .vm-toggle-icon { animation-delay: 0.23s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(5) .vm-toggle-icon { animation-delay: 0.28s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(6) .vm-toggle-icon { animation-delay: 0.33s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(7) .vm-toggle-icon { animation-delay: 0.38s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(8) .vm-toggle-icon { animation-delay: 0.43s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(9) .vm-toggle-icon { animation-delay: 0.48s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(10) .vm-toggle-icon { animation-delay: 0.53s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(11) .vm-toggle-icon { animation-delay: 0.58s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(12) .vm-toggle-icon { animation-delay: 0.63s; }
.vm-tab-panel.vm-tab-animate .vm-toggle-item:nth-child(n+13) .vm-toggle-icon { animation-delay: 0.68s; }

@keyframes vmToggleIconPop {
    0% {
        transform: scale(0.3) rotate(-8deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.08) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.vm-toggle-item:hover {
    transform: translateY(-2px);
}

.vm-tab-panel.vm-tab-animate .vm-toggle-item:hover {
    transform: translateY(-2px);
}

.vm-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: #81d8d0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.9) 50%, rgba(238, 238, 238, 0.85) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 4px 14px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(129, 216, 208, 0.35);
    font-size: 1.05rem;
    transition: box-shadow 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.vm-toggle-icon--png,
.vm-toggle-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}

.vm-toggle-item:hover .vm-toggle-icon {
    color: #81d8d0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(129, 216, 208, 0.55);
}

.vm-toggle-icon,
.vm-area-icon {
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    min-width: 36px;
}

.vm-area-icon {
    display: inline-block;
    color: #81d8d0;
    font-size: 40px;
}

.vm-area-icon--svg,
img.vm-area-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    display: block;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}

.vm-area-icon.kal-nafplio-icon,
.vm-area-icon.kal-hydra-icon,
.vm-area-icon.kal-spetsets-icon,
.vm-area-icon.kal-porto-heli-icon {
    object-fit: contain;
    object-position: center;
    padding: 0;
    margin: 0;
    background: transparent;
}

.vm-area-icon.kal-nafplio,
.vm-toggle-icon.kal-nafplio {
    font-size: 34px;
    line-height: 1;
}

.vm-area-icon.kal-nafplio::before,
.vm-toggle-icon.kal-nafplio::before {
    display: block;
    line-height: 1;
    transform: scale(2.5) !important;
    transform-origin: center center;
}

.vm-area-icon.kal-beachfront::before,
.vm-toggle-icon.kal-beachfront::before {
    display: block;
    line-height: 1;
    transform: scale(1.1);
    transform-origin: center center;
}

/* Remix Icon line variants (ri-*-line) — thin strokes; keep icon font separate from Montserrat. */
.vm-toggle-icon[class*='ri-'],
.vm-area-icon[class*='ri-'] {
    font-family: remixicon, sans-serif !important;
    font-style: normal;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* StayIcons Thin (icon-* classes) on toggles and area items */
.vm-toggle-icon[class^='icon-'],
.vm-toggle-icon[class*=' icon-'],
.vm-area-icon[class^='icon-'],
.vm-area-icon[class*=' icon-'] {
    font-family: 'StayIcons Thin', sans-serif !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* Kallianou custom icons (kal-* classes) */
.vm-toggle-icon[class^='kal-'],
.vm-toggle-icon[class*=' kal-'],
.vm-area-icon[class^='kal-'],
.vm-area-icon[class*=' kal-'] {
    font-family: 'Kal Icons', sans-serif !important;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    font-size: 28px;
}

.vm-area-icon[class^='kal-'],
.vm-area-icon[class*=' kal-'] {
    font-size: 40px;
    line-height: 1;
}

.vm-toggle-icon[class^='kal-']::before,
.vm-toggle-icon[class*=' kal-']::before,
.vm-area-icon[class^='kal-']::before,
.vm-area-icon[class*=' kal-']::before {
    font-family: 'Kal Icons', sans-serif !important;
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    color: inherit;
}

/* Font Awesome 6 on toggles and area rows */
.vm-toggle-icon[class*='fa-'],
.vm-area-icon[class*='fa-'] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", var(--fa-style-family, "Font Awesome 6 Free") !important;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.vm-toggle-icon.fa-solid,
.vm-area-icon.fa-solid,
.vm-toggle-icon.fas,
.vm-area-icon.fas {
    font-weight: 900 !important;
}

.vm-toggle-icon.fa-regular,
.vm-area-icon.fa-regular,
.vm-toggle-icon.far,
.vm-area-icon.far {
    font-weight: 400 !important;
}

.vm-toggle-icon.fa-solid::before,
.vm-area-icon.fa-solid::before,
.vm-toggle-icon.fa-regular::before,
.vm-area-icon.fa-regular::before,
.vm-toggle-icon.fas::before,
.vm-area-icon.fas::before,
.vm-toggle-icon.far::before,
.vm-area-icon.far::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", var(--fa-style-family, "Font Awesome 6 Free") !important;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    .vm-tab-btn {
        transition: none;
    }

    .vm-tab-panel.is-active {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .vm-tab-panel.vm-tab-animate .vm-toggle-item,
    .vm-tab-panel.vm-tab-animate .vm-toggle-icon {
        animation: none !important;
        animation-delay: 0s !important;
    }

    .vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-item,
    .vm-estate-highlights.vm-estate-highlights--animate .vm-toggle-icon {
        animation: none !important;
        animation-delay: 0s !important;
    }

    .vm-toggle-item {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .vm-tab-panel.vm-tab-animate .vm-toggle-icon {
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .vm-details-grid--cols-3,
    .vm-details-grid--cols-2,
    .vm-details-grid--cols-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .vm-details-grid--cols-3::before,
    .vm-details-grid--cols-3::after,
    .vm-details-grid--cols-2.vm-details-grid--pair-lh::before,
    .vm-details-grid--cols-2.vm-details-grid--pair-ls::before,
    .vm-details-grid--cols-2.vm-details-grid--pair-hs::before {
        display: none;
    }

    .vm-details-col--layout,
    .vm-details-col--highlights,
    .vm-details-col--services {
        grid-column: auto;
    }

    .vm-details-layout-grid .vm-toggle-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

.vm-plot-fullbleed {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #0a0c0e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vm-plot-fullbleed__img {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 900px) {
    .vm-plot-fullbleed {
        min-height: 0;
    }

    .vm-plot-fullbleed__img {
        min-height: 0;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

/* Single estate: hide theme / footer scroll-to-top */
body.single-estate .return-top-btn.show-top-btn,
body.single-estate .return-top-btn,
body.single-estate .hfe-scroll-to-top-wrap {
    display: none !important;
}

/* Burger menu: no hover/focus background (pairs with masthead scroll styles) */
.burger-btn:hover,
.burger-btn:focus,
.burger-btn:focus-visible,
.burger-button:hover,
.burger-button:focus,
.burger-button:focus-visible {
    background: none;
    background-color: transparent;
    outline: none;
    box-shadow: none;
}

.vm-video--fullbleed {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background: #0a0c0e;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.vm-video--fullbleed iframe,
.vm-video--fullbleed video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    border: 0;
    display: block;
    object-fit: cover;
}

/* Gallery: explicit row wrappers (see single-villa.php) — reliable gaps & 3-6-3 in Chrome + Firefox */
.vm-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

/* Viewport scroll reveal (html.vm-js from plugin head script; prefers-reduced-motion skips) */
@media (prefers-reduced-motion: no-preference) {
    html.vm-js #vm-gallery .vm-gallery-item {
        opacity: 0;
        transform: translate3d(0, 1.35rem, 0) scale(0.987);
        transition:
            opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.88s cubic-bezier(0.16, 1, 0.3, 1);
    }

    html.vm-js #vm-gallery .vm-gallery-item.vm-img-revealed {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    /*
     * Shortcode result cards: do not use scroll-reveal opacity. IntersectionObserver often
     * never fires on mobile (nested scroll, Elementor sections, rootMargin), leaving cards
     * at opacity:0 while still clickable. Gallery items keep the reveal.
     */
    html.vm-js #vm-search-results .vm-villa-card,
    html.vm-js #vm-protected-search-results .vm-villa-card,
    html.vm-js #vm-estate-search-results .vm-villa-card {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

/* Flex column children default min-width:auto — can overflow grid & push the 3rd column in Chrome */
.vm-gallery-row--hero,
.vm-gallery-row--triple,
.vm-gallery-row--half {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* First 6 photos = three layout rows; further cycles sit behind “View all” */
.vm-gallery-chunk--lead {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.vm-gallery-more {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transition: grid-template-rows 0.92s cubic-bezier(0.16, 1, 0.3, 1);
}

.vm-gallery-more.is-expanded {
    grid-template-rows: 1fr;
}

.vm-gallery-more-inner {
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
        transform 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.vm-gallery-more.is-expanded .vm-gallery-more-inner {
    opacity: 1;
    transform: translateY(0);
}

@keyframes vmGalleryRowLuxIn {
    from {
        opacity: 0;
        transform: translateY(1.25rem) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row {
    animation: vmGalleryRowLuxIn 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(1) { animation-delay: 0.06s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(2) { animation-delay: 0.12s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(3) { animation-delay: 0.18s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(4) { animation-delay: 0.24s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(5) { animation-delay: 0.3s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(6) { animation-delay: 0.36s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(7) { animation-delay: 0.42s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(8) { animation-delay: 0.48s; }
.vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row:nth-child(n+9) { animation-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
    .vm-gallery-more {
        transition: none;
    }

    .vm-gallery-more-inner {
        transition: none;
        transform: none;
    }

    .vm-gallery-more:not(.is-expanded) .vm-gallery-more-inner {
        opacity: 0;
    }

    .vm-gallery-more.is-expanded .vm-gallery-more-inner {
        opacity: 1;
    }

    .vm-gallery-more.is-expanded .vm-gallery-more-inner > .vm-gallery-row {
        animation: none;
    }
}

.vm-gallery-row--hero .vm-gallery-item {
    display: block;
    width: 100%;
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 21 / 9;
    min-height: clamp(160px, 28vw, 420px);
}

.vm-gallery-row--hero .vm-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 3fr · 6fr · 3fr — one grid row, equal 12px gutters */
.vm-gallery-row--triple {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
    gap: 12px;
    align-items: stretch;
}

.vm-gallery-row--triple.vm-gallery-row--cols-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.vm-gallery-row--triple.vm-gallery-row--cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.vm-gallery-row--triple .vm-gallery-item {
    display: block;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    position: relative;
    height: 100%;
}

.vm-gallery-row--triple .vm-gallery-item--side {
    aspect-ratio: 3 / 4;
}

.vm-gallery-row--triple .vm-gallery-item--center {
    min-height: clamp(160px, 22vw, 320px);
}

.vm-gallery-row--triple .vm-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    display: block;
    object-fit: cover;
}

.vm-gallery-row--triple.vm-gallery-row--cols-2 .vm-gallery-item,
.vm-gallery-row--triple.vm-gallery-row--cols-1 .vm-gallery-item {
    position: relative;
    min-height: clamp(200px, 28vw, 340px);
}

.vm-gallery-row--triple.vm-gallery-row--cols-2 .vm-gallery-item img,
.vm-gallery-row--triple.vm-gallery-row--cols-1 .vm-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-gallery-row--half {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.vm-gallery-row--half .vm-gallery-item {
    display: block;
    overflow: hidden;
    min-width: 0;
    min-height: clamp(200px, 26vw, 360px);
    position: relative;
}

.vm-gallery-row--half .vm-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vm-view-all-wrap {
    text-align: center;
    padding-top: 10px;
}

.vm-view-all {
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Post-gallery reserve showcase (premium CTA) ───────────────────────── */
.vm-reserve-showcase {
    --vm-rs-bg: #0a1018;
    --vm-rs-ink: #fff;
    --vm-rs-muted:#fff;
    --vm-rs-gold: #fff;
    --vm-rs-gold-soft:#fff;
    position: relative;
    margin-top: 0;
    padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(4rem, 11vw, 8rem);
    color: var(--vm-rs-ink);
    overflow: hidden;
    background: var(--vm-rs-bg);
}

.vm-reserve-showcase__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.vm-reserve-showcase__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: rgba(0, 0, 0, 0.62);
}

.vm-reserve-showcase__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(198, 166, 103, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 85% 75%, rgba(80, 120, 140, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(15, 36, 50, 0.9) 0%, transparent 45%),
        linear-gradient(165deg, #0a1018 0%, #0f1a24 42%, #070c12 100%);
    pointer-events: none;
    z-index: 2;
}

.vm-reserve-showcase--photo .vm-reserve-showcase__mesh {
    background:
        radial-gradient(ellipse 85% 55% at 15% 25%, rgba(198, 166, 103, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 90% 70%, rgba(70, 110, 130, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

.vm-reserve-showcase__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.vm-reserve-showcase__shape {
    position: absolute;
    border: 1px solid var(--vm-rs-gold-soft);
    opacity: 0;
    transform: rotate(-8deg);
}

.vm-reserve-showcase__shape--1,
.vm-reserve-showcase__shape--2 {
    opacity: 0;
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__shape--1,
.vm-reserve-showcase.is-revealed .vm-reserve-showcase__shape--2 {
    animation: vmRsShapeIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.vm-reserve-showcase__shape--1 {
    width: min(42vw, 380px);
    height: min(42vw, 380px);
    top: 8%;
    right: -6%;
    border-radius: 47% 53% 42% 58% / 58% 42% 58% 42%;
    animation-delay: 0.15s;
}

.vm-reserve-showcase__shape--2 {
    width: 120px;
    height: 120px;
    bottom: 18%;
    left: 6%;
    border-radius: 50%;
    animation-delay: 0.35s;
}

.vm-reserve-showcase__shape--3 {
    width: min(220px, 45vw);
    height: 3px;
    top: 42%;
    left: -2%;
    border: none;
    background: linear-gradient(90deg, transparent, var(--vm-rs-gold-soft), transparent);
    border-radius: 2px;
    transform: rotate(12deg);
    opacity: 0;
    transition: opacity 1.1s ease 0.45s;
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__shape--3 {
    opacity: 1;
}

@media (max-width: 900px) {
    .vm-reserve-showcase__shape--1,
    .vm-reserve-showcase__shape--2 {
        display: none !important;
        visibility: hidden;
        animation: none !important;
        opacity: 0 !important;
    }
}

@keyframes vmRsShapeIn {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(0.92);
    }
    to {
        opacity: 1;
        transform: rotate(-8deg) scale(1);
    }
}

.vm-reserve-showcase__inner {
    position: relative;
    z-index: 3;
    padding-left: 16px;
    padding-right: 16px;
}

.vm-reserve-showcase__frame {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem);
}

.vm-reserve-showcase__rule {
    position: absolute;
    width: 72px;
    height: 72px;
    border-color: var(--vm-rs-gold);
    border-style: solid;
    opacity: 0;
    pointer-events: none;
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__rule {
    animation: vmRsRuleIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.vm-reserve-showcase__rule--tl {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
}

.vm-reserve-showcase__rule--br {
    bottom: 0;
    right: 0;
    border-width: 0 1px 1px 0;
    animation-delay: 0.35s;
}

@keyframes vmRsRuleIn {
    from {
        opacity: 0;
        width: 0;
        height: 0;
    }
    to {
        opacity: 0.55;
        width: 72px;
        height: 72px;
    }
}

.vm-reserve-showcase__eyebrow {
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--vm-rs-gold);
    margin: 0 0 1.25rem;
    opacity: 0;
    transform: translateY(12px);
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__eyebrow {
    animation: vmRsFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.vm-reserve-showcase__display {
    margin: 0 0 1.5rem;
    line-height: 0.9;
    font-weight: 400;
}

.vm-reserve-showcase__line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.vm-reserve-showcase__line--massive {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(3.75rem, 15vw, 8.75rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #fff 0%, #e8dfd0 45%, var(--vm-rs-gold) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

.vm-reserve-showcase__line--accent {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(0.95rem, 2.8vw, 1.35rem);
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.52em;
    text-transform: uppercase;
    color: var(--vm-rs-muted);
    margin-top: 0.85rem;
    padding-left: 0.12em;
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__line--massive {
    animation: vmRsFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__line--accent {
    animation: vmRsFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

@keyframes vmRsFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vm-reserve-showcase__lead {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(0.95rem, 2.1vw, 1.125rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--vm-rs-muted);
    max-width: 36rem;
    margin: 0 0 2.25rem;
    opacity: 0;
    transform: translateY(20px);
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__lead {
    animation: vmRsFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.vm-reserve-showcase__cta-cluster {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateY(16px);
}

.vm-reserve-showcase.is-revealed .vm-reserve-showcase__cta-cluster {
    animation: vmRsFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.vm-reserve-showcase__cta {
    position: relative;
    width: auto;
    min-width: min(100%, 220px);
    height: auto;
    min-height: 45px;
    padding: 0 2.25rem;
    background: transparent;
    color: var(--vm-rs-ink);
    border: 1px solid var(--vm-rs-gold);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 18px 40px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease;
}

.vm-reserve-showcase__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(198, 166, 103, 0.18) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.vm-reserve-showcase__cta:hover,
.vm-reserve-showcase__cta:focus-visible {
    color: var(--vm-rs-bg);
    background: var(--vm-rs-gold);
    border-color: var(--vm-rs-gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(198, 166, 103, 0.25);
    outline: none;
}

.vm-reserve-showcase__cta:hover::before,
.vm-reserve-showcase__cta:focus-visible::before {
    opacity: 1;
}

.vm-reserve-showcase__cta-label {
    position: relative;
    z-index: 1;
}

.vm-reserve-showcase__cta-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--vm-rs-gold);
    transform: translateX(-50%);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.9;
    display: none;
}

.vm-reserve-showcase__loc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vm-rs-muted);
    margin: 0;
    padding-left: 0.25rem;
    border-left: 2px solid var(--vm-rs-gold-soft);
    padding-left: 14px;
}

.vm-reserve-showcase__loc-kicker {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--vm-rs-muted);
    opacity: 0.95;
}

.vm-reserve-showcase__loc-text {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .vm-reserve-showcase .vm-reserve-showcase__shape--1,
    .vm-reserve-showcase .vm-reserve-showcase__shape--2 {
        animation: none !important;
        opacity: 0.85 !important;
        transform: rotate(-8deg) scale(1) !important;
    }

    .vm-reserve-showcase .vm-reserve-showcase__shape--3 {
        opacity: 0.9 !important;
        transition: none !important;
    }

    .vm-reserve-showcase .vm-reserve-showcase__rule,
    .vm-reserve-showcase .vm-reserve-showcase__eyebrow,
    .vm-reserve-showcase .vm-reserve-showcase__line,
    .vm-reserve-showcase .vm-reserve-showcase__lead,
    .vm-reserve-showcase .vm-reserve-showcase__cta-cluster {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .vm-reserve-showcase__cta {
        transition: none;
    }

    .vm-reserve-showcase__cta:hover,
    .vm-reserve-showcase__cta:focus-visible {
        transform: none;
    }
}
.vm-area.vm-max-1200 {
    padding: 0;
  }
/* Full-bleed abstract coastline — grey lines on white (no gold / map chrome) */
.vm-area-section {
    --vm-area-ink: #1a1f26;
    --vm-area-muted: rgba(26, 31, 38, 0.66);
    --vm-area-accent: #2e333c;
    --vm-area-bg-url: url("/wp-content/uploads/2026/03/Screenshot-from-2026-03-24-20-45-18-scaled.png");
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 0;
    color: var(--vm-area-ink);
}

.vm-area-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.58) 0%,
            rgba(252, 252, 253, 0.42) 45%,
            rgba(250, 251, 252, 0.52) 100%
        ),
        var(--vm-area-bg-url) center / cover no-repeat;
    pointer-events: none;
}

.vm-area-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.35) 100%);
    pointer-events: none;
}

.vm-area-section .vm-area {
    position: relative;
    z-index: 1;
}

.vm-area-section .vm-section-heading {
    margin: 0 0 1.75rem;
    letter-spacing: 0.02em;
    color: var(--vm-area-ink);
}

.vm-area-section .vm-area-item__title {
    display: block;
    color: var(--vm-area-ink);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.vm-area-section .vm-area-item__subtitle {
    display: block;
    color: var(--vm-area-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.vm-area-section .vm-area-icon {
    flex-shrink: 0;
    color: var(--vm-area-accent);
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1;
    filter: none;
    opacity: 0.9;
}

.vm-area-section .vm-area-icon--svg,
.vm-area-section img.vm-area-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0;
}

.vm-area-section .vm-area-icon[class*='ri-'] {
    font-family: remixicon, sans-serif !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* Full row is 4 columns; items live in the center 2 columns only */
.vm-area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.vm-area-grid__inner {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    min-width: 0;
}

.vm-area-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.vm-area-item > div > span {
    display: block;
}

.vm-map iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
}

.vm-password-gate:not(.vm-password-gate--overlay) {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
}

.vm-cf7-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px 16px;
    background: rgba(10, 16, 24, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s step-end;
}

.vm-cf7-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s step-start;
}

.vm-cf7-content {
    --vm-modal-accent: #81d8d0;
    --vm-modal-ink: #0f2432;
    position: relative;
    width: min(720px, 94vw);
    max-height: 88vh;
    overflow: auto;
    padding: 2.75rem 2.5rem 2.35rem;
    background:
        linear-gradient(168deg, #fcfbfa 0%, #f4f1eb 48%, #efe9df 100%);
    color: var(--vm-modal-ink);
    border-radius: 3px;
    box-shadow:
        0 32px 90px rgba(8, 18, 28, 0.42),
        0 0 0 1px rgba(255, 252, 248, 0.85) inset,
        0 0 0 1px rgba(129, 216, 208, 0.28),
        0 1px 0 rgba(129, 216, 208, 0.4);
    opacity: 0;
    transform: scale(0.93) translateY(32px);
    filter: blur(8px);
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease-out;
}

.vm-cf7-modal.is-open .vm-cf7-content {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

.vm-cf7-content::before {
    content: "";
    position: absolute;
    left: 2.5rem;
    right: 2.5rem;
    top: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--vm-modal-accent) 15%,
        var(--vm-modal-accent) 85%,
        transparent
    );
    opacity: 0.9;
    pointer-events: none;
}

.vm-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 36, 50, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    color: var(--vm-modal-ink);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vm-modal-close:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(129, 216, 208, 0.55);
    transform: rotate(90deg);
}

.vm-cf7-modal .wpcf7-form > p {
    opacity: 0;
    transform: translateY(18px);
    will-change: opacity, transform;
}

.vm-cf7-modal.is-open .wpcf7-form > p.vm-field-shown {
    animation: vmCf7FieldIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--vm-field-delay, 0s);
}

@keyframes vmCf7FieldIn {
    0% {
        opacity: 0;
        transform: translateY(22px);
        filter: blur(6px);
    }
    55% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.vm-cf7-modal .wpcf7 label {
    display: block;
    margin-bottom: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(15, 36, 50, 0.68);
}

.vm-cf7-modal .wpcf7 label.vm-cf7-label-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* CF7 wraps inputs inside labels — hide label text only, not the control */
.vm-cf7-modal .wpcf7 label.vm-cf7-label--placeholder-only {
    display: block;
    margin-bottom: 0;
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    text-transform: none;
    color: transparent;
}

.vm-cf7-modal .wpcf7 label.vm-cf7-label--placeholder-only .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: normal;
}

.vm-cf7-modal .wpcf7-form > p {
    margin-bottom: 1.15rem;
}

.vm-cf7-modal .wpcf7 input[type="text"],
.vm-cf7-modal .wpcf7 input[type="email"],
.vm-cf7-modal .wpcf7 input[type="tel"],
.vm-cf7-modal .wpcf7 input[type="url"],
.vm-cf7-modal .wpcf7 input[type="number"],
.vm-cf7-modal .wpcf7 input[type="date"],
.vm-cf7-modal .wpcf7 textarea,
.vm-cf7-modal .wpcf7 select {
    width: 100%;
    max-width: 100%;
    padding: 10px 0 9px;
    margin-top: 0;
    border: 0;
    border-bottom: 1px solid rgba(15, 36, 50, 0.38);
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--vm-modal-ink);
    box-shadow: none;
    transition:
        border-color 0.28s ease,
        background-color 0.28s ease;
}

.vm-cf7-modal .wpcf7 input::placeholder,
.vm-cf7-modal .wpcf7 textarea::placeholder {
    color: rgba(15, 36, 50, 0.58);
    opacity: 1;
}

.vm-cf7-modal .wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 12px;
}

.vm-cf7-modal .wpcf7 input:focus,
.vm-cf7-modal .wpcf7 textarea:focus,
.vm-cf7-modal .wpcf7 select:focus {
    outline: none;
    border-bottom-color: var(--vm-modal-accent);
    box-shadow: none;
    background: transparent;
}

.vm-cf7-modal .wpcf7 input[type="submit"],
.vm-cf7-modal .wpcf7 button[type="submit"] {
    margin-top: 0.5rem;
    padding: 14px 28px;
    min-height: 48px;
    border: 0;
    border-radius: 2px;
    background: #81d8d0;
    color: #0f2432;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(129, 216, 208, 0.35);
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        background 0.25s ease;
}

.vm-cf7-modal .wpcf7 input[type="submit"]:hover,
.vm-cf7-modal .wpcf7 button[type="submit"]:hover {
    transform: translateY(-2px);
    background: #6fcfc6;
    box-shadow: 0 18px 36px rgba(129, 216, 208, 0.45);
}

.vm-cf7-modal .vm-cf7-content > p:not(.vm-field-shown) {
    opacity: 0;
}

.vm-cf7-modal.is-open .vm-cf7-content > p.vm-field-shown {
    animation: vmCf7FieldIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--vm-field-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
    .vm-cf7-modal {
        transition: opacity 0.2s ease;
    }

    .vm-cf7-modal .vm-cf7-content {
        transition: opacity 0.2s ease;
        filter: none !important;
        transform: none !important;
    }

    .vm-cf7-modal.is-open .vm-cf7-content {
        transform: none;
    }

    .vm-cf7-modal .wpcf7-form > p.vm-field-shown,
    .vm-cf7-modal.is-open .vm-cf7-content > p.vm-field-shown {
        animation: none !important;
    }

    .vm-cf7-modal.is-open .wpcf7-form > p,
    .vm-cf7-modal.is-open .vm-cf7-content > p {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .vm-modal-close:hover {
        transform: none;
    }
}



@media (max-width: 900px) {
    #wpcf7-f1155-p1140-o1 {
        padding: 2rem 1.35rem 1.85rem;
    }

    #wpcf7-f1155-p1140-o1::before {
        left: 1.35rem;
        right: 1.35rem;
    }

    .e-n-accordion:has(#e-n-accordion-item-2530) {
        padding: 2rem 1.35rem 1.25rem;
    }

    .e-n-accordion:has(#e-n-accordion-item-2530)::before {
        left: 1.35rem;
        right: 1.35rem;
    }

    .vm-search-form {
        grid-template-columns: 1fr 1fr;
    }

    .vm-search-wrap--estate .vm-estate-search-form {
        margin-bottom: 24px;
    }

    .vm-results-row,
    .vm-results-right,
    .vm-area-grid {
        grid-template-columns: 1fr;
    }

    .vm-area-grid__inner {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .vm-amenities .vm-toggle-grid:not(.vm-toggle-grid--amenities-tab) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }

    .vm-amenities .vm-toggle-grid--amenities-tab {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }

    .vm-gallery-row--triple,
    .vm-gallery-row--half {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .vm-gallery-row--triple .vm-gallery-item--side {
        aspect-ratio: 4 / 3;
    }

    /* Protected / estate search: 2 columns on tablet */
    #vm-protected-search-results .vm-results-grid--layout,
    #vm-estate-search-results .vm-results-grid--layout {
        --vm-results-cols: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(120px, 28vw);
    }

    @supports (width: 1cqw) {
        #vm-protected-search-results .vm-results-grid--layout,
        #vm-estate-search-results .vm-results-grid--layout {
            grid-auto-rows: calc(
                (100cqw - (var(--vm-results-cols) - 1) * var(--vm-results-gap)) / var(--vm-results-cols)
            );
        }
    }

    #vm-protected-search-results .vm-results-grid--layout .vm-villa-card.vm-card-layout,
    #vm-estate-search-results .vm-results-grid--layout .vm-villa-card.vm-card-layout {
        grid-column: auto / span min(var(--vm-card-w, 1), 2);
        grid-row: auto / span var(--vm-card-h, 1);
    }

    /* Collection shortcodes: never inherit tablet 2-column mosaic */
    body .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection,
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection {
        --vm-results-cols: 1 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-rows: auto !important;
        width: 100% !important;
    }

    body .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout,
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .vm-villa-card.vm-card-large {
        min-height: 260px;
    }

    .vm-video--fullbleed {
        aspect-ratio: 16 / 9;
    }

    .vm-video--fullbleed iframe,
    .vm-video--fullbleed video {
        height: 100% !important;
    }
}

#vm-gallery {
    margin-top: -50px;
  }
  .vm-description.vm-max-900 {
    padding-left: 0px;
  }
  .vm-description.vm-max-900 svg:last-of-type {
    display: none!important;
  }
  @media all and (max-width:1334px){
    .vm-description.vm-max-900 svg:first-of-type {
        display: none;
      }
      .vm-description.vm-max-900 svg:last-of-type {
        display: block!important;
      }
      .vm-description.vm-max-900 p {
        max-width: 100%;
      }
      
    }
  @media all and (max-width:768px){
    .vm-description.vm-max-900 svg:first-of-type {
        display: none;
      }
      .vm-description.vm-max-900 svg:last-of-type {
        display: block!important;
      }
    .vm-description.vm-max-900 p::after{
        display: none!important;
    }
        .vm-stats {

            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 0px;
            font-size: 10px;
      
    }
     .vm-details-grid {
    grid-template-columns: 1fr;
  }
    .vm-description.vm-max-900,.vm-max-1200 {
        max-width: 90vw;
  }
  .vm-details-col{
    gap:0px;
    padding:15px;
  }
  .vm-toggle-item {
    font-size: 14px;
}
}
/** Customizer CSS */
.vm-description.vm-max-900 {
    display:grid;
        grid-template-columns:1fr;
        
    
    }
    .vm-description.vm-max-900 p {
        max-width:75%;
    }
    .single-estate .vm-cta-wrap
    {padding-bottom: 40px;}
      .vm-cta {
        border-radius: 15px!important;
      }
      .vm-single .vm-cta-fixed {
        position: fixed;
      
          right: 20px!important;}
      .vm-gallery-section {
          padding-top:30px;
      }
      .vm-view-all {
        margin-bottom: 15px;
      }
    .vm-single .vm-cta-fixed{
            background:#81d8d0;
        border:1px solid #fff;
    }
    .vm-hero-reserve.vm-cta {
      background: transparent!important;
      border: none;
    }
    .vm-description.vm-max-900 p {
        display: flex;
        align-items: flex-start;
        margin-bottom: 0px;
      
      }
      .vm-toggle-grid.vm-estate-highlights.vm-estate-highlights--animate {
        margin-top: 15px;
      }
      .vm-amenities.vm-max-1200 {
        padding-top: 0px;
      }
      .vm-description.vm-max-900 svg {
        height: var(--vm-gap);
      }
      .vm-section-heading {
        width: fit-content!important;  /* h2 shrinks to text width */
      }
      .vm-section-heading::after {
        width: 75% !important;
      }
      .vm-tab-headings [type="button"]:hover,
.vm-tab-headings [type="button"] {
  background: transparent;
  border: 0;
  color: #4c4c4c!important;
}

/* ==========================================================================
   Collection shortcodes ([villa_search], [estate_search]): ONE card per row on touch / narrow.
   ========================================================================== */
@media (max-width: 1280px), (hover: none) {
    body .vm-search-wrap #vm-search-results,
    body .vm-search-wrap #vm-estate-search-results,
    body .vm-search-wrap #vm-protected-search-results {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body .vm-search-wrap #vm-search-results .vm-results-grid.vm-results-grid--layout.vm-results-grid--villa-collection,
    body .vm-search-wrap #vm-search-results .vm-results-grid.vm-results-grid--layout.vm-results-grid--villa-collection.is-mobile-stack,
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid.vm-results-grid--layout.vm-results-grid--estate-collection,
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid.vm-results-grid--layout.vm-results-grid--estate-collection.is-mobile-stack,
    body .vm-search-wrap #vm-protected-search-results .vm-results-grid.vm-results-grid--layout.vm-results-grid--protected-collection,
    body .vm-search-wrap #vm-protected-search-results .vm-results-grid.vm-results-grid--layout.vm-results-grid--protected-collection.is-mobile-stack {
        --vm-results-cols: 1 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-rows: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: var(--vm-results-gap, 14px) !important;
    }

    body .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout,
    body .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection.is-mobile-stack > .vm-villa-card.vm-card-layout,
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout,
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection.is-mobile-stack > .vm-villa-card.vm-card-layout,
    body .vm-search-wrap #vm-protected-search-results .vm-results-grid--protected-collection > .vm-villa-card.vm-card-layout,
    body .vm-search-wrap #vm-protected-search-results .vm-results-grid--protected-collection.is-mobile-stack > .vm-villa-card.vm-card-layout {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        aspect-ratio: 4 / 3;
        min-height: 200px;
    }

    body .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout[data-vm-w="2"],
    body .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout[data-vm-w="3"],
    body .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout[data-vm-w="4"],
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout[data-vm-w="2"],
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout[data-vm-w="3"],
    body .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout[data-vm-w="4"],
    body .vm-search-wrap #vm-protected-search-results .vm-results-grid--protected-collection > .vm-villa-card.vm-card-layout[data-vm-w="2"],
    body .vm-search-wrap #vm-protected-search-results .vm-results-grid--protected-collection > .vm-villa-card.vm-card-layout[data-vm-w="3"],
    body .vm-search-wrap #vm-protected-search-results .vm-results-grid--protected-collection > .vm-villa-card.vm-card-layout[data-vm-w="4"] {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }

    /* Villas collection page: square 1000x1000 crops on mobile/tablet */
    body.vm-villas-collection-page .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection > .vm-villa-card.vm-card-layout,
    body.vm-villas-collection-page .vm-search-wrap #vm-search-results .vm-results-grid--villa-collection.is-mobile-stack > .vm-villa-card.vm-card-layout {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
    }

    /* Estates collection page: square 1000x1000 crops on mobile/tablet */
    body.vm-estates-collection-page .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection > .vm-villa-card.vm-card-layout,
    body.vm-estates-collection-page .vm-search-wrap #vm-estate-search-results .vm-results-grid--estate-collection.is-mobile-stack > .vm-villa-card.vm-card-layout {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
    }

    /* Private properties page: square 1000x1000 crops on mobile/tablet */
    body.vm-protected-properties-page .vm-search-wrap #vm-protected-search-results .vm-results-grid--protected-collection > .vm-villa-card.vm-card-layout,
    body.vm-protected-properties-page .vm-search-wrap #vm-protected-search-results .vm-results-grid--protected-collection.is-mobile-stack > .vm-villa-card.vm-card-layout {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
    }
}

/* ==========================================================================
   Collection pages: footer/layout fixes (JS sets min-height on Elementor section).
   Keep hero overlap so frosted filters stay on the dark hero image.
   ========================================================================== */
body.vm-villas-collection-page main.site-main,
body.vm-villas-collection-page #content.site-content,
body.vm-estates-collection-page main.site-main,
body.vm-estates-collection-page #content.site-content,
body.vm-protected-properties-page main.site-main,
body.vm-protected-properties-page #content.site-content {
    overflow: visible !important;
}

body.vm-villas-collection-page .elementor-1132,
body.vm-villas-collection-page .elementor-element-af9f171,
body.vm-estates-collection-page .elementor-84,
body.vm-estates-collection-page .elementor-element-000de4d,
body.vm-protected-properties-page .elementor-element-26db0d6,
body.vm-protected-properties-page .vm-search-wrap--protected-properties {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    align-self: stretch !important;
    width: 100% !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

body.vm-protected-properties-page .vm-search-wrap--protected-properties {
    box-sizing: border-box;
}

body.vm-villas-collection-page #vm-search-results,
body.vm-villas-collection-page .vm-results-grid--villa-collection,
body.vm-estates-collection-page #vm-estate-search-results,
body.vm-estates-collection-page .vm-results-grid--estate-collection,
body.vm-protected-properties-page #vm-protected-search-results,
body.vm-protected-properties-page .vm-results-grid--protected-collection {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

body.vm-estates-collection-page #vm-estate-search-results,
body.vm-protected-properties-page #vm-protected-search-results {
    position: relative;
    top: 0 !important;
}

body.vm-protected-properties-page #vm-protected-search-results {
    padding-top: 0;
}

body.vm-estates-collection-page #vm-estate-search-results {
    padding-top: var(--vm-results-gap, 14px);
}

/* Hero overlap: filters/tabs stay on the dark hero; cards start below it. */
@media (max-width: 1024px) {
    body.vm-villas-collection-page .elementor-element-af9f171,
    body.vm-estates-collection-page .elementor-element-000de4d,
    body.vm-protected-properties-page .elementor-element-26db0d6 {
        padding-top: 250px;
        margin-top: -250px !important;
        margin-bottom: 0 !important;
    }

    body.vm-villas-collection-page #vm-search-form {
        margin-top: -240px;
    }

    body.vm-estates-collection-page #vm-estate-search-form {
        position: absolute;
        left: 0;
        right: 0;
        top: -240px;
        margin-top: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        z-index: 2;
    }

    body.vm-estates-collection-page #vm-estate-search-results {
        margin-top: 0 !important;
    }

    body.vm-protected-properties-page .vm-search-form--private-kind {
        position: absolute;
        left: 0;
        right: 0;
        top: -240px;
        margin-top: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        z-index: 2;
    }

    body.vm-protected-properties-page #vm-protected-search-results {
        margin-top: 0 !important;
    }
}

@media (min-width: 1025px) {
    body.vm-villas-collection-page .elementor-element-af9f171,
    body.vm-estates-collection-page .elementor-element-000de4d,
    body.vm-protected-properties-page .elementor-element-26db0d6 {
        padding-top: 85px;
        margin-top: -85px !important;
        margin-bottom: 0 !important;
    }

    body.vm-villas-collection-page #vm-search-form {
        margin-top: -75px;
    }

    body.vm-estates-collection-page #vm-estate-search-form {
        position: absolute;
        left: 0;
        right: 0;
        top: -80px;
        margin-top: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        z-index: 2;
    }

    body.vm-estates-collection-page #vm-estate-search-results {
        margin-top: 0 !important;
    }

    body.vm-protected-properties-page .vm-search-form--private-kind {
        position: absolute;
        left: 0;
        right: 0;
        top: -75px;
        margin-top: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        z-index: 2;
    }

    body.vm-protected-properties-page #vm-protected-search-results {
        margin-top: 0 !important;
    }
}

body.vm-villas-collection-page #vm-search-results,
body.vm-estates-collection-page #vm-estate-search-results,
body.vm-protected-properties-page #vm-protected-search-results {
    margin-bottom: 0;
    padding-bottom: 24px;
}

@media (max-width: 480px) {
    body.vm-protected-properties-page .elementor-heading-title.elementor-size-default {
        font-size: 40px !important;
    }
}

/* Reinforce frosted filter bar (wins over Elementor / layout resets). */
body.vm-villas-collection-page .vm-search-form input,
body.vm-villas-collection-page .vm-search-form select,
body.vm-villas-collection-page .vm-search-form button,
body.vm-estates-collection-page .vm-estate-search-form input,
body.vm-estates-collection-page .vm-estate-search-form select,
body.vm-estates-collection-page .vm-estate-search-form button {
    background: rgba(255, 255, 255, 0.17) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

body.vm-villas-collection-page .vm-search-form select,
body.vm-estates-collection-page .vm-estate-search-form select {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.17) !important;
}

body.vm-villas-collection-page .vm-search-form button,
body.vm-estates-collection-page .vm-estate-search-form button {
    background: rgba(129, 216, 208, 0.3) !important;
    border-color: rgba(129, 216, 208, 0.8) !important;
    color: #fff !important;
}

body.vm-villas-collection-page .vm-search-toggle-group,
body.vm-estates-collection-page .vm-search-toggle-group--estate {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

body.vm-estates-collection-page .vm-estate-filter-panel {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

body.vm-estates-collection-page .vm-estate-filter-panel .vm-search-toggle-group--estate {
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.vm-villas-collection-page .vm-search-toggle,
body.vm-estates-collection-page .vm-search-toggle {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
}

body.vm-villas-collection-page .vm-search-toggle__label,
body.vm-estates-collection-page .vm-search-toggle__label {
    color: #fff !important;
}

/* Estate collection cards: keep site/location visible on the overlay. */
body.vm-estates-collection-page .vm-results-grid--estate-collection .vm-card-location--estate {
    display: block !important;
}

/* Villa labels (Under Construction / New Project) */
.vm-hero-content .vm-location.vm-location--tag {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    color: #fff !important;
    background: none !important;
    background-color: transparent !important;
}

.vm-card-under-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 8px 0 0;
}

.vm-card-under-label {
    display: inline-block;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: normal;
    padding: 0;
    border-radius: 0;
    color: inherit;
    background: none;
    pointer-events: none;
}
