:root {
  --bg-0: #f2ede4;
  --bg-1: #fff8ee;
  --ink-0: #1d232b;
  --ink-1: #4d5a66;
  --line: #e1d7c7;
  --brand: #9f2d23;
  --brand-2: #d97230;
  --panel: #ffffff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink-0);
  background:
    radial-gradient(1200px 520px at 5% -10%, #ffe8d8 0%, transparent 70%),
    radial-gradient(1100px 480px at 100% 0%, #ffe7c8 0%, transparent 72%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(157, 129, 92, 0.25);
  background: rgba(255, 251, 244, 0.9);
  backdrop-filter: blur(10px);
}

.header-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
  color: #66231d;
  letter-spacing: 0.01em;
}

.brand span {
  font-size: 0.8rem;
  color: #7d6452;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #3f2b1d;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: #4f3d2f;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 13px;
  transition: 0.18s ease;
}

.site-nav a:hover {
  border-color: #d8c4a9;
  background: #fff;
}

.site-nav a.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}

.page {
  padding: 34px 0 46px;
}

.hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 16px 34px rgba(33, 33, 33, 0.08);
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b5f3e;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: #2b1f18;
}

.hero p {
  margin: 0;
  max-width: 76ch;
  color: var(--ink-1);
  font-size: 1.03rem;
}

.stack {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
}

.card h2,
.card h3,
.panel h2,
.panel h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  color: #3e2417;
}

.card p,
.panel p,
.panel li {
  margin: 0;
  color: var(--ink-1);
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.meta {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed #d5b392;
  background: #fff7eb;
  color: #5f4634;
  font-size: 0.95rem;
}

.kpi {
  display: grid;
  gap: 6px;
}

.kpi strong {
  font-size: 1.08rem;
  color: #3f2b1f;
}

.kpi a {
  color: #8e2e25;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(157, 129, 92, 0.28);
  padding: 18px 0 30px;
  color: #705844;
  font-size: 0.88rem;
}

@media (max-width: 940px) {
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-bottom: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .header-bar {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.hero-media {
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ebd9c2;
  box-shadow: 0 14px 30px rgba(42, 28, 17, 0.12);
  min-height: 240px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: #8e2e25;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #7f2f29;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.18s ease;
}

.btn-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(132, 54, 24, 0.25);
}

.btn-link:focus-visible {
  outline: 2px solid #83342d;
  outline-offset: 2px;
}

.photo-strip {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ecd8c1;
  background: #f8f0e8;
  min-height: 160px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-list {
  align-items: stretch;
}

.room-card {
  display: grid;
  gap: 10px;
}

.room-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #ecd8c1;
}

.room-card .price {
  color: #8e2e25;
  font-weight: 800;
}

.room-card .room-info-btn {
  margin-top: 4px;
}

.gallery-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ecd8c1;
  background: #f8f0e8;
  min-height: 180px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 940px) {
  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .photo-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }
}

.btn-link.btn-secondary {
  background: #fff;
  color: #703028;
  border-color: #ba8d7b;
}

.btn-link.btn-secondary:hover {
  box-shadow: 0 8px 14px rgba(98, 45, 34, 0.2);
}

.btn-link.mini {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 0.8rem;
  margin-right: 6px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.compact {
  grid-template-columns: 1fr;
}

.form-grid label {
  display: grid;
  gap: 6px;
  color: #4b3b2f;
  font-weight: 700;
  font-size: 0.88rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d2bda5;
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  color: #2f2722;
  background: #fffdfa;
}

.form-grid textarea {
  resize: vertical;
  min-height: 88px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-status {
  margin-right: auto;
  color: #5f4634;
}

.stats-grid {
  margin-top: 12px;
}

.stat-box {
  border: 1px solid #ead7be;
  border-radius: 12px;
  padding: 12px;
  background: #fffaf1;
  display: grid;
  gap: 6px;
}

.stat-box span {
  color: #67503f;
  font-size: 0.86rem;
}

.stat-box strong {
  font-size: 1.7rem;
  line-height: 1;
  color: #492f21;
}

.calendar-frame {
  margin-top: 10px;
}

.fc .fc-toolbar-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  color: #3e2417;
}

.fc .fc-button {
  border-radius: 8px !important;
  border: 1px solid #8d5a49 !important;
  background: #8f3428 !important;
}

.fc .fc-button:hover {
  background: #7c2f24 !important;
}

.table-wrap {
  margin-top: 10px;
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  border: 1px solid #e7d8c3;
  padding: 8px 9px;
  vertical-align: top;
  text-align: left;
}

.admin-table th {
  background: #fff4e3;
  color: #4d3527;
}

.admin-table td.action-cell {
  min-width: 170px;
}

.reservation-timing {
  margin-top: -2px;
  margin-bottom: 2px;
  color: #6e5848;
  font-size: 0.85rem;
}

.reservation-estimate {
  margin-top: 4px;
  color: #7f2f29;
  font-weight: 700;
}

.reservation-feedback {
  margin-top: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #d6c0a7;
  background: #fff7eb;
  color: #5e4838;
  font-size: 0.9rem;
}

.reservation-feedback.is-error,
.meta.is-error {
  border-color: #d06a64;
  background: #fff0ee;
  color: #8b2720;
}

.reservation-feedback.is-success,
.meta.is-success {
  border-color: #5b9a63;
  background: #edf9ee;
  color: #2d6f37;
}

@media (max-width: 940px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
