:root {
  --cream: #FFF8F2; --sand: #F3E7DC; --terra: #C06543; --terra-d: #A85536; --brown: #3E2C23;
  --teal: #2F4F4F; --muted: #7A6A60; --line: #E8DBCF; --ok: #2F6B4F; --card: #FFFFFF;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--brown); font-family: Outfit, system-ui, sans-serif; font-size: 16px; }
a { color: var(--terra); }
.qe-top { position: sticky; top: 0; z-index: 10; background: rgba(255,248,242,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.qe-top-inner { max-width: 760px; margin: 0 auto; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; }
.qe-brand img { height: 40px; display: block; }
.qe-call { text-decoration: none; font-weight: 500; font-size: 14px; color: var(--teal); }
.qe-progress { height: 4px; background: var(--sand); }
.qe-progress span { display: block; height: 100%; width: 0; background: var(--terra); transition: width .3s; }
.qe-main { max-width: 760px; margin: 0 auto; padding: 22px 16px 120px; }
.qe-muted { color: var(--muted); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; margin: 0 0 6px; line-height: 1.2; }
h1 { font-size: 30px; } h2 { font-size: 25px; }
.qe-sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.qe-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.qe-card h3 { font-size: 16px; margin: 0 0 10px; font-weight: 600; }
.qe-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 12px 0 8px; }
.qe-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qe-chip { border: 1.5px solid var(--line); background: #fff; color: var(--brown); border-radius: 999px; padding: 10px 15px;
  font: inherit; font-size: 15px; cursor: pointer; min-height: 44px; transition: all .15s; touch-action: manipulation; }
.qe-chip:hover { border-color: var(--terra); }
.qe-chip[aria-pressed="true"] { background: var(--terra); border-color: var(--terra); color: #fff; }
.qe-chip.tick[aria-pressed="true"]::before { content: "✓ "; }
.qe-input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; background: #fff; color: var(--brown); margin-top: 10px; }
.qe-input:focus, .qe-chip:focus-visible, button:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.qe-hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
.qe-start { text-align: center; padding: 18px 0 8px; }
.qe-start ul { list-style: none; padding: 0; margin: 18px auto; max-width: 420px; text-align: left; }
.qe-start li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.qe-big { display: inline-block; background: var(--terra); color: #fff; border: 0; border-radius: 999px; padding: 15px 30px; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; min-height: 52px; }
.qe-big:hover { background: var(--terra-d); }
.qe-big:disabled { opacity: .55; cursor: not-allowed; }
.qe-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.qe-nav[hidden] { display: none; }
.qe-nav > * { flex: 0 0 auto; }
.qe-back { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; min-height: 44px; padding: 0 8px; }
.qe-step { font-size: 13px; color: var(--muted); }
.qe-next { background: var(--terra); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; min-height: 46px; }
.qe-next:disabled { opacity: .5; cursor: not-allowed; }
@media (min-width: 761px) { .qe-nav { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px 16px 0 0; } }
.qe-error { background: #FDECEA; color: #8A2A1E; border-radius: 12px; padding: 10px 12px; margin-top: 12px; font-size: 14px; }
.qe-result { text-align: center; }
.qe-range { font-family: "Playfair Display", Georgia, serif; font-size: 38px; color: var(--teal); margin: 6px 0 4px; }
.qe-rooms { text-align: left; }
.qe-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.qe-row:last-child { border-bottom: 0; }
.qe-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.qe-cta a { text-decoration: none; border-radius: 999px; padding: 13px 22px; font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; }
.qe-wa { background: #25D366; color: #fff; } .qe-tel { background: var(--teal); color: #fff; }
.qe-small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.qe-hp { position: absolute; left: -9999px; }

/* State dropdown */
select.qe-input { appearance: auto; }
select.qe-input:invalid { color: #9a8478; }
