:root {
    --espresso: #14110e;
    --espresso-soft: #1e1915;
    --brass: #c6a46a;
    --brass-soft: #ead7b3;
    --cream: #f4efe6;
    --cream-deep: #e8dfd0;
    --ink: #241e18;
    --muted: #7a7166;
    --line: #d9d0c1;
    --reserved: #b8863a;
    --sold: #7a7368;
    --available: #6b8f71;
    --glass: rgba(20, 17, 14, 0.72);
    --shadow: 0 22px 50px rgba(20, 17, 14, .12);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--cream);
    color: var(--ink);
    font-family: "Cairo", sans-serif;
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea, a { font-family: inherit; }

img { max-width: 100%; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 36px;
    background: rgba(20, 17, 14, .88);
    border-bottom: 1px solid rgba(198,164,106,.22);
    backdrop-filter: blur(22px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(198,164,106,.4);
}

.brand-text { line-height: 1.05; }

.brand-text b {
    display: block;
    color: var(--brass-soft);
    font-size: 26px;
    font-weight: 700;
}

.brand-text em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    letter-spacing: .36em;
    font-size: 10px;
    font-weight: 700;
    color: var(--brass);
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: #b7aa96;
    font-size: 11px;
}

.nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    flex: 1;
}

.nav-btn {
    border: 0;
    background: transparent;
    color: #d8ccbb;
    border-radius: 999px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: .22s ease;
}

.nav-btn:hover,
.nav-btn.active {
    background: rgba(198,164,106,.16);
    color: var(--brass-soft);
}

.nav-btn.gold {
    background: var(--brass);
    color: var(--espresso);
    margin-right: 4px;
}

.nav-btn.gold:hover { background: var(--brass-soft); color: var(--espresso); }

.view { display: none; min-height: 100svh; }
.view.active { display: block; }

.map-view {
    position: relative;
    height: 100svh;
    overflow: hidden;
    background: #0d0b09;
}

.map-stage {
    position: absolute;
    inset: 0;
    transform-origin: 50% 50%;
    transition: transform .85s cubic-bezier(.22,.7,.2,1), transform-origin .85s cubic-bezier(.22,.7,.2,1);
    cursor: grab;
    will-change: transform;
}

.map-stage.is-dragging,
.map-view.walking .map-stage { cursor: grabbing; transition: none; }

.map-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
    filter: saturate(1.08) contrast(1.06) brightness(.97);
}

.map-intro {
    position: absolute;
    top: 104px;
    right: 88px;
    z-index: 5;
    min-width: 240px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(20,17,14,.72);
    border: 1px solid rgba(198,164,106,.26);
    backdrop-filter: blur(16px);
    color: #efe6d6;
    box-shadow: var(--shadow);
}

.map-intro small {
    display: block;
    color: var(--brass);
    letter-spacing: .18em;
    font-size: 11px;
    font-weight: 700;
}

.map-intro strong { display: block; margin: 6px 0 4px; font-size: 22px; }
.map-intro p { margin: 0; color: #b7aa96; font-size: 13px; }

.map-view.walking .map-intro { display: none; }

.walk-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s;
    overflow: visible;
}

.map-view.walking .walk-path { opacity: 1; }

.walker {
    position: absolute;
    width: 34px;
    height: 34px;
    transform: translate(50%, -50%) rotate(var(--heading, 0deg));
    border-radius: 50%;
    background: var(--brass);
    border: 3px solid #fff;
    box-shadow: 0 0 0 10px rgba(198,164,106,.22), 0 12px 24px rgba(0,0,0,.4);
    z-index: 5;
    display: grid;
    place-items: center;
    color: var(--espresso);
    font-size: 15px;
    pointer-events: none;
}

.walker:after {
    content: "";
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(198,164,106,.45);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    50% { transform: scale(1.18); opacity: .3; }
}

.walk-fog {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 40px 36px rgba(13,11,9,.18), inset 0 -56px 40px rgba(13,11,9,.22);
}

.walk-peek {
    position: absolute;
    top: 104px;
    left: 18px;
    z-index: 7;
    width: 210px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 8px;
    padding: 7px;
    border-radius: 14px;
    background: rgba(20,17,14,.78);
    border: 1px solid rgba(198,164,106,.28);
    backdrop-filter: blur(14px);
    color: #efe6d6;
}

