:root {
  --bg: #1A1A18;
  --bg2: #201F1C;
  --card: #24231F;
  --line: rgba(201, 169, 110, 0.18);
  --gold: #C9A96E;
  --gold-soft: #E8D5B0;
  --text: #F5F0E8;
  --muted: rgba(245, 240, 232, 0.6);
  --faint: rgba(245, 240, 232, 0.35);
  --err: #E88080;
  --ok: #8BAF8B;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--gold) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.035;
  pointer-events: none;
}
a { color: var(--gold); }
button, input, select { font-family: var(--sans); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  padding-top: max(16px, env(safe-area-inset-top));
  background: rgba(26, 26, 24, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 19px; letter-spacing: 3px; color: var(--text); text-decoration: none; }
.brand span { color: var(--gold); }
.brand.small { font-size: 18px; margin-bottom: 8px; }
.lang { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 12px; }
.lang button {
  background: none; border: none; cursor: pointer; letter-spacing: 2px; font-size: 12px;
  color: var(--faint); padding: 6px 4px; transition: color .2s;
}
.lang button.on, .lang button:hover { color: var(--gold); }

/* Layout */
main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 40px 20px 64px; position: relative; }
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 9vw, 56px); line-height: 1.02; margin-bottom: 14px; }
h1 em { font-style: italic; color: var(--gold-soft); }
.rule { width: 44px; height: 0.5px; background: var(--gold); opacity: .55; margin: 18px 0 22px; }
.lead { color: var(--muted); font-size: 15px; max-width: 520px; }
.center { text-align: center; }
.center .rule, .center .lead { margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: flex; gap: 10px; margin-bottom: 30px; }
.step { flex: 1; border-top: 1.5px solid rgba(201,169,110,.2); padding-top: 10px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }
.step b { font-family: var(--serif); font-size: 18px; font-weight: 400; display: block; letter-spacing: 0; text-transform: none; }
.step.on { border-color: var(--gold); color: var(--gold); }
.step.done { border-color: rgba(201,169,110,.55); color: var(--muted); }

/* Booking summary */
.summary {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: end;
  border: 0.5px solid var(--line); background: var(--card); padding: 18px 20px; margin: 6px 0 28px;
}
.summary .apt { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.summary .dates { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }
.summary .label { grid-column: 1 / -1; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); opacity: .8; }

/* Forms */
form.card { display: grid; gap: 18px; }
fieldset { border: none; display: grid; gap: 18px; }
legend { font-family: var(--serif); font-size: 22px; color: var(--gold-soft); margin-bottom: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.field label { display: block; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); opacity: .85; margin-bottom: 8px; }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--faint); font-size: 12px; }
.field input {
  width: 100%; background: transparent; color: var(--text);
  border: none; border-bottom: 0.5px solid rgba(245,240,232,.28);
  padding: 10px 2px; font-size: 17px; font-weight: 300; outline: none; border-radius: 0;
  transition: border-color .2s;
}
.field input::placeholder { color: rgba(245,240,232,.22); }
.field input:focus { border-color: var(--gold); }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.field.bad label { color: var(--err); opacity: 1; }
.field.bad input { border-color: var(--err); }
.field .msg { font-size: 12px; color: var(--err); margin-top: 6px; }
.code-input input { font-size: 22px; letter-spacing: 2px; text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 28px; margin-top: 8px;
  background: transparent; color: var(--gold); border: 0.5px solid var(--gold);
  font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer; transition: all .25s;
}
.btn:hover:not(:disabled) { background: var(--gold); color: var(--bg); }
.btn:disabled { opacity: .5; cursor: wait; }
.note { font-size: 12px; color: var(--faint); text-align: center; margin-top: 4px; }
.alert { border-left: 2px solid var(--err); background: rgba(232,128,128,.08); padding: 12px 16px; color: var(--text); font-size: 14px; }
.okbox { border-left: 2px solid var(--ok); background: rgba(139,175,139,.08); padding: 12px 16px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }

/* Info */
.intro { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.section { margin-bottom: 40px; }
.section h2 {
  font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--text);
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px;
}
.section h2 .num { font-size: 13px; color: var(--gold); letter-spacing: 2px; font-family: var(--sans); }
.item { background: var(--card); border: 0.5px solid var(--line); margin-bottom: 14px; overflow: hidden; }
.item img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: cover; background: #2b2a26; }
.item .cap { padding: 14px 18px; font-size: 15px; color: var(--text); }
.item .cap .hl {
  font-weight: 500; color: var(--gold-soft); background: rgba(201,169,110,.12);
  padding: 1px 7px; border-radius: 3px; white-space: nowrap; letter-spacing: .5px;
}
.help { border: 0.5px solid var(--line); padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.help h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--text); margin-bottom: 6px; }
.help a { text-decoration: none; }

.spinner { width: 28px; height: 28px; border: 1px solid var(--line); border-top-color: var(--gold); border-radius: 50%; margin: 80px auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.foot { border-top: 0.5px solid var(--line); background: #141412; padding: 32px 20px; padding-bottom: max(32px, env(safe-area-inset-bottom)); text-align: center; position: relative; }
.contact { font-size: 13px; color: var(--faint); }
.contact a { color: var(--muted); text-decoration: none; }
.copy { font-size: 11px; letter-spacing: 2px; color: rgba(245,240,232,.2); margin-top: 10px; text-transform: uppercase; }

@media (max-width: 480px) {
  main { padding-top: 30px; }
  .row2 { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; }
  .summary .dates { text-align: left; }
}
