:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --ink: #1f2a2e;
  --muted: #5d6a6e;
  --line: #e7e0d3;
  --sea: #145e7a;
  --sea-dark: #0e4659;
  --lemon: #f2c94c;
  --terra: #c8643b;
  --off: #ece7dd;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 650; line-height: 1.15; }
h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
a { color: var(--sea); }

.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; background: rgba(251,248,242,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { font-family: Fraunces, serif; font-weight: 650; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand span { color: var(--muted); font-weight: 500; }
.topbar nav { display: flex; align-items: center; gap: 14px; }
.topbar nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.btn-small { background: var(--sea); color: #fff !important; padding: 6px 14px; border-radius: 99px; }
.lang { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 4px 10px; cursor: pointer; font: inherit; font-size: .85rem; }

.hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; background-color: var(--sea); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.6)); }
.hero-text { position: relative; padding: 48px 16px; max-width: 760px; margin: 0 auto 0 max(16px, calc((100vw - 1160px) / 2)); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: .2em 0 .4em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin: 0; opacity: .9; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.badges > span { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); padding: 4px 12px; border-radius: 99px; font-size: .9rem; }

.btn { display: inline-block; background: var(--lemon); color: var(--ink); font-weight: 600; text-decoration: none; border: 0;
  padding: 12px 22px; border-radius: 99px; cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { filter: brightness(.96); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-block { width: 100%; margin-top: 8px; }

.layout { max-width: 1160px; margin: 0 auto; padding: 24px 16px 48px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 960px) { .layout { grid-template-columns: 1fr 400px; } .booking { position: sticky; top: 76px; align-self: start; } }

.facts { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; background: var(--off); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.amenities, .rules { padding-left: 1.1em; }
.amenities { columns: 2; column-gap: 28px; }
@media (max-width: 560px) { .amenities { columns: 1; } }
.amenities li, .rules li { margin: 4px 0; }
.link { font-weight: 600; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 30px rgba(31,42,46,.06); }
.price-line { font-size: 1.05rem; margin-bottom: 10px; }
.price-line b { font-size: 1.5rem; font-family: Fraunces, serif; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 8px; font-weight: 600; text-transform: capitalize; }
.cal-head button { border: 1px solid var(--line); background: var(--surface); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 1.1rem; }
.cal-head button:disabled { opacity: .35; cursor: default; }
.calendars { display: grid; grid-template-columns: 1fr; gap: 14px; }
.month h3 { font: 600 .95rem Inter, sans-serif; margin: 0 0 6px; text-transform: capitalize; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .9rem; }
.grid .dow { color: var(--muted); font-size: .75rem; padding: 4px 0; }
.day { border: 0; background: none; padding: 0; height: 38px; border-radius: 8px; cursor: pointer; font: inherit; color: var(--ink); }
.day:hover:not(:disabled) { outline: 2px solid var(--sea); }
.day:disabled { color: #aaa; background: var(--off); text-decoration: line-through; cursor: not-allowed; }
.day.past:disabled { background: none; text-decoration: none; }
.day.in-range { background: #d9ecf2; border-radius: 0; }
.day.start, .day.end { background: var(--sea); color: #fff; }
.day.co-only { color: var(--ink); background: repeating-linear-gradient(135deg, var(--off) 0 4px, #fff 4px 8px); text-decoration: none; }
.legend { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin: 8px 0 12px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw-sel { background: var(--sea); } .sw-off { background: var(--off); margin-left: 8px; }

.sel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sel div { padding: 8px 12px; } .sel div + div { border-left: 1px solid var(--line); }
.sel small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.field { display: block; margin-top: 10px; font-size: .9rem; }
.field span { display: block; margin-bottom: 4px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; margin-top: 12px; }
.hint { font-size: .9rem; color: var(--muted); }
.summary { margin: 12px 0 4px; font-size: .95rem; }
.summary .row { display: flex; justify-content: space-between; padding: 3px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 600; font-size: 1.05rem; }
.secure { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.error { color: #a12a14; background: #fbe9e4; padding: 8px 10px; border-radius: 8px; font-size: .9rem; }
.hp { position: absolute; left: -9999px; }

.footer { border-top: 1px solid var(--line); text-align: center; padding: 24px 16px; color: var(--muted); font-size: .9rem; }
.page { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }

@media (max-width: 640px) { .topbar nav a:not(.btn-small) { display: none; } .brand span { display: none; } }
