:root {
  --ink: #1f2b27;
  --muted: #5d6b65;
  --bg: #faf7f1;
  --card: #ffffff;
  --line: #e6e0d4;
  --green: #2f4d42;
  --green-2: #3f6656;
  --sand: #f1eadc;
  --full: #e9e4da;
  --sel: #2f4d42;
  --range: #dfe9e3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 43, 39, .06), 0 8px 24px rgba(31, 43, 39, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .6rem; }
h3 { font-size: 1.3rem; margin: 0 0 .3rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: 4rem 0 1rem; }
.muted { color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.5rem; height: 60px; }
.brand { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 600; text-decoration: none; color: var(--green); margin: 0; }
.brand span { font-weight: 400; color: var(--muted); }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem 1.25rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .97rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-2); }
.btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn.line { background: var(--card); color: var(--green); border-color: var(--line); }
.btn.line:hover { border-color: var(--green); }

/* Hero */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 30, 26, .62) 0%, rgba(20, 30, 26, .28) 55%, rgba(20, 30, 26, 0) 80%), linear-gradient(180deg, rgba(20, 30, 26, 0) 35%, rgba(20, 30, 26, .55) 100%); }
.hero-in { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero-in { position: relative; padding: 3rem 0 2.6rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; opacity: .9; margin: 0 0 .6rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 0 0 .8rem; max-width: 16ch; }
.lead { max-width: 56ch; font-size: 1.07rem; opacity: .95; margin: 0 0 1.4rem; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.badge { background: rgba(255, 255, 255, .92); color: var(--ink); text-decoration: none; border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; }

/* Features */
.features ul { list-style: none; padding: 0; margin: -1.6rem 0 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.features li { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .15rem; border-left: 1px solid var(--line); }
.features li:first-child { border-left: 0; }
.features b { font-size: .95rem; color: var(--green); }
.features span { font-size: .88rem; color: var(--muted); }

/* Rooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.2rem; }
.room { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; background: var(--sand); }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.room-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.room-body p { margin: .2rem 0; color: var(--muted); }
.room-body .specs { color: var(--green); font-weight: 600; font-size: .95rem; }
.room-body .price { color: var(--ink); margin: .7rem 0 1rem; margin-top: auto; padding-top: .8rem; }
.room-body .price b { font-size: 1.35rem; }
.room-body .btn { align-self: flex-start; }
.gwrap { position: relative; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity .15s; }
.g-prev { left: 10px; } .g-next { right: 10px; }
.gwrap:hover .g-nav, .g-nav:focus-visible { opacity: 1; }
@media (hover: none) { .g-nav { display: none; } }
.dots { display: flex; gap: 5px; justify-content: center; position: absolute; left: 0; right: 0; bottom: 10px; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.dots i.on { background: #fff; }
.note { color: var(--muted); font-size: .92rem; margin-top: 1rem; }

/* Booking */
.book-wrap { background: var(--sand); padding-bottom: 4rem; margin-top: 3rem; }
.sub { color: var(--muted); margin: 0 0 1.5rem; }
.book { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; align-items: start; }
.book-left, .book-right { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 1rem; }
.seg button { border: 0; background: transparent; padding: .55rem; border-radius: 999px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--green); color: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.cal-hint { font-weight: 600; color: var(--green); font-size: .95rem; text-align: center; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.month h4 { margin: .2rem 0 .5rem; text-align: center; font-size: 1rem; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.grid .dow { font-size: .72rem; color: var(--muted); text-align: center; padding: .2rem 0; }
.day { aspect-ratio: 1; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: .92rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 0; }
.day small { font-size: .6rem; color: var(--muted); }
.day:hover:not(:disabled) { background: var(--range); }
.day:disabled { color: #b9b2a5; cursor: default; }
.day.full { color: #a59e91; text-decoration: line-through; background: var(--full); }
.day.full:disabled { background: var(--full); }
.day.in-range { background: var(--range); border-radius: 0; }
.day.start, .day.end { background: var(--sel); color: #fff; }
.day.start small, .day.end small { color: #dfe9e3; }
.day.today { box-shadow: inset 0 0 0 1px var(--line); }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.legend > span { display: inline-flex; align-items: center; gap: .35rem; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.lg.free { background: #fff; } .lg.full { background: var(--full); } .lg.sel { background: var(--sel); border-color: var(--sel); }
.cal-status { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; min-height: 1.2em; }
.book-right { display: flex; flex-direction: column; gap: .8rem; }
.book-right label { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; color: var(--muted); }
.book-right input, .book-right select, .book-right textarea { font: inherit; color: var(--ink); padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.book-right input:focus, .book-right select:focus, .book-right textarea:focus { outline: 2px solid var(--range); border-color: var(--green); }
.summary { background: var(--bg); border-radius: 10px; padding: .9rem 1rem; }
.summary p { margin: 0; }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.summary .total { font-weight: 700; font-size: 1.05rem; margin-top: .4rem; padding-top: .4rem; border-top: 1px dashed var(--line); }
.summary .ok { color: #2e7d4f; font-weight: 600; margin-bottom: .3rem; }
.summary .bad { color: #a4442f; font-weight: 600; margin-bottom: .3rem; }
.send { display: flex; flex-direction: column; gap: .5rem; }
.fine { font-size: .8rem; color: var(--muted); margin: 0; }

/* Monthly */
.monthly { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.monthly p { color: var(--muted); max-width: 62ch; margin: 0; }
.monthly .btn { flex: none; }

/* Location */
.loc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.addr { font-weight: 600; margin: 0 0 .4rem; }
.loc p { color: var(--muted); }
.dist { list-style: none; padding: 0; margin: 1rem 0 1.3rem; }
.dist li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand); }

/* Rules */
.rules ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.rules li { background: var(--card); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .2rem; }
.rules b { color: var(--green); font-size: .92rem; }
.rules span { color: var(--muted); font-size: .92rem; }

/* Footer */
.foot { margin-top: 4rem; background: var(--green); color: #e8efe9; padding: 2.4rem 0 5.5rem; }
.foot .brand { color: #fff; }
.foot .brand span { color: #b9cbc1; }
.foot p { margin: .3rem 0; font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-links { display: flex; gap: 1.2rem; align-items: center; }
.foot-links a { color: #fff; }

/* Mobile action bar */
.bar { display: none; }

/* Lightbox */
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog#lightbox::backdrop { background: rgba(10, 14, 12, .9); }
dialog#lightbox img { max-width: 92vw; max-height: 88vh; margin: auto; position: absolute; inset: 0; object-fit: contain; border-radius: 6px; }
.lb-close, .lb-nav { position: absolute; z-index: 1; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; font-size: .92rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: 90vw; text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .features ul { grid-template-columns: 1fr 1fr; }
  .features li { border-left: 0; border-top: 1px solid var(--line); }
  .features li:nth-child(-n+2) { border-top: 0; }
  .features li:nth-child(2n) { border-left: 1px solid var(--line); }
  .rooms, .book, .loc { grid-template-columns: 1fr; }
  .rules ul { grid-template-columns: 1fr 1fr; }
  .monthly { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--line); padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; }
  .bar a { text-align: center; text-decoration: none; padding: .7rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; color: var(--green); }
  .bar a.hl { background: var(--green); color: #fff; border-color: var(--green); }
}
@media (max-width: 560px) {
  .cal { grid-template-columns: 1fr; }
  .cal .month:nth-child(2) { display: none; }
  .hero { min-height: 72vh; }
  .rules ul { grid-template-columns: 1fr; }
  .section { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
