/* Chambe House. Mobile-first, no frameworks, no external fonts or files. */
:root {
  --forest: #1f4d3a;
  --forest-deep: #153828;
  --leaf: #2f6f4f;
  --wa: #168a4a;
  --earth: #b5532b;
  --sand: #f6f1e7;
  --paper: #fffdf8;
  --ink: #1f2420;
  --muted: #5b625c;
  --line: #e3dccb;
  --shadow: 0 1px 2px rgba(31, 36, 32, .06), 0 6px 18px rgba(31, 36, 32, .08);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 18px/1.6 var(--sans);
  color: var(--ink);
  background: var(--sand);
  padding-bottom: 76px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--earth); outline-offset: 2px;
}
[hidden] { display: none !important; }

/* Hero */
.hero { position: relative; background: var(--forest-deep); color: #fff; overflow: hidden; }
.hero img {
  width: 100%; height: 78vh; min-height: 440px; max-height: 680px;
  object-fit: cover; opacity: 1;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 20, .35) 0%, rgba(10, 30, 20, .25) 35%, rgba(10, 30, 20, .88) 100%);
}
.hero-text {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 20px 20px 32px;
  max-width: 900px; margin: 0 auto;
}
.hero h1 {
  margin: 0 0 6px; font: 700 2.5rem/1.05 var(--serif); letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.hero .slogan {
  margin: 0 0 12px; font: italic 1.2rem/1.3 var(--serif); color: #f3d9a4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.hero p { margin: 0 0 20px; font-size: 1.05rem; max-width: 36em; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 1.05rem;
  padding: 15px 24px; border-radius: 999px; min-height: 52px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 14px rgba(22, 138, 74, .35); }
.btn-wa:hover { background: #12733d; }
.btn-big { display: block; width: 100%; max-width: 420px; margin: 18px auto; font-size: 1.2rem; padding: 18px 22px; }
.btn-alt { background: #fff; color: var(--forest); border: 2px solid var(--forest) !important; }
.btn-alt:hover { background: #eef4ef; }

/* Sections */
main { max-width: 960px; margin: 0 auto; }
section { padding: 44px 20px; }
section + section { border-top: 1px solid var(--line); }
h2 { margin: 0 0 8px; font: 700 1.9rem/1.15 var(--serif); color: var(--forest); }
h2::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--earth); margin-top: 10px; }
h3 { margin: 0 0 6px; font: 700 1.2rem/1.25 var(--serif); }
.note { color: var(--muted); margin: 14px 0 20px; }
ul { padding-left: 1.2em; margin: 8px 0; }
li { margin-bottom: 6px; }

/* Cards (tours and rooms) */
.cards { display: grid; gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; padding-bottom: 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card h3, .card p { padding: 0 18px; margin-top: 12px; margin-bottom: 0; }
.card h3 { margin-top: 16px; }
.price { font-weight: 700; color: var(--earth); font-size: 1.15rem; }
.card .price { font-family: var(--serif); font-size: 1.25rem; }
.avail { margin-top: 10px !important; }
.badge { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.badge.ok { background: #dff0e5; color: #1a5a37; }
.badge.warn { background: #fdf0d2; color: #7a5200; }
.badge.no { background: #f6dcdc; color: #8a1f1f; }
.avail-note { color: var(--muted); font-size: .95rem; }
.card-btn { display: block; margin: auto 18px 0; font-size: 1rem; padding: 12px 16px; min-height: 48px; }
.card .avail + .card-btn { margin-top: 16px; }

/* Package */
#packages { background: var(--forest); color: #fff; border-top: 0; }
#packages h2 { color: #fff; }
#packages .note { color: #d6e6dc; }
#packages .price { color: #f3d9a4; font: 700 1.5rem/1.2 var(--serif); }
#packages a { color: #f3d9a4; }
.trust { list-style: none; padding: 0; }
.trust li { padding-left: 1.6em; position: relative; }
.trust li::before { content: "\2713"; position: absolute; left: 0; color: var(--earth); font-weight: 700; }
#packages .trust li::before { color: #f3d9a4; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* About */
.about { display: grid; gap: 18px; margin-bottom: 12px; }
.about img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow); }
blockquote {
  margin: 14px 0; padding: 14px 18px; background: var(--paper);
  border-left: 5px solid var(--earth); border-radius: 10px;
  font: italic 1.05rem/1.5 var(--serif); box-shadow: var(--shadow);
}

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
@media (max-width: 699px) { .gallery img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* Location, rules */
#location-directions, #rules-list { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 2.2em; }
.link { font-weight: 700; }

/* Contact */
.contact { text-align: center; background: linear-gradient(180deg, #efe6d2, var(--sand)); }
.contact h2::after { margin-left: auto; margin-right: auto; }
.details { font-size: 1.15rem; }
.form { text-align: left; max-width: 480px; margin: 12px auto 0; display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 13px; border: 1px solid #bdb59f; border-radius: 12px; background: #fff; width: 100%;
}
.form .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }

footer { text-align: center; padding: 28px 16px; color: #d6e6dc; background: var(--forest-deep); font-size: .9rem; }

/* Sticky WhatsApp bar (phones) */
.sticky-wa {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 18px; min-height: 52px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

/* Wider screens */
@media (min-width: 700px) {
  body { padding-bottom: 0; }
  .sticky-wa { display: none; }
  .hero h1 { font-size: 3.6rem; }
  .hero .slogan { font-size: 1.5rem; }
  section { padding: 64px 28px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .about { grid-template-columns: 180px 1fr; align-items: start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  #stay .cards { grid-template-columns: repeat(3, 1fr); }
  .card:hover { transform: translateY(-3px); }
  .card { transition: transform .2s ease; }
}
