:root {
  --bg: #f7f5f0; --text: #1e2a2f; --muted: #5a6b6f; --card: #ffffff;
  --teal: #0d3b3e; --teal2: #1e6f6a; --gold: #e8b84b; --wa: #25d366;
  --shadow: 0 4px 18px rgba(13,59,62,.10);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #101a1c; --text: #eef3f4; --muted: #9aa8ad; --card: #1a2729; }
}
:root[data-theme="dark"] { --bg: #101a1c; --text: #eef3f4; --muted: #9aa8ad; --card: #1a2729; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
main { max-width: 1120px; margin: 0 auto; padding: 24px 16px; }
main.narrow { max-width: 620px; }
h1 { font-size: 1.6rem; margin-bottom: 6px; }
h2 { font-size: 1.25rem; margin: 28px 0 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: var(--teal); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.logo { font-weight: 800; text-decoration: none; color: #fff; }
.logo span { color: var(--gold); }
nav { display: flex; gap: 16px; flex-wrap: wrap; }
nav a { color: #cfeee8; text-decoration: none; font-size: .9rem; }
nav a:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 720px) {
  .menu-btn { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--teal); flex-direction: column; padding: 12px 16px; gap: 12px; }
  nav.open { display: flex; }
}

/* hero */
.hero-band { padding: 48px 16px 40px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal2)); }
.hero-band h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.hero-band p { opacity: .9; margin: 8px 0 20px; }
.search { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 720px; margin: 0 auto; }
.search select { flex: 1 1 140px; }

/* controls */
select, input, textarea { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid #ccd6d4; background: #fff; color: #1e2a2f; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 16px; }
.filters select { flex: 1 1 150px; }
.check { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.btn { display: inline-block; background: var(--teal2); color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.btn.accent { background: var(--gold); color: #1e2a2f; }
.btn.wa { background: var(--wa); margin-top: 14px; }
.btn:hover { filter: brightness(1.05); }

/* cards */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-bottom: 8px; }
.card { display: block; background: var(--card); border-radius: 14px; overflow: hidden; text-decoration: none; position: relative; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.card-body { padding: 12px 14px; }
.card h3 { font-size: 1rem; margin-bottom: 2px; }
.card.featured { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #1e2a2f; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; z-index: 1; }
.price { font-weight: 800; color: var(--teal2); margin-top: 6px; }
.biz { background: var(--card); border-left: 5px solid var(--teal2); border-radius: 10px; padding: 14px; box-shadow: var(--shadow); }
.biz.featured { border-left-color: var(--gold); }
.biz h3 { font-size: 1rem; margin: 2px 0; }
.biz p { font-size: .9rem; color: var(--muted); }

/* CTA + forms */
.cta-band { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; background: var(--card); border-radius: 14px; padding: 20px; margin-top: 28px; box-shadow: var(--shadow); }
.panel { background: var(--card); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.panel label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; }
.panel .btn { margin-top: 6px; }

/* villa page */
.villa-page a:first-child { text-decoration: none; color: var(--teal2); font-weight: 600; }
.hero { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; display: block; margin: 14px 0; }
.facts { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }

/* tiers + dashboard */
.tiers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 16px; }
.tier { background: var(--card); border-radius: 14px; padding: 22px; text-align: center; box-shadow: var(--shadow); }
.tier.popular { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.tier h3 { color: var(--muted); font-size: .95rem; }
.tier .amt { font-size: 1.7rem; font-weight: 800; color: var(--teal); margin: 6px 0; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 16px 0; }
.stat { background: var(--card); border-radius: 12px; padding: 18px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: 1.8rem; font-weight: 800; color: var(--teal2); }
.stat .lbl { font-size: .8rem; color: var(--muted); }

footer { text-align: center; padding: 24px; color: var(--muted); font-size: .85rem; }
footer a { color: var(--teal2); }
@media (max-width: 480px) { .hero { height: 220px; } }