.walk-peek img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
}

.walk-peek small { color: var(--brass); font-size: 10px; }
.walk-peek strong { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; }
.walk-peek p { display: none; }

.walk-scene {
    position: absolute;
    inset: 0;
    z-index: 6;
    overflow: hidden;
    background: #0d0b09;
}

#panoViewer,
.walk-scene .pnlm-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #0d0b09;
    font-family: "Cairo", sans-serif;
}

.walk-scene .pnlm-controls-container,
.walk-scene .pnlm-about-msg,
.walk-scene .pnlm-panorama-info { display: none !important; }

.walk-scene .pnlm-load-box {
    background: rgba(20,17,14,.82);
    border: 1px solid rgba(198,164,106,.28);
    border-radius: 16px;
    font-family: "Cairo", sans-serif;
}

.map-view.walking .map-stage { pointer-events: none; }

.walk-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 110px 80px rgba(13,11,9,.42), inset 0 -130px 90px rgba(13,11,9,.55);
    pointer-events: none;
}

.walk-compass {
    position: absolute;
    top: 104px;
    right: 18px;
    left: auto;
    z-index: 8;
    color: var(--brass-soft);
    background: rgba(20,17,14,.72);
    border: 1px solid rgba(198,164,106,.28);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    backdrop-filter: blur(12px);
}

.tour-coach {
    position: absolute;
    top: 104px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    width: min(420px, calc(100vw - 32px));
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(20,17,14,.78);
    border: 1px solid rgba(198,164,106,.28);
    color: #efe6d6;
    text-align: center;
    backdrop-filter: blur(16px);
}

.tour-coach small {
    display: block;
    color: var(--brass);
    letter-spacing: .18em;
    font-size: 10px;
}

