/* Waijai villas page */
.vband { height: auto; min-height: 0; padding: calc(150px + env(safe-area-inset-top, 0px)) 0 0; }
.vband .ph { object-position: 50% 55%; }
.vband .shade { background: linear-gradient(180deg, rgba(18,38,28,.72) 0%, rgba(18,38,28,.5) 45%, rgba(18,38,28,.82) 100%); }
.vband .copy { position: relative; padding-bottom: calc(104px + clamp(48px, 6vw, 88px)); }
@media (max-width: 700px) { .vband .copy { padding-bottom: calc(132px + 40px); } }
.vband .lb { color: rgba(242,235,223,.82); }
.vband h1 { margin-top: 18px; font: 400 clamp(42px, 5.4vw, 84px)/1.04 var(--spe); letter-spacing: -.012em; text-shadow: 0 1px 28px rgba(18,38,28,.35); }
.vband .sub { max-width: 34em; }

.vlist { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); scroll-margin-top: 72px; }
.vhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; padding-bottom: 22px; margin-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--linen); }
.vhead h2 { font: 300 clamp(32px, 3.4vw, 48px)/1.1 var(--spe); }
.vmeta { font-size: 17px; color: var(--stone); max-width: 40em; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(36px, 3.4vw, 56px) clamp(20px, 2.2vw, 36px); }
.vempty { grid-column: 1 / -1; font-size: 18px; color: var(--stone); }

.vc { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vc-hit { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: none; cursor: pointer; padding: 0; }
.vc-hit:focus-visible { outline: 1px solid var(--forest); outline-offset: 8px; }
.vc-ph { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--linen); }
.vc-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.vc:hover .vc-ph img { transform: scale(1.035); }
.vc-noimg { position: absolute; inset: 0; display: grid; place-items: center; font: 500 28px/1 var(--cin); letter-spacing: .2em; color: var(--stone); background: var(--linen); }
.vc-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vc-area { color: var(--stone); font-size: 10.5px; }
.vc-name { font: 400 clamp(22px, 1.7vw, 26px)/1.22 var(--spe); }
.vc-facts { font-size: 15.5px; color: var(--stone); }
.vc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--linen); font-size: 15.5px; color: var(--stone); }
.vc-price b { font: 400 21px/1.2 var(--spe); color: var(--forest); }
.vc-price.hint { font-style: italic; }
.vc-price.wait { color: var(--stone); }
.vc-price.wait::after { content: ""; width: 34px; height: 1px; margin-left: 6px; align-self: center; background: linear-gradient(90deg, var(--gold), transparent); animation: vwait 1.2s var(--ease) infinite; }
@keyframes vwait { from { transform: scaleX(.2); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.vc-price.off { color: var(--red); }
.vc.dim .vc-ph img { filter: grayscale(.6); opacity: .72; }
.vc.sk .vc-ph { animation: vsk 1.6s ease-in-out infinite; }
.vc.sk .vc-body span { display: block; height: 14px; background: var(--linen); width: 40%; animation: vsk 1.6s ease-in-out infinite; }
.vc.sk .vc-body span + span { width: 80%; height: 20px; } .vc.sk .vc-body span + span + span { width: 60%; height: 14px; }
@keyframes vsk { 50% { opacity: .55; } }
.vrest { margin-top: clamp(56px, 6vw, 88px); }
.vrest summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 12px; padding: 14px 0; font: 500 11.5px/1.4 var(--cin); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.vrest summary::-webkit-details-marker { display: none; }
.vrest summary::before { content: "+"; font: 300 22px/1 var(--spe); color: var(--forest); }
.vrest[open] summary::before { content: "−"; }
.vrest .vgrid { margin-top: 24px; }

.vhow { background: var(--cream); border-top: 1px solid var(--linen); padding: clamp(56px, 6vw, 96px) 0; }
.vhow h2 { color: var(--stone); }
.vhow ol { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 56px); counter-reset: s; }
.vhow li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--linen); min-width: 0; }
.vhow li::before { content: "0" counter(s); font: 500 11px/1 var(--cin); letter-spacing: .2em; color: var(--gold); }
.vhow b { font: 400 23px/1.25 var(--spe); }
.vhow span { font-size: 16.5px; color: var(--stone); }
@media (max-width: 800px) { .vhow ol { grid-template-columns: 1fr; } }

