:root {
  --olive: #5a5a2d;
  --olive-deep: #3d3d1c;
  --olive-soft: #e9e7d6;
  --sand: #f4f0e4;
  --cream: #fbf9f3;
  --ink: #23231a;
  --muted: #66655a;
  --terra: #b9553a;
  --line: rgba(35, 35, 26, .12);
  --wa: #1f9d55;
  --r: 20px;
  --shadow: 0 18px 50px -24px rgba(35, 35, 26, .45);
  --head: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); max-width: 14ch; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 18ch; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font: 600 .78rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.sub { color: var(--muted); max-width: 56ch; font-size: 1.06rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--olive); background: var(--olive); color: #fff; font: 600 1rem/1 var(--head); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-light { background: #fff; border-color: #fff; color: var(--olive-deep); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.btn-outline { background: transparent; color: var(--olive); }
.btn-outline:hover { color: #fff; }
.btn-wa { background: var(--wa); border-color: var(--wa); width: 100%; padding: 16px; }
.btn-wa:hover { background: #17824a; border-color: #17824a; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; color: #fff; }
.nav.is-solid { background: rgba(251, 249, 243, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; border-radius: 10px; transition: opacity .2s; }
.brand:hover { opacity: .8; }
.brand-mark { width: 40px; height: auto; filter: brightness(0) invert(1); transition: filter .3s; }
.nav.is-solid .brand-mark { filter: none; }
.brand-name { font: 500 1.28rem/1 var(--head); letter-spacing: -.01em; }
.brand-name b { font-weight: 700; }
.links { display: flex; align-items: center; gap: 26px; }
.links a:not(.btn) { text-decoration: none; font-weight: 500; opacity: .9; position: relative; }
.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.links a:not(.btn):hover::after { transform: scaleX(1); }
.nav:not(.is-solid) .links .btn { background: #fff; color: var(--olive-deep); border-color: #fff; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1.5px solid currentColor; background: none; cursor: pointer; font: 600 .78rem/1 var(--head); opacity: .9; }
.lang span { padding: 6px 9px; border-radius: 999px; }
.lang .is-on { background: #fff; color: var(--olive-deep); }
.nav.is-solid .lang .is-on, .nav.menu-open .lang .is-on { background: var(--olive); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s, top .25s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: drift 22s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 25, 12, .55) 0%, rgba(25, 25, 12, .2) 55%, rgba(25, 25, 12, 0) 80%), linear-gradient(180deg, rgba(20, 20, 10, .45) 0%, rgba(20, 20, 10, 0) 26%, rgba(20, 20, 10, .15) 50%, rgba(25, 25, 12, .8) 100%); }
.hero-in { position: relative; padding: 140px 0 clamp(56px, 9vh, 96px); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40ch; opacity: .94; }
.preview-pill { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--terra); font: 600 .75rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }

/* facts */
.facts { background: var(--olive); color: #fff; }
.facts-in { list-style: none; margin-block: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 26px; }
.facts li { display: flex; align-items: center; gap: 10px; font: 500 1rem/1.2 var(--head); }
.facts svg { width: 24px; height: 24px; fill: none; stroke: #d9d6b8; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.head { margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4 / 3.4; width: 100%; height: auto; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.story { background: var(--sand); padding: clamp(64px, 9vw, 110px) 0; }
.story-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; box-shadow: var(--shadow); }
.story-text p { color: var(--muted); font-size: 1.06rem; max-width: 46ch; }
.hosted { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; background: #fff; border-radius: 14px; color: var(--ink) !important; font-size: .98rem !important; border-left: 3px solid var(--terra); }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1.5px solid var(--line); background: #fff; padding: 9px 16px; border-radius: 999px; cursor: pointer; font: 500 .94rem/1 var(--head); transition: all .2s; }
.chip:hover { border-color: var(--olive); }
.chip.is-on { background: var(--olive); border-color: var(--olive); color: #fff; }
.grid { columns: 3 300px; column-gap: 14px; }
.g-item { margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--olive-soft); }
.g-item[hidden] { display: none; }
.g-item button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.g-item img { width: 100%; height: auto; transition: transform .5s, opacity .4s; }
.g-item:hover img { transform: scale(1.04); }

/* book */
.book { background: var(--olive-deep); color: #fff; position: relative; overflow: hidden; }
.book::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -180px; background: url("../img/mark-white.png") center / contain no-repeat; opacity: .05; }
.book-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.book-text p { opacity: .85; font-size: 1.08rem; max-width: 40ch; }
.rates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 0; max-width: 460px; }
.rates div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.rates dt { font: 500 .85rem/1.2 var(--head); opacity: .75; margin-bottom: 6px; }
.rates dd { margin: 0; font: 600 1.3rem/1.1 var(--head); }
.rates small { font-size: .8rem; font-weight: 500; opacity: .75; }
.contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 1.06rem/1 var(--head); opacity: .92; }
.contact a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.contact svg { width: 22px; height: 22px; fill: none; stroke: #d9d6b8; stroke-width: 1.8; stroke-linejoin: round; }
.form { background: var(--cream); color: var(--ink); border-radius: 24px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font: 500 .9rem/1.2 var(--head); color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 1rem; color: var(--ink); transition: border-color .2s; min-height: 50px; }
.form textarea { resize: vertical; min-height: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(90, 90, 45, .15); }
.nights { margin: 0; font: 600 .95rem/1 var(--head); color: var(--olive); min-height: 1em; }
.err { margin: 0; color: #a3321b; font-size: .92rem; min-height: 0; }
.err:empty, .nights:empty { display: none; }

/* location */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.loc-img { border-radius: var(--r); width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.foot-in { display: grid; justify-items: center; gap: 14px; }
.foot-brand { border-radius: 12px; transition: opacity .2s; }
.foot-brand:hover { opacity: .8; }
.foot-brand img { width: 120px; height: auto; }
.tag { font: 500 1.1rem/1 var(--head); color: #fff; margin: 4px 0 6px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.foot-links a { text-decoration: none; }
.foot-links a:hover, .small a:hover { color: #fff; text-decoration: underline; }
.small { font-size: .85rem; opacity: .7; margin: 10px 0 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 15, 8, .94); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 10px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }

/* chat */
.chat-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 9px; padding: 14px 20px 14px 16px; border-radius: 999px; border: 0; background: var(--olive); color: #fff; font: 600 1rem/1 var(--head); cursor: pointer; box-shadow: 0 14px 34px -10px rgba(35, 35, 26, .6); transition: transform .2s, opacity .2s; }
.chat-fab:hover { transform: translateY(-2px); background: var(--olive-deep); }
.chat-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chat-fab.is-hidden { opacity: 0; pointer-events: none; transform: scale(.9); }
.chat { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100svh - 110px)); display: flex; flex-direction: column; background: var(--cream); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(20, 20, 10, .55); transform-origin: bottom right; animation: pop .22s ease-out; }
.chat[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--olive); color: #fff; }
.chat-head img { width: 34px; height: auto; }
.chat-head div { display: grid; line-height: 1.25; margin-right: auto; }
.chat-head strong { font: 600 1.05rem/1.2 var(--head); }
.chat-head span { font-size: .82rem; opacity: .82; }
.chat-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat-x:hover { background: rgba(255, 255, 255, .25); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: .97rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: pop .18s ease-out; }
.msg.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 1px 0 var(--line); }
.msg.me { align-self: flex-end; background: var(--olive); color: #fff; border-bottom-right-radius: 6px; }
.msg .btn-wa { margin-top: 10px; padding: 11px 14px; font-size: .92rem; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); opacity: .4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.chat-chips { display: flex; gap: 8px; padding: 4px 14px 10px; overflow-x: auto; scrollbar-width: none; }
.chat-chips[hidden] { display: none; }
.chat-chips button { flex: none; border: 1.5px solid var(--olive); background: #fff; color: var(--olive-deep); border-radius: 999px; padding: 8px 13px; font: 500 .88rem/1 var(--head); cursor: pointer; }
.chat-chips button:hover { background: var(--olive); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; font-size: 1rem; background: var(--cream); }
.chat-form input:focus { outline: none; border-color: var(--olive); }
.chat-form button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--olive); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-form button:disabled { opacity: .5; cursor: default; }
.chat-form svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .links { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--cream); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s; }
  .links.is-open { transform: none; opacity: 1; visibility: visible; }
  .links a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .links a:not(.btn)::after { display: none; }
  .links .btn { margin-top: 16px; background: var(--olive) !important; color: #fff !important; border-color: var(--olive) !important; padding: 15px; }
  .nav.menu-open { background: var(--cream); color: var(--ink); }
  .nav.menu-open .brand-mark { filter: none; }
  .story-in, .book-in, .loc { grid-template-columns: 1fr; }
  .loc-img { order: -1; }
  .facts-in { justify-content: flex-start; }
  .facts li { flex: 1 1 40%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 14px 14px 18px; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: .88rem; }
  .grid { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; border-radius: 10px; }
  .form .row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-in { padding-bottom: 92px; }
  .cta .btn { flex: 1 1 auto; }
  .chat { right: 0; bottom: 0; width: 100vw; height: 100svh; border-radius: 0; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; }
}
