:root {
  --ink: #1F2A24;
  --hearth: #7A3B2E;
  --hearth-dark: #5C2C22;
  --gold: #B8863B;
  --cream: #FBF7F1;
  --sand: #EFE7DB;
  --sand-row: #F7F3EC;
  --grey: #5B5B57;
  --white: #FFFFFF;
  --success: #3B6D11;
  --danger: #A32D2D;
  --radius: 10px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Calibri, Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a { color: var(--hearth-dark); }
a:hover { color: var(--hearth); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--hearth-dark);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- header / nav ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--hearth-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.logo span { color: var(--gold); }

nav.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main-nav li { margin-left: 28px; }
nav.main-nav li:first-child { margin-left: 0; }
nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
nav.main-nav a:hover { color: var(--hearth); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  nav.main-nav ul {
    display: none;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--sand);
  }
  nav.main-nav.open ul { display: flex; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--hearth-dark);
    cursor: pointer;
  }
}

/* ---- hero ---- */
.hero {
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  padding: 72px 0 56px;
  text-align: center;
}
.hero h1 { max-width: 720px; margin: 0 auto 16px; }
.hero p.lead {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
  color: var(--grey);
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: #412402;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s ease;
}
.btn-primary { background: var(--hearth); color: var(--white); }
.btn-primary:hover { background: var(--hearth-dark); color: var(--white); opacity: 0.95; }
.btn-secondary { background: transparent; color: var(--hearth-dark); border: 2px solid var(--hearth-dark); padding: 11px 26px; }
.btn-secondary:hover { background: var(--hearth-dark); color: var(--white); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- sections ---- */
section { padding: 56px 0; }
section.alt { background: var(--white); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--hearth);
  color: var(--white);
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 14px;
}

/* ---- pricing ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--sand);
}
.price-table th {
  background: var(--hearth-dark);
  color: var(--white);
  font-family: var(--font-serif);
}
.price-table tr:nth-child(even) td { background: var(--sand-row); }
.price-tag {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--hearth-dark);
  font-weight: bold;
}

/* ---- forms ---- */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; }
input[type=text], input[type=email], input[type=tel], input[type=date],
select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #D8CDB8;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--hearth);
  box-shadow: 0 0 0 3px rgba(122,59,46,0.12);
}
.form-hint { font-size: 0.85rem; color: var(--grey); margin-top: 4px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- alerts ---- */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}
.alert-success { background: #EAF3DE; color: var(--success); border: 1px solid #C0DD97; }
.alert-error { background: #FCEBEB; color: var(--danger); border: 1px solid #F0A0A0; }

/* ---- lookup / report ---- */
.lookup-box {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 32px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.report-header {
  background: var(--hearth-dark);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}
.report-header .stars { font-size: 1.6rem; color: var(--gold); letter-spacing: 4px; }
.room-block {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 18px;
}
.room-block h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; }
.room-block .stars { color: var(--gold); font-size: 1.1rem; }

/* ---- footer ---- */
footer.site-footer {
  background: var(--hearth-dark);
  color: #E8DCCB;
  padding: 40px 0;
  margin-top: 40px;
}
footer.site-footer a { color: #F3E4CE; }
footer.site-footer .foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer.site-footer small { color: #C9B79A; }

/* ---- badges / status pills ---- */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pill-pending { background: #FAEEDA; color: #854F0B; }
.pill-accepted { background: #EAF3DE; color: #3B6D11; }
.pill-declined { background: #FCEBEB; color: #A32D2D; }

/* ---- admin table ---- */
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--sand); text-align: left; font-size: 0.92rem; }
.admin-table th { background: var(--sand); }

/* Wide admin tables (many columns) would otherwise push the whole page into
   horizontal scroll on a phone — scope the scroll to just the table instead. */
@media (max-width: 760px) {
  .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}
.admin-bar {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 14px 0;
}
.admin-bar .container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.admin-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.admin-nav-toggle { display: none; }

/* Admin/owner-portal nav has far more items than the public nav, so it needs
   to collapse well before the public nav's 760px breakpoint. */
@media (max-width: 1100px) {
  .admin-bar .container { flex-wrap: nowrap; }
  .admin-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--sand);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    z-index: 100;
  }
  .admin-nav.open { display: flex; }
  .admin-nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--hearth-dark);
    cursor: pointer;
  }
}
