:root {
  --green: #0f3d2e;
  --green-2: #17543f;
  --red: #b3262e;
  --red-dark: #8e1c23;
  --gold: #e0a93b;
  --cream: #fbf6ec;
  --paper: #ffffff;
  --ink: #1d2420;
  --muted: #5f6b64;
  --line: #e6dfd0;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(15, 61, 46, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.55 "Nunito Sans", system-ui, sans-serif;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .4em; }
a { color: var(--green-2); }
img { max-width: 100%; }
button, input, select { font: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* Header */
.site-header { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.5rem; color: #fff; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--gold); }
.main-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { color: #e8efe9; text-decoration: none; padding: 8px 12px; border-radius: 999px; white-space: nowrap; font-weight: 600; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.proto-banner { background: var(--gold); color: #3b2a05; text-align: center; font-size: .85rem; font-weight: 700; padding: 6px 16px; }

/* Hero */
.hero {
  margin: 24px 0 8px;
  background: radial-gradient(circle at 85% 20%, rgba(224,169,59,.35), transparent 40%), linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; border-radius: 22px; padding: 48px 40px; position: relative; overflow: hidden;
}
.hero::after { content: "❄ ✶ ❄ ✶"; position: absolute; right: 24px; bottom: 12px; font-size: 2.4rem; opacity: .15; letter-spacing: 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 14ch; }
.hero p { font-size: 1.15rem; max-width: 46ch; opacity: .95; }
.countdown { display: inline-flex; align-items: baseline; gap: 8px; background: rgba(0,0,0,.18); padding: 6px 14px; border-radius: 999px; font-weight: 700; margin-bottom: 18px; }
.countdown strong { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--gold); }

.search-box { display: flex; flex-wrap: wrap; gap: 8px; background: #fff; padding: 8px; border-radius: 16px; max-width: 720px; margin-top: 24px; }
.search-box input, .search-box select { flex: 1 1 180px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); background: #fff; min-width: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 800; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost.on { background: var(--green); color: #fff; border-color: var(--green); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Sections */
section.block { margin: 48px 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.block-head h2 { font-size: 1.75rem; margin: 0; }
.block-head a { font-weight: 700; }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile .emo { font-size: 1.9rem; display: block; margin-bottom: 6px; }
.cat-tile strong { display: block; }
.cat-tile small { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; }
.chip:hover, .chip.on { background: var(--green); color: #fff; border-color: var(--green); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.thumb { height: 140px; display: grid; place-items: center; font-size: 3.4rem; position: relative; }
.thumb svg, .detail-hero svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.detail-hero { position: relative; overflow: hidden; }
.thumb .badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin: 0; }
.meta { color: var(--muted); font-size: .9rem; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; font-size: 1.05rem; }
.price.free { color: var(--green-2); }
.booking { font-size: .8rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #f3eee2; }

/* Explore */
.explore { display: grid; grid-template-columns: 270px 1fr; gap: 28px; margin: 28px 0 56px; }
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; align-self: start; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.filters h3 { font-size: 1rem; font-family: "Nunito Sans", sans-serif; font-weight: 800; margin: 18px 0 8px; }
.filters h3:first-child { margin-top: 0; }
.filters input[type=text], .filters select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.filters label.check { display: flex; gap: 8px; align-items: center; padding: 3px 0; cursor: pointer; }
.filters .btn { width: 100%; margin-top: 10px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-head h1 { font-size: 1.9rem; margin: 0; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar select { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
#map, .mini-map { height: 560px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }
.mini-map { height: 240px; }
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.filter-toggle { display: none; }

/* Listing detail */
.detail { margin: 24px 0 56px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.detail-hero { height: 260px; border-radius: 22px; display: grid; place-items: center; font-size: 6rem; margin-bottom: 24px; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.detail h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; align-self: start; position: sticky; top: 84px; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 16px; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 700; }
.checked { display: flex; gap: 8px; align-items: center; background: #eaf4ee; color: var(--green); padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 700; margin: 16px 0; }
.checked a { color: inherit; }
.checked.unverified { background: #fff6e0; color: #6b4d00; font-weight: 600; }
.badge-status { left: auto !important; right: 10px; background: var(--red) !important; color: #fff !important; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tag { background: #f3eee2; border-radius: 999px; padding: 4px 10px; font-size: .85rem; font-weight: 700; }

/* Simple pages */
.page { max-width: 720px; margin: 40px auto 64px; }
.page form { display: grid; gap: 12px; background: var(--paper); padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.page label { font-weight: 700; display: grid; gap: 4px; }
.page input, .page textarea, .page select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.notice { background: #fff6e0; border: 1px solid #f0d89a; padding: 12px 14px; border-radius: 10px; }

/* Alerts band */
.alerts { background: var(--green); color: #fff; border-radius: 22px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.alerts h2 { color: #fff; }
.alerts form { display: flex; gap: 8px; flex-wrap: wrap; }
.alerts input { flex: 1 1 200px; padding: 12px 14px; border-radius: 10px; border: 0; }

/* Footer */
.site-footer { background: var(--green); color: #cfdcd4; padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner p { max-width: 40ch; }
.footer-inner nav { display: grid; gap: 8px; }
.footer-inner a { color: #fff; }

/* Featured / sponsored */
.card.featured { border: 2px solid var(--gold); box-shadow: 0 0 0 3px rgba(224,169,59,.15); }
.thumb .badge-featured { left: auto; right: 10px; background: var(--gold); color: #3b2a05; }
.sponsored-note { display: inline-block; background: #fff3d6; color: #6b4d00; border: 1px solid #f0d89a; border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: .85rem; margin: 0 0 6px; }
.feature-pitch { background: linear-gradient(135deg, #fff8e6, #fff); border: 2px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; margin: 20px 0; }
.feature-pitch h2 { margin-top: 0; }
.feature-pitch ul { padding-left: 20px; }
.price-tag { font-size: 1.1rem; margin-bottom: 0; }
.check-row { display: flex !important; gap: 8px; align-items: center; font-weight: 700; }
.notice.ok { background: #eaf4ee; border-color: #b9dcc6; color: var(--green); }
.date-input { margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; width: 100%; }
.date-input[hidden] { display: none; }
.related { margin-top: 32px; }
.related h2 { font-size: 1.3rem; }
.footer-cities { display: flex !important; flex-wrap: wrap; gap: 6px 14px; max-width: 360px; align-content: flex-start; }
.footer-cities a { color: #cfdcd4; font-size: .9rem; }

/* Leaflet popups */
.leaflet-popup-content a { font-weight: 800; }

@media (max-width: 860px) {
  .explore { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .detail-grid { grid-template-columns: 1fr; }
  .facts { position: static; }
  .alerts { grid-template-columns: 1fr; padding: 24px; }
  .hero { padding: 32px 22px; }
  #map { height: 420px; }
}
