:root {
  --olive: #6f7f3f;
  --olive-light: #eef3e4;
  --paper: #fafaf6;
  --ink: #263128;
  --muted: #627060;
  --yellow: #f3c94a;
  --blue: #2f80ed;
  --line: #dbe4cf;
  --danger: #a33131;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(250, 250, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand, .actions, nav { display: flex; align-items: center; gap: 14px; }
.brand { text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
nav { flex-wrap: wrap; justify-content: center; }
nav a, footer a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.phone { font-weight: 800; color: var(--olive); text-decoration: none; white-space: nowrap; }

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 640px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px) clamp(16px, 6vw, 80px);
}
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}
.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-buttons, .actions { flex-wrap: wrap; }
.hero-buttons { display: flex; gap: 12px; margin-top: 30px; }
.hero-logo {
  width: 100%;
  max-width: 560px;
  justify-self: center;
  max-height: 74vh;
  object-fit: contain;
  filter: drop-shadow(0 24px 50px rgba(38, 49, 40, .15));
}

.primary, .secondary, .ghost {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--olive); color: #fff; }
.secondary { background: var(--yellow); color: var(--ink); }
.ghost { background: #fff; color: var(--olive); border-color: var(--line); }

.band, .booking-section, .teamviewer {
  padding: clamp(44px, 6vw, 76px) clamp(16px, 6vw, 80px);
}
.band { background: var(--olive-light); }
.section-head { max-width: 840px; margin-bottom: 26px; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: 0; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.steps, .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.steps article, .cards article, .teamviewer aside, .booking-form, .admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(38, 49, 40, .06);
}
.steps strong {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--yellow);
}
.price { color: var(--olive); font-size: 27px; font-weight: 900; margin: 4px 0 12px; }

.booking-section { background: var(--paper); }
.booking-form { max-width: 980px; }
.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label span, legend {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 850;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd8bf;
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
}
option:disabled { color: #8b9488; background: #eef1ea; }
textarea { resize: vertical; }
.duration {
  margin: 18px 0;
  padding: 0;
  border: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.duration label, .check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.duration input, .check input { width: auto; }
.duration span, .check span { margin: 0; }
.form-status { min-height: 24px; color: var(--olive); font-weight: 800; }
.form-status.error { color: var(--danger); }

.teamviewer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: start;
}
.support-widget {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(38, 49, 40, .06);
}
.support-thread {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.support-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--olive);
}
.support-messages {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}
.support-message {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--olive-light);
}
.support-message.from-admin {
  margin-left: auto;
  background: #fff7d6;
}
.support-message p { margin: 4px 0 0; white-space: pre-wrap; }
.teamviewer ol { padding-left: 22px; color: var(--muted); }
.contact { display: grid; grid-template-columns: minmax(280px, 760px); }
.owner-data { max-width: 680px; padding: 14px 0 0; color: var(--muted); }
.owner-data span { display: block; }
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(16px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.admin-body { background: #f6f8f0; }
.admin-shell { padding: 28px clamp(16px, 4vw, 52px); }
.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 18px;
  align-items: start;
}
.admin-card { margin-bottom: 18px; }
.admin-card h2 { font-size: 28px; margin-bottom: 14px; }
.admin-card h3 { margin-top: 0; }
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-title-row h2 { margin-bottom: 0; }
.stack { display: grid; gap: 12px; }
.admin-actions, .pagination {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination { margin-top: 12px; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}
.admin-table th { color: var(--olive); }
.support-admin-thread {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.json-edit { min-height: 210px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .hero, .teamviewer, .admin-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .steps, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .grid.two, .steps, .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 18px; }
  .topbar nav { justify-content: flex-start; }
}
