:root {
  color: #18201f;
  background: #f7f3ea;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f3ea;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid #ded6c7;
  display: flex;
  justify-content: space-between;
  padding: 18px 7vw;
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  font-weight: 700;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.hero {
  align-items: center;
  background: linear-gradient(rgba(24, 32, 31, 0.5), rgba(24, 32, 31, 0.35)), url("https://images.unsplash.com/photo-1582650625119-3a31f8fa2699?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  min-height: 74vh;
  padding: 72px 7vw;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  color: #dca44b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  margin: 0 0 24px;
}

h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0;
}

h3 {
  margin: 0 0 10px;
}

p {
  line-height: 1.75;
}

.hero-copy p:not(.eyebrow) {
  font-size: 20px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary,
.secondary,
button {
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 13px 22px;
}

.primary,
button {
  background: #dca44b;
  border: 0;
  color: #18201f;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  color: #18201f;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.hero-panel span {
  border-top: 1px solid #e4ddd0;
  padding-top: 12px;
}

.section {
  padding: 64px 7vw;
}

.section-title {
  margin-bottom: 26px;
}

.spot-grid,
.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

article,
.service-grid div {
  background: #fffaf1;
  border: 1px solid #e1d6c4;
  border-radius: 8px;
  padding: 22px;
}

.service-band {
  background: #e8efe8;
}

.request-section {
  background: #fff;
}

.request-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
select,
textarea {
  border: 1px solid #cfc7ba;
  border-radius: 6px;
  font: inherit;
  padding: 12px;
  width: 100%;
}

.full,
button {
  grid-column: 1 / -1;
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.form-message.success {
  color: #276749;
}

.form-message a {
  color: #18201f;
  font-weight: 800;
  margin-left: 8px;
  text-decoration: underline;
}

.form-message.error {
  color: #b42318;
}

.admin-page {
  background: #fff;
}

.admin-main h1 {
  color: #18201f;
  font-size: 40px;
  margin: 0;
}

.admin-title {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.table-wrap {
  border: 1px solid #e1d6c4;
  border-radius: 8px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #eadfcd;
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f7f3ea;
  font-size: 14px;
}

td {
  background: #fff;
  line-height: 1.6;
}

.pagination {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}

.pagination button {
  grid-column: auto;
}

.public-requests {
  min-height: 72vh;
}

.public-title {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.public-title h1 {
  color: #18201f;
  font-size: 44px;
  margin: 0;
}

.public-title p:not(.eyebrow) {
  color: #56605d;
  margin-bottom: 0;
  max-width: 720px;
}

.request-list {
  display: grid;
  gap: 16px;
}

.request-card {
  background: #fffaf1;
  border: 1px solid #e1d6c4;
  border-radius: 8px;
  padding: 22px;
}

.request-card-head {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.request-card h2 {
  color: #18201f;
  font-size: 24px;
  margin: 0 0 8px;
}

.request-card-head p,
.request-note {
  color: #56605d;
  margin: 0;
}

.status-badge {
  background: #e8efe8;
  border: 1px solid #c9dbc9;
  border-radius: 999px;
  color: #276749;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  padding: 7px 12px;
}

dl {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

dt {
  color: #6a716f;
  font-size: 13px;
  margin-bottom: 4px;
}

dd {
  font-weight: 800;
  margin: 0;
}

.empty-state {
  background: #fffaf1;
  border: 1px solid #e1d6c4;
  border-radius: 8px;
  padding: 28px;
}

footer {
  background: #18201f;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 26px 7vw;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .spot-grid,
  .service-grid,
  .request-form,
  dl {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .public-title,
  .request-card-head {
    align-items: stretch;
    flex-direction: column;
  }
}
