:root {
  --ink: #172126;
  --muted: #64727a;
  --line: #dbe4e7;
  --brand: #16705b;
  --brand-dark: #10272b;
  --accent: #d97706;
  font-family: "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f7f8;
}

.page {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 16px 14px 36px;
}

.hero {
  border-radius: 10px;
  padding: 22px;
  color: white;
  background:
    linear-gradient(rgba(16, 39, 43, 0.78), rgba(22, 112, 91, 0.68)),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.hero span {
  font-weight: 800;
}

.hero h1 {
  margin: 8px 0;
  font-size: 32px;
}

.hero p {
  margin: 0;
  line-height: 1.6;
}

.card,
.success {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 16px;
}

.hidden {
  display: none;
}

.success {
  display: grid;
  gap: 5px;
  border-left: 5px solid var(--brand);
  background: #eef8f4;
}

.success span,
.notice,
.mini {
  color: var(--muted);
  line-height: 1.6;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
}

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

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: white;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.service-list {
  display: grid;
  gap: 9px;
}

.service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
}

.service strong,
.service span {
  display: block;
}

.price {
  font-weight: 900;
  color: var(--brand);
}

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