:root {
  --ink: #1e2a23;
  --paper: #f6f4ee;
  --card: #ffffff;
  --accent: #c8532b;
  --accent-dark: #a03f1e;
  --green: #2e6b3f;
  --green-bg: #e2f0e5;
  --red: #8c2f24;
  --red-bg: #f7e4e1;
  --muted: #5b655e;
  --line: #ddd8cd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 2.25rem 0 2rem;
}
.site-header h1 {
  margin: 0 0 .35rem;
  font-size: 1.9rem;
  letter-spacing: .02em;
}
.tagline { margin: 0; color: #d8dcd4; }

main { padding: 1.5rem 1.25rem 2rem; }
main.wrap { padding: 1.5rem 1.25rem 2rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 0 0 1.5rem;
}
.card h2 { margin: 0 0 .9rem; font-size: 1.25rem; }

.status-badge {
  display: inline-block;
  font-weight: bold;
  padding: .4rem .9rem;
  border-radius: 999px;
  margin: 0 0 .4rem;
  background: var(--green-bg);
  color: var(--green);
}
.status-badge.closed { background: var(--red-bg); color: var(--red); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: .5rem .25rem;
  border-bottom: 1px solid var(--line);
}
.hours-table thead th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.hours-table tr.today td { font-weight: bold; }
.hours-table td.today-cell { color: var(--accent-dark); }

.muted { color: var(--muted); }
.small { font-size: .85rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: bold; margin-bottom: .3rem; }
.req { color: var(--accent); }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .6rem .7rem;
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.field-error { color: var(--red); font-size: .9rem; margin: .3rem 0 0; }

.hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }

button[type="submit"] {
  font: inherit;
  font-weight: bold;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: .7rem 1.6rem;
  cursor: pointer;
}
button[type="submit"]:hover { background: var(--accent-dark); }
button[type="submit"]:disabled { background: var(--muted); cursor: wait; }

#form-status { font-weight: bold; margin-bottom: 0; }
#form-status.ok { color: var(--green); }
#form-status.err { color: var(--red); }

address { font-style: normal; }
address p { margin: 0 0 .4rem; }

.site-footer { padding: 1.5rem 0 2.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .card { padding: 1.1rem; }
  .site-header h1 { font-size: 1.5rem; }
}