.tour-coach strong { display: block; margin: 4px 0 6px; font-size: 18px; }
.tour-coach p { margin: 0; color: #c9bba4; font-size: 13px; line-height: 1.7; }
.tour-coach.is-off { opacity: 0; pointer-events: none; transition: opacity .6s; }

.room-rail { display: none !important; }

.tour-desk {
    position: absolute;
    top: 100px;
    left: 18px;
    z-index: 9;
    width: 300px;
    max-height: calc(100vh - 188px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    background: rgba(20,17,14,.86);
    border: 1px solid rgba(198,164,106,.3);
    backdrop-filter: blur(20px);
    color: #efe6d6;
    box-shadow: 0 22px 50px rgba(0,0,0,.28);
}

.desk-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(198,164,106,.16);
}

.desk-head small {
    display: block;
    color: var(--brass);
    font-size: 10px;
    letter-spacing: .12em;
}

.desk-head strong { display: block; margin: 3px 0 4px; font-size: 16px; }
.desk-head p { margin: 0; color: #c9bba4; font-size: 12px; line-height: 1.6; }

.desk-min {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(198,164,106,.24);
    background: transparent;
    color: var(--brass-soft);
    border-radius: 50%;
    cursor: pointer;
}

.tour-desk.is-min .desk-body { display: none; }
.tour-desk.is-min { width: min(300px, calc(100vw - 36px)); }
.tour-desk.is-min .desk-min i { transform: rotate(180deg); }

.desk-body {
    overflow: auto;
    padding: 12px 14px 14px;
}

.desk-body section + section { margin-top: 14px; }
.desk-body h4 {
    margin: 0 0 8px;
    color: var(--brass);
    font-size: 11px;
    font-weight: 700;
}

.desk-chips,
.desk-floors,
.desk-rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.desk-chips button,
.desk-floors button,
.desk-rooms button,
.desk-actions button {
    border: 1px solid rgba(198,164,106,.22);
    background: rgba(255,255,255,.03);
    color: var(--brass-soft);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
}

.desk-villas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.desk-villas button {
    height: 38px;
    border: 1px solid rgba(198,164,106,.22);
    background: rgba(255,255,255,.03);
    color: #efe6d6;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
}

.desk-villas button small {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #b7aa96;
}

.desk-villas button.available { box-shadow: inset 0 -2px 0 var(--available); }
.desk-villas button.reserved { box-shadow: inset 0 -2px 0 var(--reserved); }
.desk-villas button.sold { box-shadow: inset 0 -2px 0 var(--sold); }

.desk-chips button.active,
.desk-floors button.active,
.desk-rooms button.active,
.desk-villas button.active,
.desk-actions button.gold {
    background: var(--brass);
    color: var(--espresso);
    border-color: var(--brass);
}

.desk-rooms button { width: 100%; border-radius: 12px; text-align: right; }
.desk-rooms button i { margin-left: 6px; color: inherit; }
.desk-floors button { flex: 1; min-width: 0; padding: 8px 6px; border-radius: 12px; }

.desk-actions {
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 6px;
    margin-top: 14px;
}

.desk-actions button { border-radius: 12px; padding: 9px 8px; }
.desk-hint {
    width: 100%;
    margin: 0;
    color: #b7aa96;
    font-size: 11px;
}

.room-rail button {
    border: 0;
    background: transparent;
    color: var(--brass-soft);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    cursor: pointer;
}

.room-rail button.active {
    background: var(--brass);
    color: var(--espresso);
}

.walk-scene .pnlm-hotspot.tour-spot {
    width: 54px;
    height: 54px;
    margin-left: -27px;
    margin-top: -27px;
    background: radial-gradient(circle at 50% 36%, #ead7b3, #c6a46a 58%, #8d7344);
    background-image: none !important;
    border: 1px solid rgba(255,248,232,.45);
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(0,0,0,.42);
    display: grid;
    place-items: center;
    color: var(--espresso);
    animation: tourPulse 2.2s ease-in-out infinite;
}

.walk-scene .pnlm-hotspot.tour-spot i { font-size: 16px; pointer-events: none; }
.walk-scene .pnlm-hotspot.tour-spot em {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-style: normal;
    font-size: 11px;
    color: #efe6d6;
    background: rgba(20,17,14,.78);
    border: 1px solid rgba(198,164,106,.28);
    padding: 3px 8px;
    border-radius: 999px;
    pointer-events: none;
}

.walk-scene .pnlm-hotspot.tour-door {
    background: radial-gradient(circle at 50% 36%, #f4efe6, #c6a46a 62%, #5d4a2c);
}

@keyframes tourPulse {
    50% { box-shadow: 0 0 0 12px rgba(198,164,106,.18), 0 14px 30px rgba(0,0,0,.42); }
}

.minimap { cursor: pointer; }

.walk-hud {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 8px 8px 8px 14px;
    border-radius: 999px;
    background: rgba(20,17,14,.82);
    border: 1px solid rgba(198,164,106,.28);
    backdrop-filter: blur(16px);
    color: #efe6d6;
}

.walk-progress {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 2px;
    background: rgba(255,255,255,.08);
    border-radius: 99px;
    overflow: hidden;
}

.walk-progress i { display: block; height: 100%; width: 0; background: var(--brass); }

.walk-meta { min-width: 118px; max-width: 170px; }
.walk-meta small { display: block; color: var(--brass); font-size: 10px; }
.walk-meta strong {
    display: block;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.walk-meta p { display: none; }

.walk-actions { display: flex; gap: 4px; align-items: center; }

.walk-actions button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(198,164,106,.22);
    background: transparent;
    color: var(--brass-soft);
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    touch-action: none;
}

.walk-actions button.gold,
.walk-actions button.active {
    background: var(--brass);
    color: var(--espresso);
    border-color: var(--brass);
}

.walk-keys { display: none; }

.minimap {
    position: relative;
    width: 72px;
    height: 46px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(198,164,106,.3);
    flex: 0 0 72px;
}

.minimap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.minimap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.minimap b {
    position: absolute;
    width: 10px;
    height: 10px;
    transform: translate(50%, -50%);
    background: var(--brass);
    border: 2px solid #fff;
    border-radius: 50%;
}

.map-view.walking .bottom-dock,
.map-view.walking .brand-watermark { display: none; }

.hotspots { position: absolute; inset: 0; }

.pin {
    position: absolute;
    transform: translate(50%, -50%);
    min-width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.32);
    letter-spacing: .02em;
}

.pin.available { background: var(--available); }
.pin.reserved { background: var(--reserved); }
.pin.sold { background: var(--sold); }
.pin:hover { transform: translate(50%, -50%) scale(1.08); }
.pin.current {
    transform: translate(50%, -50%) scale(1.16);
    box-shadow: 0 0 0 6px rgba(198,164,106,.35), 0 10px 22px rgba(0,0,0,.28);
}

.brand-watermark {
    position: absolute;
    bottom: 96px;
    right: 22px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(20,17,14,.58);
    border: 1px solid rgba(198,164,106,.26);
    border-radius: 14px;
    backdrop-filter: blur(14px);
}

.brand-watermark img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand-watermark span { color: var(--brass-soft); font-size: 12px; letter-spacing: .08em; }

.side-tools {
    position: absolute;
    top: 104px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.tool {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(198,164,106,.28);
    border-radius: 12px;
    background: rgba(20, 17, 14, .62);
    color: var(--brass-soft);
    cursor: pointer;
}

.tool.accent { background: var(--brass); color: var(--espresso); border-color: var(--brass); }
.tool.active { background: var(--brass-soft); color: var(--espresso); }

.legend {
    position: absolute;
    top: 104px;
    right: 76px;
    background: rgba(20,17,14,.92);
    color: #efe6d6;
    padding: 14px 16px;
    border-radius: 14px;
    display: none;
    min-width: 150px;
    border: 1px solid rgba(198,164,106,.28);
    z-index: 6;
}

.legend.open { display: block; }
.legend div { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 13px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .a { background: var(--available); }
.legend .r { background: var(--reserved); }
.legend .s { background: var(--sold); }

.discover {
    width: 46px;
    min-height: 148px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border: 1px solid rgba(198,164,106,.4);
    background: rgba(20, 17, 14, .5);
    color: var(--brass-soft);
    border-radius: 12px;
    cursor: pointer;
    letter-spacing: .14em;
    font-weight: 600;
}

.bottom-dock {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 40px;
    background: rgba(20, 17, 14, .74);
    border: 1px solid rgba(198,164,106,.24);
    backdrop-filter: blur(16px);
    z-index: 5;
}

.dock-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--brass-soft);
    cursor: pointer;
}

.dock-btn:hover { background: rgba(198,164,106,.16); }

.page {
    padding: 126px 0 80px;
    background:
        radial-gradient(1200px 420px at 100% 0, rgba(198,164,106,.12), transparent 55%),
        var(--cream);
}

.page-shell {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.page-head h1 {
    margin: 8px 0 0;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.page-head p {
    margin: 8px 0 0;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
}

.page-head img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brass);
    font-weight: 700;
    letter-spacing: .08em;
    font-size: 13px;
}

.kicker:before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--brass);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.stat-row div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
}

.stat-row small { color: var(--muted); display: block; }
.stat-row strong { display: block; margin-top: 4px; font-size: 22px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-grid .shot {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: #1a1612;
    box-shadow: var(--shadow);
}

.gallery-grid .shot.hero {
    grid-column: 1 / -1;
    min-height: 560px;
}

.gallery-grid .shot img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.22,.7,.2,1), filter .4s ease;
    filter: saturate(1.08) contrast(1.06);
}

