:root {
  --bg: #12141a;
  --bg-2: #1a1d27;
  --surface: #232733;
  --text: #f0efe9;
  --muted: #9a9aab;
  --accent: #c9a45c;
  --accent-2: #d4c4a0;
  --line: rgba(240, 239, 233, 0.12);
  --radius: 14px;
  --font: "Manrope", sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 8% -8%, #2a3144 0%, transparent 55%),
    radial-gradient(900px 480px at 100% 0%, #3a3224 0%, transparent 48%),
    linear-gradient(180deg, var(--bg), #0c0d11 100%);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(18, 20, 26, 0.78);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.nav-admin {
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.hero {
  padding: 4.5rem 0 3rem;
  animation: rise 0.7s ease both;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  max-width: 12ch;
}
.hero p {
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1a1408; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.section { padding: 2.5rem 0 4rem; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
}
.section .lead { color: var(--muted); margin: 0 0 1.5rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.room {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  animation: rise 0.6s ease both;
}
.room h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.room p { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.95rem; }
.price { color: var(--accent); font-weight: 700; }

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 520px;
  background: rgba(35, 39, 51, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
input, select, textarea {
  font: inherit;
  color: var(--text);
  background: #151821;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}
textarea { min-height: 120px; resize: vertical; }

.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}
.alert-ok { background: rgba(201, 164, 92, 0.14); color: #e8d7a8; }
.alert-error { background: rgba(180, 70, 70, 0.18); color: #f0c4c4; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 0.75rem 0; }
}
