:root{
  --gold:#c6a75e;
  --gold-deep:#b28d43;
  --ink:#161616;
  --muted:#676767;
  --line:#e8dcc0;
  --paper:#fffdf8;
  --bg:#f6f3ee;
  --shadow:0 12px 30px rgba(0,0,0,0.08);
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:linear-gradient(180deg,#faf8f3 0%,#f3efe7 100%);
  color:var(--ink);
}
.desktop-link{
  display:block;
  width:max-content;
  max-width:100%;
  margin:10px 14px 0;
  color:#1a4fb4;
  text-decoration:underline;
  font-size:14px;
}
#splash{
  position:fixed;
  inset:0;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
#splash img{width:168px;max-width:70vw;height:auto;}
.site-header{
  padding:18px 16px 14px;
}
.header-inner{
  background:linear-gradient(135deg,#d8bd7f 0%,#b69046 100%);
  color:#111;
  text-align:center;
  border-radius:0 0 24px 24px;
  padding:24px 18px 26px;
  box-shadow:0 14px 26px rgba(120,88,19,0.18);
}
.eyebrow{
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  opacity:0.85;
  margin-bottom:10px;
}
.header-inner h1{
  margin:0;
  font-size:clamp(30px,7vw,40px);
  line-height:1.08;
  font-weight:800;
}
.header-inner p{
  margin:12px auto 0;
  max-width:520px;
  font-size:15px;
  line-height:1.55;
  color:#1f1f1f;
}
.menu-wrap{
  position:sticky;
  top:0;
  z-index:20;
  padding:12px 0 4px;
  background:linear-gradient(180deg,rgba(246,243,238,0.96),rgba(246,243,238,0.88));
  backdrop-filter:blur(8px);
}
#villa-menu{
  padding:0 14px 8px;
  overflow-x:auto;
  white-space:nowrap;
  -webkit-overflow-scrolling:touch;
}
#villa-menu::-webkit-scrollbar{height:4px;}
#villa-menu::-webkit-scrollbar-thumb{background:#d4c3a0;border-radius:999px;}
#villa-menu button{
  margin-right:10px;
  padding:12px 18px;
  border:none;
  border-radius:999px;
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,0.06);
  font-weight:700;
  cursor:pointer;
  color:var(--ink);
  font-size:15px;
}
#villa-menu button.active{
  background:var(--gold);
  color:#111;
  box-shadow:0 8px 18px rgba(182,144,70,0.25);
}
#villas{
  padding:10px 14px 30px;
}
.villa-card{
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(198,167,94,0.16);
  border-radius:22px;
  overflow:hidden;
  margin-bottom:18px;
  box-shadow:var(--shadow);
}
.villa-image-wrap{
  position:relative;
}
.villa-card img{
  width:100%;
  height:228px;
  object-fit:cover;
  display:block;
  background:#eee;
}
.villa-badge{
  position:absolute;
  left:14px;
  bottom:14px;
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(17,17,17,0.72);
  backdrop-filter:blur(6px);
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
.villa-card .content{padding:16px 16px 18px;}
.villa-card h3{
  margin:0;
  font-size:22px;
  line-height:1.25;
  font-weight:800;
}
.villa-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.meta-pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#f7f1e4;
  color:#654d1f;
  font-size:13px;
  font-weight:700;
}
.actions{
  margin-top:16px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:8px;
}
.actions a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  text-decoration:none;
  border-radius:12px;
  font-weight:800;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.02em;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.actions a:active{transform:translateY(1px);}
.primary-btn{
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-deep) 100%);
  color:#111;
  box-shadow:0 8px 18px rgba(182,144,70,0.22);
}
.secondary-btn{
  background:#fff;
  color:#222;
  border:1px solid #eadfc8;
}
.message{
  background:#fff;
  padding:16px;
  border-radius:18px;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
  text-align:center;
  color:var(--muted);
  font-weight:600;
}
@media (max-width:420px){
  .header-inner{padding:22px 16px 24px;}
  .header-inner h1{font-size:32px;}
  .villa-card img{height:210px;}
  .villa-card h3{font-size:20px;}
  .actions{
    grid-template-columns:1fr;
  }
}