.gallery-grid .shot.hero img { height: 560px; object-position: center 40%; }
.gallery-grid .shot:hover img { transform: scale(1.05); }

.shot-meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 36px 22px 20px;
    background: linear-gradient(180deg, transparent, rgba(13,11,9,.82));
    color: #efe6d6;
}

.shot-meta small {
    display: block;
    color: var(--brass-soft);
    font-size: 12px;
    font-weight: 700;
}

.shot-meta strong { display: block; margin-top: 4px; font-size: 17px; }

.film-intro {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: #14110e;
}

.film-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film-intro.is-off {
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease;
}

.intro-brand {
    position: absolute;
    top: 28px;
    right: 36px;
    color: #ead7b3;
    text-align: right;
}

.intro-brand small {
    display: block;
    letter-spacing: .22em;
    font-size: 11px;
    font-weight: 700;
}

.intro-brand strong { display: block; font-size: 28px; color: #efe6d6; }

.skip-intro {
    position: absolute;
    left: 28px;
    bottom: 28px;
    border: 1px solid rgba(198,164,106,.4);
    background: rgba(20,17,14,.45);
    color: #ead7b3;
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    font-weight: 700;
}

.video-hero {
    position: relative;
    height: 100svh;
    overflow: hidden;
    background: var(--espresso);
}

.video-hero video,
.video-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
}