/* villa sheet */
.vs-wrap { position: fixed; inset: 0; z-index: 85; display: flex; justify-content: flex-end; }
.vs-scrim { position: absolute; inset: 0; background: rgba(12,26,19,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: dpf .35s var(--ease); }
.vs { position: relative; width: min(760px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--sand); color: var(--forest); box-shadow: -30px 0 80px -30px rgba(0,0,0,.5); animation: vsin .5s var(--ease); padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.vs:focus { outline: none; }
@keyframes vsin { from { transform: translateX(40px); opacity: 0; } }
.vs-x { position: sticky; top: calc(14px + env(safe-area-inset-top, 0px)); float: right; z-index: 3; margin: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) -58px 0; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(251,247,240,.5); border-radius: 50%; background: rgba(18,38,28,.42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--sand); cursor: pointer; }
.vs-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; max-width: 100%; background: var(--linen); position: relative; }
.vs-gal::-webkit-scrollbar { display: none; }
.vs-gal img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.vs-galnav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 0 16px; font: 500 10.5px/1 var(--cin); letter-spacing: .2em; color: var(--stone); }
.vs-galnav button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--linen); border-radius: 50%; background: none; color: var(--forest); cursor: pointer; }
.vs-galnav button:hover { background: var(--cream); }
.vs-in { padding: 18px max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px)) 0 max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 10px; }
.vs-area { color: var(--stone); font-size: 10.5px; }
.vs-in h2 { font: 400 clamp(30px, 3.4vw, 42px)/1.12 var(--spe); }
.vs-facts { font-size: 16px; color: var(--stone); }
.vs-sum { margin-top: 10px; font-size: 17px; line-height: 1.7; white-space: pre-line; max-width: 36em; }
.vs-book { margin-top: 26px; padding: clamp(20px, 3vw, 30px); background: var(--cream); border: 1px solid var(--linen); display: flex; flex-direction: column; gap: 16px; }
.vs-bl { color: var(--stone); }
.vs-pick { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); border: 1px solid var(--linen); background: var(--sand); }
.vs-f { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 12px 16px; margin: 0; border: 0; background: none; color: var(--forest); font: inherit; text-align: left; cursor: pointer; }
.vs-f + .vs-f { border-left: 1px solid var(--linen); }
.vs-f .gl { color: var(--stone); }
.vs-dv { font: 400 17px/1.3 var(--spe); }
.vs-dv i { font-style: normal; color: var(--stone); }
.vs-dv.gph { font-style: italic; color: var(--stone); }
.vs-f select { -webkit-appearance: none; appearance: none; border: 0; padding: 0; background: none; color: var(--forest); font: 400 17px/1.3 var(--spe); cursor: pointer; width: 100%; }
.vs-price p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.vs-price b { font: 400 30px/1.15 var(--spe); }
.vs-price span { color: var(--stone); font-size: 16px; }
.vs-pnote { margin-top: 4px; font-size: 15px; color: var(--stone); }
.vs-pnote.warn { color: var(--red); }
#vsForm { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--linen); }
.vs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .vs-row { grid-template-columns: 1fr; } .vs-pick { grid-template-columns: 1fr; } .vs-f + .vs-f { border-left: 0; border-top: 1px solid var(--linen); } }
.vs-in2 { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vs-in2 > span { font: 500 10px/1.4 var(--cin); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.vs-in2 i { font-style: normal; text-transform: none; letter-spacing: 0; font-family: var(--spe); font-size: 13px; }
.vs-in2 input, .vs-in2 textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--linen); border-radius: 0; background: var(--sand); color: var(--forest); font: 400 17px/1.4 var(--spe); }
.vs-in2 input:focus, .vs-in2 textarea:focus { outline: none; border-color: var(--forest); }
.vs-in2 textarea { resize: vertical; min-height: 84px; }
.vs-err { color: var(--red); font-size: 15px; min-height: 0; }
.vs-err:empty { display: none; }
.vs-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.vs-send { min-height: 54px; padding: 0 32px; border: 1px solid var(--forest); background: var(--forest); color: var(--sand); font: 500 11.5px/1 var(--cin); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease); }
.vs-send:hover:not([disabled]) { background: transparent; color: var(--forest); }
.vs-send[disabled] { opacity: .4; cursor: default; }
.vs-wa { font: 400 17px/1.4 var(--spe); text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; color: var(--forest); align-self: center; }
.vs-small { font-size: 14px; color: var(--stone); }
.vs-done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.vs-done .lb { color: var(--gold); }
.vs-done h3 { font: 400 28px/1.2 var(--spe); }
.vs-done p { font-size: 17px; }
@media (max-width: 700px) { .vs { width: 100%; } .vs-x { top: calc(10px + env(safe-area-inset-top, 0px)); } }
