.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 251, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7d996f, #2f5d46);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.site-nav a {
  font-size: 0.94rem;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--primary-strong);
  background: #e7eee4;
}

.hero {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f0f4ea 0%, #f9f7f0 70%);
  border: 1px solid #dae4d3;
  box-shadow: var(--shadow-soft);
  padding: var(--space-5);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(125, 153, 111, 0.2), transparent 60%);
  z-index: -1;
}

.hero p {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  background: #e6ede2;
  color: var(--primary-strong);
  border: 1px solid #c4d3bf;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid #bfd0b8;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-body {
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.card-media {
  height: 148px;
  background: linear-gradient(120deg, #d8e4d0, #edf2e8);
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.image-frame {
  border-radius: var(--radius-md);
  border: 2px dashed #b8c9b0;
  padding: 8px;
  background: #fbfcf8;
}

.image-frame img {
  border-radius: 12px;
}

.map-embed {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius-sm);
}

.map-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 700;
  color: var(--primary-strong);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 5px 10px;
  width: fit-content;
  border: 1px solid transparent;
}

.status-pending {
  background: #efeede;
  color: #7d6b33;
  border-color: #e4d69a;
}

.status-arrived {
  background: #e7f0e8;
  color: #2f5d46;
  border-color: #b8d5be;
}

.status-photo {
  background: #e4f2ea;
  color: #22533e;
  border-color: #a2ccae;
}

.status-complete {
  background: #ddeede;
  color: #1f5138;
  border-color: #94c1a0;
}

.progress-wrap {
  background: #e3e9de;
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7d996f 0%, #2f5d46 100%);
  transition: width 0.2s ease;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.step-list li {
  background: #f9faf5;
  border: 1px solid #dde6d8;
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: var(--space-1);
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--space-6);
  padding: var(--space-4) 0 var(--space-5);
  background: rgba(255, 255, 255, 0.36);
}

.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, 120%);
  background: #1f4f38;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-button);
  transition: transform 0.25s ease;
  z-index: 40;
}

.toast.show {
  transform: translate(-50%, 0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(23, 35, 30, 0.5);
  padding: var(--space-3);
  z-index: 50;
}

.modal {
  width: min(92vw, 460px);
  background: #fefdf8;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.field input,
.field select,
.field textarea {
  border: 1px solid #bfd0b8;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

@media (max-width: 767px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
