:root {
  --cream: #FAF5EC;
  --cream-2: #F3EAD9;
  --ink: #22303A;
  --ink-soft: #4A5A66;
  --terra: #C2703D;
  --terra-dark: #A55A2C;
  --gold: #D9A441;
  --sage: #7D8C6F;
  --white: #FFFFFF;
  --line: #E7DCC6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 48, 58, 0.10);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; }

a { color: var(--terra-dark); }
a:hover { color: var(--terra); }

.sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terra); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.brand-text { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.brand-text em { font-style: italic; color: var(--terra-dark); }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 560px) { .header-tag { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--terra); color: var(--white);
  border: 1px solid var(--terra); border-radius: 999px;
  padding: 12px 26px; font-weight: 600; font-size: 15px; font-family: var(--font-body);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: var(--white); transform: translateY(-1px); }
.btn-large { padding: 15px 34px; font-size: 16px; }
.btn-small { padding: 8px 18px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero.webp") center/cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 28, 34, 0.78) 0%, rgba(20, 28, 34, 0.45) 55%, rgba(20, 28, 34, 0.15) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 110px 24px 90px; max-width: 1120px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(44px, 7vw, 84px); margin-bottom: 20px; }
.lede { font-size: 18px; max-width: 560px; opacity: 0.94; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.hero-cta .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-note { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--cream-2); }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.muted { color: var(--ink-soft); }
.fineprint { font-size: 13px; color: var(--ink-soft); margin-top: 18px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  margin-bottom: 14px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.gate-card { max-width: 640px; margin: 0 auto; text-align: center; }
.gate-card .section-title { margin-bottom: 10px; }
.gate-form { display: flex; gap: 12px; margin-top: 24px; }
.gate-form input {
  flex: 1; padding: 15px 18px; font-size: 16px; font-family: var(--font-body);
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream);
  color: var(--ink); outline: none;
}
.gate-form input:focus { border-color: var(--terra); background: var(--white); }
@media (max-width: 560px) { .gate-form { flex-direction: column; } }
.form-error {
  color: #B3402E; background: #FBEDE8; border: 1px solid #EFC5B8;
  border-radius: 10px; padding: 12px 16px; margin-top: 16px; font-size: 14px;
}
.hint { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- booker ---------- */
.booker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dates-card { padding: 24px 28px; margin-bottom: 26px; }
.date-fields { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input[type="date"] {
  padding: 12px 14px; font-size: 16px; font-family: var(--font-body);
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink);
}
.field input[type="date"]:focus { border-color: var(--terra); outline: none; }
.nights-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.nights-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; }

/* ---------- rooms ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rooms { grid-template-columns: 1fr; } }
.room {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.room-img { height: 180px; background-size: cover; background-position: center; }
.room-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 21px; margin-bottom: 4px; }
.room-spec { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.room-price { margin-top: auto; }
.room-price .per-night { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.room-price .per-night small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.room-total { font-size: 14px; color: var(--ink-soft); margin: 2px 0 10px; }
.avail {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.avail.ok { background: #E7F2E4; color: #3E7A3A; }
.avail.low { background: #FBF0DC; color: #9A6B1E; }
.avail.out { background: #F3E3DE; color: #A04432; }
.room.soldout { opacity: 0.75; }
.room .btn { width: 100%; text-align: center; }
.room .btn[disabled] { background: var(--line); border-color: var(--line); color: var(--ink-soft); cursor: not-allowed; transform: none; }

/* ---------- confirm ---------- */
.confirm-card { max-width: 640px; margin: 26px auto 0; text-align: center; }
.lock-code {
  margin: 22px auto; display: inline-block;
  border: 2px dashed var(--terra); border-radius: var(--radius);
  padding: 18px 42px; background: var(--cream);
}
.lock-code-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.lock-code-value { font-family: var(--font-display); font-size: 38px; font-weight: 700; letter-spacing: 0.04em; }
.confirm-note {
  margin: 18px auto; max-width: 480px; font-size: 15px; line-height: 1.5;
  border: 2px dashed var(--terra); border-radius: var(--radius);
  padding: 14px 22px; background: var(--cream);
}
.summary { text-align: left; margin: 10px 0 20px; border-top: 1px solid var(--line); }
.summary > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.summary dt { color: var(--ink-soft); }
.summary dd { font-weight: 600; text-align: right; }
.confirm-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }

/* ---------- perks ---------- */
.perks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; margin-top: 30px; align-items: stretch; }
.perk-img {
  border-radius: var(--radius); min-height: 280px;
  background: url("images/pool.webp") center/cover no-repeat;
  box-shadow: var(--shadow);
}
.perk-img-2 { background-image: url("images/bistro.webp"); }
.perk-list {
  list-style: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  font-size: 16px;
}
.perk-list li { padding-left: 28px; position: relative; }
.perk-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--terra); font-weight: 700;
}
@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } .perk-img { min-height: 220px; } }

/* ---------- faq ---------- */
.faq {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px;
}
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; font-family: var(--font-display); }
.faq p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- price comparison ---------- */
.price-compare { margin: 12px 0 4px; border-top: 1px dashed var(--line); padding-top: 10px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-soft); padding: 2px 0; }
.price-row.market s { color: var(--ink-soft); }
.price-row.yours { font-size: 20px; font-weight: 800; color: var(--ink); padding-top: 4px; }
.price-row.yours small { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.total-save { font-size: 16px; font-weight: 800; color: #2f6b3a; margin: 2px 0 10px; }
.save-badge {
  display: inline-block; margin: 8px 0 4px; font-size: 12.5px; font-weight: 700;
  color: #2f6b3a; background: #e6f2e8; border-radius: 999px; padding: 4px 12px;
}
.summary > div.grand { font-size: 17px; }
.summary > div.grand dd { color: var(--terra-dark); font-weight: 800; }
.summary > div.save dd { color: #2f6b3a; font-weight: 700; }
.c-note { font-weight: 400; font-size: 12.5px; }

/* ---------- hotel picker ---------- */
.picker-card { max-width: 880px; margin: 0 auto; text-align: center; }
.hotel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
@media (max-width: 640px) { .hotel-grid { grid-template-columns: 1fr; } }
.hotel-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--cream); cursor: pointer; padding: 0; text-align: left;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hotel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hotel-card-img { height: 150px; background-size: cover; background-position: center; display: block; }
.hotel-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.hotel-card-name { font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.hotel-card-blurb { font-size: 14px; color: var(--ink-soft); }
.hotel-card-cta { font-size: 14px; font-weight: 700; color: var(--terra-dark); margin-top: 6px; }
.demo-badge {
  display: inline-block; font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: var(--white); border-radius: 999px; padding: 3px 10px;
  vertical-align: middle; margin-left: 6px;
}
.linklike {
  background: none; border: none; padding: 0; margin-bottom: 14px;
  color: var(--terra-dark); font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body);
}
.linklike:hover { color: var(--terra); }
.booker-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 560px) { .booker-actions { flex-direction: column; } }
.footer-brand em { font-style: italic; color: var(--gold); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D8DFE4; padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.site-footer .muted { color: #9DABB5; }
.site-footer a { color: var(--gold); }
.site-footer .fineprint { color: #7E8C96; margin-top: 0; max-width: 380px; }