.video-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,11,9,.28), transparent 32%, transparent 58%, rgba(13,11,9,.68));
    pointer-events: none;
}

.video-caption {
    position: absolute;
    right: 56px;
    bottom: 52px;
    color: #efe6d6;
    z-index: 2;
}

.video-caption small {
    display: block;
    color: var(--brass-soft);
    letter-spacing: .2em;
    font-weight: 700;
}

.video-caption strong { display: block; font-size: 32px; margin-top: 8px; }

.play-orb {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 92px;
    height: 92px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    background: rgba(20,17,14,.5);
    color: var(--brass-soft);
    font-size: 26px;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.location-wrap { position: relative; }
.location-wrap iframe { width: 100%; height: 100svh; border: 0; filter: saturate(.8) contrast(1.05); }

.place-card {
    position: absolute;
    top: 116px;
    left: 32px;
    background: rgba(20,17,14,.92);
    color: #efe6d6;
    padding: 24px 26px;
    border-radius: 20px;
    border: 1px solid rgba(198,164,106,.28);
    min-width: 300px;
    box-shadow: var(--shadow);
}

.place-card img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; margin-bottom: 12px; }
.place-card small { color: var(--brass); letter-spacing: .12em; font-weight: 700; }
.place-card h3 { margin: 6px 0; color: var(--brass-soft); font-size: 26px; }
.place-card p { margin: 0; color: #b7aa96; font-size: 14px; line-height: 1.7; }
.stars { color: var(--brass); margin-top: 12px; font-weight: 700; }
.stars span { color: #8d8273; font-weight: 500; }

.villa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.villa-card {
    background: #fff;
    border: 1px solid rgba(216,207,191,.8);
    border-radius: 20px;
    padding: 8px 8px 14px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(20,17,14,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.villa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.villa-card figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
}

.villa-card figure:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 96px;
    background: linear-gradient(180deg, transparent, rgba(13,11,9,.68));
    pointer-events: none;
}

.villa-card img {
    width: 100%;
    height: 236px;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
    filter: saturate(1.08) contrast(1.05);
}

.villa-card:hover img { transform: scale(1.06); }

.villa-card figcaption {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 1;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}

.badge.available { background: var(--available); }
.badge.reserved { background: var(--reserved); }
.badge.sold { background: var(--sold); }

.villa-card ul { list-style: none; padding: 14px 10px 8px; margin: 0; }

.villa-card li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1eadf;
    color: var(--muted);
}

.villa-card li strong { color: var(--ink); }

.more-btn {
    width: 100%;
    border: 0;
    background: var(--espresso);
    color: var(--brass-soft);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    font-weight: 700;
}

.more-btn:hover { background: var(--brass); color: var(--espresso); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 36px 32px;
    min-height: 460px;
    box-shadow: 0 16px 36px rgba(20,17,14,.05);
}

.panel.visual {
    padding: 0;
    overflow: hidden;
    position: relative;
    color: #efe6d6;
}

.panel.visual img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.06);
}

.panel-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 32px;
    background: linear-gradient(180deg, transparent, rgba(13,11,9,.86));
}

