:root {
  --brand: #6b3e1f;
  --brand-dark: #4a2a14;
  --accent: #c8963e;
  --text: #2b2b2b;
  --muted: #666;
  --bg: #ffffff;
  --bg-alt: #f7f3ee;
  --border: #ddd3c7;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; }

a { color: var(--brand); }

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--brand-dark);
  color: #fff;
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo span { color: var(--accent); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.site-nav a {
  color: #f1e6d8;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover { color: #fff; text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(rgba(40, 22, 10, 0.65), rgba(40, 22, 10, 0.65)),
    linear-gradient(135deg, #8a5a32, #3b2210);
  color: #fff;
  text-align: center;
  padding: 80px 0 72px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.2;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: #f1e6d8;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #1e1208;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #d9a754; }

/* Sections */
section { padding: 60px 0; }

.section-alt { background: var(--bg-alt); }

h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: var(--brand-dark);
}

.lead {
  margin: 0 0 32px;
  color: var(--muted);
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: #f1e6d8;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 1.15rem;
}

.card p { margin: 0; }

/* Form */
.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.field { display: flex; flex-direction: column; }

.field.full { grid-column: 1 / -1; }

label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

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

.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox input { width: auto; margin-top: 5px; }

.checkbox label { font-weight: 400; margin: 0; }

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-status {
  margin: 0;
  font-weight: 600;
  color: var(--brand);
}

/* Quote calculator */
.field-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 6px;
  margin-bottom: 8px;
}

.mode-tab {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.mode-tab:hover { background: var(--bg-alt); }

.mode-tab[aria-selected=true] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.mode-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mode-panel.autocomplete { position: relative; }

.pick-map,
.route-map {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-alt);
}

.pick-map { height: 260px; }

.route-map { height: 280px; }

.route-map.unavailable,
.pick-map.unavailable {
  height: auto;
  padding: 12px;
  border-style: dashed;
  color: var(--muted);
  font-size: 0.9rem;
}

.location-found:empty { display: none; }

.autocomplete { position: relative; }

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.suggestions [role=option] {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.95rem;
}

.suggestions [role=option]:hover,
.suggestions [aria-selected=true] { background: var(--bg-alt); }

.suggestions .powered-by {
  padding: 4px 12px 2px;
  text-align: right;
  font-size: 0.75rem;
  color: var(--muted);
}

.stalls {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.stalls legend {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  margin-bottom: 6px;
}

.stall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stall-grid .field { justify-content: flex-end; }

.stall-grid label { font-weight: 400; }

.distance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.distance-row input { flex: 1 1 140px; width: auto; }

.btn-secondary {
  background: var(--bg-alt);
  color: var(--brand-dark);
  border: 1px solid var(--border);
  padding: 10px 18px;
}

.btn-secondary:hover { background: #efe6da; }

.hint {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.route-note {
  margin: 8px 0 0;
  padding: 10px 14px;
  background: #fdecea;
  border-left: 5px solid #b3261e;
  border-radius: 6px;
  color: #5f1410;
  font-size: 0.95rem;
  font-weight: 600;
}

.quote {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--bg-alt);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}

.quote h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: middle;
}

.quote-total {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.3;
}

.quote-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.quote-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  border-bottom: 1px dashed var(--border);
}

.quote-lines li span:last-child { white-space: nowrap; }

.quote-notice {
  margin: 0;
  padding: 14px 16px;
  background: #fff7e6;
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  font-size: 0.95rem;
  align-self: start;
}

.rates summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 600;
}

.rates table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rates th,
.rates td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.rates p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li { margin-bottom: 6px; }

/* Terms page */
.page-title {
  background: var(--bg-alt);
  padding: 40px 0 28px;
}

.page-title h1 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.terms { padding: 32px 0 60px; }

.terms h2 {
  font-size: 1.25rem;
  margin-top: 32px;
}

.terms ul { padding-left: 22px; }

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: #e6d8c6;
  padding: 24px 0;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer a { color: #f1e6d8; }

@media (max-width: 640px) {
  section { padding: 44px 0; }
  .hero { padding: 56px 0 52px; }
  .booking-form { grid-template-columns: 1fr; padding: 18px; }
  .quote { padding: 16px; }
  .mode-tabs { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .pick-map { height: 220px; }
  .route-map { height: 220px; }
  .stall-grid { gap: 8px; }
}
