:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --ink: #17312b;
  --muted: #63736f;
  --line: #dbe3de;
  --brand: #1f6f5f;
  --brand-dark: #165347;
  --accent: #e8a75d;
  --danger: #ad3c3c;
  --shadow: 0 18px 50px rgba(23,49,43,.10);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:16px; top:16px; z-index:1000; background:#fff; padding:12px 16px; border-radius:10px; box-shadow:var(--shadow); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,244,239,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,227,222,.8);
}
.header-inner { min-height: 74px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { font-weight: 900; font-size: 1.55rem; letter-spacing:-.05em; }
.brand-dot { color:var(--brand); }
.nav { display:flex; align-items:center; gap:8px; }
.nav a { padding:10px 12px; border-radius:10px; font-weight:650; font-size:.95rem; }
.nav a:hover, .nav a:focus-visible { background:#fff; outline:none; }
.nav .nav-cta { background:var(--ink); color:#fff; padding-inline:16px; }
.mobile-toggle { display:none; border:0; background:#fff; width:44px; height:44px; border-radius:12px; color:var(--ink); }
.mobile-toggle svg { width:24px; height:24px; }

.hero { padding: 70px 0 42px; }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items:center; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; font-size:.78rem; color:var(--brand); }
.hero h1 { font-size: clamp(3rem, 7vw, 6.4rem); line-height:.94; letter-spacing:-.065em; margin:16px 0 20px; max-width:9ch; }
.hero p { max-width:620px; font-size:1.18rem; color:var(--muted); margin:0 0 28px; }
.hero-card {
  position:relative; min-height:520px; border-radius:34px; overflow:hidden; box-shadow:var(--shadow);
  background: linear-gradient(145deg, #cde5dc 0%, #87b6a7 42%, #3f7c6c 100%);
  isolation:isolate;
}
.hero-card::before { content:""; position:absolute; inset:auto -10% -18% -10%; height:60%; background:#f2d6a6; border-radius:50% 50% 0 0; transform:rotate(-5deg); z-index:-1; }
.hero-card::after { content:""; position:absolute; width:65%; height:46%; left:-5%; bottom:7%; background:#214f46; clip-path: polygon(0 100%, 20% 45%, 34% 62%, 54% 17%, 68% 45%, 82% 8%, 100% 100%); opacity:.75; z-index:-1; }
.hero-badge { position:absolute; left:24px; top:24px; background:rgba(255,255,255,.9); padding:10px 14px; border-radius:999px; font-weight:800; }
.hero-stat { position:absolute; right:24px; bottom:24px; width:min(290px, calc(100% - 48px)); background:rgba(255,255,255,.92); padding:18px; border-radius:18px; }
.hero-stat strong { display:block; font-size:1.15rem; }
.hero-stat span { color:var(--muted); font-size:.92rem; }

.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; border:1px solid transparent; border-radius:14px; padding:0 18px; font-weight:800; transition:.18s ease; }
.btn:hover { transform:translateY(-1px); }
.btn-primary { background:var(--brand); color:#fff; }
.btn-primary:hover { background:var(--brand-dark); }
.btn-dark { background:var(--ink); color:#fff; }
.btn-secondary { background:#fff; border-color:var(--line); }
.btn-ghost { background:transparent; border-color:var(--line); }
.btn-block { width:100%; }

.quick-moods { display:flex; gap:8px; flex-wrap:wrap; margin-top:28px; }
.chip, .filter-chip { border:1px solid var(--line); background:rgba(255,255,255,.65); border-radius:999px; padding:9px 13px; font-weight:700; color:var(--ink); }
.chip:hover, .chip.active, .filter-chip.active { background:var(--ink); color:#fff; border-color:var(--ink); }

.ai-search { margin-top:26px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:10px; display:flex; gap:10px; box-shadow:0 12px 30px rgba(23,49,43,.06); }
.ai-search input { flex:1; border:0; outline:none; padding:0 10px; min-width:0; background:transparent; color:var(--ink); }

.section { padding:72px 0; }
.section.alt { background:#fff; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
.section-head h2 { margin:0; font-size:clamp(2rem,4vw,3.1rem); line-height:1; letter-spacing:-.045em; }
.section-head p { margin:0; color:var(--muted); max-width:620px; }

.feature-panel { display:grid; grid-template-columns:1fr 1fr; gap:20px; background:var(--ink); color:#fff; border-radius:30px; padding:30px; align-items:center; }
.feature-panel p { color:#c5d2ce; }
.feature-list { display:grid; gap:12px; }
.feature-item { display:flex; gap:12px; align-items:flex-start; background:rgba(255,255,255,.07); padding:15px; border-radius:16px; }
.feature-num { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--ink); font-weight:900; flex:0 0 auto; }

.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.stay-card { background:#fff; border:1px solid var(--line); border-radius:22px; overflow:hidden; box-shadow:0 10px 30px rgba(23,49,43,.05); }
.stay-card-media { aspect-ratio: 16 / 10; position:relative; background:linear-gradient(145deg,#dcebe5,#7da899); overflow:hidden; }
.stay-card-media img { width:100%; height:100%; object-fit:cover; }
.match-badge { position:absolute; left:14px; top:14px; background:var(--ink); color:#fff; padding:7px 10px; border-radius:999px; font-size:.82rem; font-weight:900; }
.stay-card-body { padding:18px; }
.stay-card h3 { margin:3px 0 6px; font-size:1.18rem; line-height:1.25; }
.stay-location { color:var(--muted); font-size:.93rem; }
.stay-tags { display:flex; flex-wrap:wrap; gap:7px; margin:14px 0; }
.stay-tags span { background:var(--surface-soft); padding:6px 8px; border-radius:9px; font-size:.82rem; font-weight:700; }
.stay-bottom { display:flex; justify-content:space-between; align-items:end; gap:16px; padding-top:14px; border-top:1px solid var(--line); }
.stay-price strong { font-size:1.22rem; }
.stay-price small { color:var(--muted); display:block; }

.destination-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.destination-card { position:relative; min-height:250px; border-radius:22px; overflow:hidden; padding:20px; display:flex; align-items:flex-end; color:#fff; background:linear-gradient(135deg,#1f6f5f,#17312b); }
.destination-card:nth-child(2n) { background:linear-gradient(135deg,#be7f42,#6d4a2b); }
.destination-card:nth-child(3n) { background:linear-gradient(135deg,#5d7897,#26405c); }
.destination-card::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 25%, rgba(0,0,0,.55)); }
.destination-card > div { position:relative; z-index:1; }
.destination-card h3 { margin:0 0 4px; font-size:1.4rem; }
.destination-card span { opacity:.88; }

.cta-box { background:linear-gradient(120deg,#e8a75d,#f3cc96); border-radius:30px; padding:36px; display:grid; grid-template-columns:1.4fr .6fr; gap:30px; align-items:center; }
.cta-box h2 { font-size:clamp(2rem,4vw,3.2rem); line-height:1; margin:0 0 12px; letter-spacing:-.04em; }
.cta-box p { margin:0; max-width:650px; }

.site-footer { background:var(--ink); color:#fff; padding:56px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:30px; }
.footer-grid h4 { margin:0 0 14px; }
.footer-grid a { display:block; color:#cad6d2; padding:4px 0; }
.footer-bottom { margin-top:36px; padding-top:22px; border-top:1px solid rgba(255,255,255,.14); display:flex; justify-content:space-between; color:#aebfba; font-size:.9rem; gap:20px; }

/* Wizard */
.wizard-backdrop { position:fixed; inset:0; z-index:100; background:rgba(8,22,18,.72); display:none; padding:18px; overflow:auto; }
.wizard-backdrop.open { display:grid; place-items:center; }
.wizard { width:min(760px,100%); background:#fff; border-radius:28px; padding:24px; box-shadow:0 30px 80px rgba(0,0,0,.25); }
.wizard-top { display:flex; justify-content:space-between; gap:18px; align-items:center; }
.wizard-top button { width:42px; height:42px; border:1px solid var(--line); background:#fff; border-radius:12px; font-size:1.5rem; }
.progress { height:8px; background:#edf1ee; border-radius:999px; overflow:hidden; margin:18px 0 28px; }
.progress > span { display:block; height:100%; width:16.66%; background:var(--brand); border-radius:inherit; transition:width .2s ease; }
.wizard-step { display:none; }
.wizard-step.active { display:block; }
.wizard-step h2 { margin:0 0 8px; font-size:2rem; letter-spacing:-.04em; }
.wizard-step p { margin:0 0 22px; color:var(--muted); }
.choice-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.choice { border:1px solid var(--line); border-radius:16px; padding:16px; background:#fff; text-align:left; font-weight:800; min-height:62px; }
.choice:hover, .choice.selected { border-color:var(--brand); background:var(--surface-soft); box-shadow:inset 0 0 0 1px var(--brand); }
.wizard-actions { display:flex; justify-content:space-between; gap:12px; margin-top:28px; }
.wizard-actions .right { display:flex; gap:10px; margin-left:auto; }

/* Results */
.page-hero { padding:48px 0 22px; }
.page-hero h1 { font-size:clamp(2.5rem,6vw,5rem); letter-spacing:-.055em; line-height:.95; margin:0 0 14px; }
.page-hero p { color:var(--muted); max-width:720px; margin:0; }
.results-layout { display:grid; grid-template-columns:280px 1fr; gap:28px; align-items:start; }
.filters { background:#fff; border:1px solid var(--line); border-radius:22px; padding:20px; position:sticky; top:94px; }
.filter-group { padding:16px 0; border-bottom:1px solid var(--line); }
.filter-group:first-child { padding-top:0; }
.filter-group:last-child { border-bottom:0; padding-bottom:0; }
.filter-group h3 { margin:0 0 10px; font-size:1rem; }
.filter-group label { display:flex; align-items:center; gap:8px; margin:8px 0; color:var(--muted); }
.filter-group select, .filter-group input[type="range"] { width:100%; }
.results-toolbar { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:16px; }
.results-toolbar select { min-height:44px; border:1px solid var(--line); border-radius:12px; background:#fff; padding:0 12px; }
.results-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.empty-state { background:#fff; border:1px solid var(--line); border-radius:22px; padding:34px; text-align:center; }

/* Detail */
.detail-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:28px; }
.gallery-main { aspect-ratio:16/10; border-radius:26px; background:linear-gradient(135deg,#d9e7e1,#7ca594); overflow:hidden; }
.gallery-main img { width:100%; height:100%; object-fit:cover; }
.detail-card { background:#fff; border:1px solid var(--line); border-radius:22px; padding:22px; }
.detail-card.sticky { position:sticky; top:94px; }
.kpi-row { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0; }
.kpi { background:var(--surface-soft); padding:14px; border-radius:14px; }
.kpi small { display:block; color:var(--muted); }
.amenities { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.amenity { padding:12px; border:1px solid var(--line); border-radius:12px; }

.prose { max-width:780px; }
.prose h2 { margin-top:32px; font-size:2rem; letter-spacing:-.035em; }
.prose p { color:#44554f; }

.notice { background:#fff7e9; border:1px solid #efd8b1; border-radius:14px; padding:14px 16px; color:#6d532f; }

@media (max-width: 980px) {
  .nav { display:none; position:absolute; left:16px; right:16px; top:68px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:10px; box-shadow:var(--shadow); flex-direction:column; align-items:stretch; }
  .nav.open { display:flex; }
  .mobile-toggle { display:grid; place-items:center; }
  .hero-grid, .feature-panel, .cta-box, .detail-grid { grid-template-columns:1fr; }
  .hero-card { min-height:380px; }
  .card-grid { grid-template-columns:repeat(2,1fr); }
  .destination-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .results-layout { grid-template-columns:1fr; }
  .filters { position:static; }
}

@media (max-width: 640px) {
  .container { width:min(calc(100% - 22px),var(--container)); }
  .hero { padding-top:42px; }
  .hero h1 { font-size:3.4rem; }
  .hero-actions, .ai-search { flex-direction:column; align-items:stretch; }
  .ai-search input { min-height:46px; }
  .section { padding:52px 0; }
  .section-head { align-items:start; flex-direction:column; }
  .card-grid, .results-grid, .destination-grid, .choice-grid, .amenities { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .wizard { border-radius:22px; padding:18px; }
  .wizard-step h2 { font-size:1.65rem; }
  .results-toolbar { align-items:stretch; flex-direction:column; }
  .detail-card.sticky { position:static; }
  .kpi-row { grid-template-columns:1fr; }
}