.panel.visual .kicker,
.panel.visual .kicker:before { color: var(--brass-soft); background: transparent; }
.panel.visual .kicker:before { background: var(--brass-soft); }
.panel.visual h2 { color: #fff; }
.panel.visual p { color: #d8ccbb; }

.panel h2 { margin: 12px 0 8px; font-size: 34px; }
.panel p { color: var(--muted); line-height: 1.75; }

.phone-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.icon-tile {
    width: 52px;
    height: 52px;
    background: var(--espresso);
    display: grid;
    place-items: center;
    color: var(--brass);
    font-size: 18px;
    border-radius: 12px;
}

.panel.visual .icon-tile { background: rgba(255,255,255,.1); color: var(--brass-soft); }
.phone-box a { color: inherit; text-decoration: none; display: block; font-weight: 600; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.form-grid .full { grid-column: 1 / -1; }

.form-grid input,
.form-grid textarea {
    width: 100%;
    border: 0;
    background: transparent;
    border-bottom: 1px solid var(--line);
    padding: 13px 2px;
    outline: none;
    font-size: 15px;
}

.form-grid input:focus,
.form-grid textarea:focus { border-bottom-color: var(--brass); }

.form-grid textarea { min-height: 96px; resize: vertical; }

.send-btn {
    border: 0;
    background: var(--espresso);
    color: var(--brass-soft);
    padding: 13px 32px;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 18px;
    font-weight: 700;
}

.send-btn:hover { background: var(--brass); color: var(--espresso); }

.modal {
    position: fixed;
    inset: 0;
    background: rgba(12,10,8,.8);
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.open { display: flex; }

.modal-box {
    width: min(1080px, 100%);
    max-height: 92svh;
    overflow: auto;
    background: var(--cream);
    border-radius: 22px;
    border: 1px solid rgba(198,164,106,.22);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.modal-hero { position: relative; height: 430px; overflow: hidden; }
.modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.06);
}
.modal-hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 130px;
    background: linear-gradient(180deg, transparent, rgba(244,239,230,.98));
    pointer-events: none;
}

.close-x {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    z-index: 2;
}

.modal-body { padding: 8px 28px 32px; }
.modal-body h2 { margin: 0 0 8px; font-size: 30px; }

.specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.spec {
    background: #fff;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.spec small { color: var(--muted); display: block; }
.spec strong { font-size: 18px; }

.plan-tabs { display: flex; gap: 8px; margin: 8px 0 12px; }

.plan-tabs button {
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.plan-tabs button.active {
    background: var(--espresso);
    color: var(--brass-soft);
    border-color: var(--espresso);
}

.plan-frame {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.plan-frame img {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: contain;
    max-height: 400px;
    background: #f7f3ea;
}

.alert {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #efe6d3;
    color: #5a4630;
}

.site-footer { display: none; }

body[data-view="photos"] .site-footer,
body[data-view="list"] .site-footer,
body[data-view="contact"] .site-footer {
    display: flex;
}

.site-footer {
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 64px 32px;
    background: var(--espresso);
    color: #cfc3ae;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.footer-brand b { color: var(--brass-soft); display: block; }
.footer-brand span { font-size: 12px; color: #9b8f7c; }
.footer-meta { letter-spacing: .04em; }

.menu-toggle {
    display: none;
    border: 1px solid var(--brass);
    background: transparent;
    color: var(--brass);
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

@media (max-width: 1100px) {
    .villa-grid, .gallery-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid .shot.hero { min-height: 280px; }
    .gallery-grid .shot.hero img { height: 280px; }
    .video-caption { right: 18px; bottom: 24px; }
    .contact-grid, .form-grid, .specs { grid-template-columns: 1fr; }
    .page-shell { width: calc(100% - 32px); }
    .nav-pills { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-pills.open {
        display: flex;
        position: absolute;
        top: 82px;
        left: 12px;
        right: 12px;
        background: var(--espresso);
        padding: 12px;
        border-radius: 14px;
        border: 1px solid rgba(198,164,106,.25);
    }
    .site-footer { padding-left: 16px; padding-right: 16px; }
    .brand-text small { display: none; }
    .map-intro { right: 76px; left: 16px; min-width: 0; }
    .walk-hud { max-width: calc(100vw - 16px); padding: 6px 8px; gap: 6px; }
    .walk-meta { display: none; }
    .walk-peek { left: 12px; width: 168px; }
    .minimap { width: 56px; height: 36px; flex-basis: 56px; }
    .walk-compass { top: 88px; right: 12px; }
    .tour-coach { top: 88px; width: min(360px, calc(100vw - 24px)); }
    .tour-desk {
        top: auto;
        bottom: 78px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: 46vh;
    }
}

@media (max-width: 720px) {
    .gallery-grid,
    .villa-grid,
    .stat-row { grid-template-columns: 1fr; }
    .page-head h1 { font-size: 30px; }
}
