:root {
  --bg: #f7f8f1;
  --surface: #ffffff;
  --surface-soft: #f1f7ed;
  --line: #dbe5d2;
  --text: #172316;
  --muted: #63705f;
  --brand: #70a626;
  --brand-dark: #3f7a28;
  --accent: #f19a2f;
  --danger: #a82231;
  --shadow: 0 22px 50px rgba(31, 55, 23, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(112, 166, 38, 0.14), transparent 36%),
    linear-gradient(215deg, rgba(241, 154, 47, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfcf9, var(--bg));
}

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.booking-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.panel-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  display: block;
  width: 154px;
  height: auto;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.8rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

h2 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

#schedule-summary {
  margin-bottom: 0;
  color: var(--muted);
}

.booking-form {
  display: grid;
  gap: 22px;
  padding-top: 24px;
}

.form-section {
  display: grid;
  gap: 16px;
  padding-top: 4px;
}

.section-note {
  margin: -4px 0 2px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
}

.grid.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: var(--surface);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(112, 166, 38, 0.22);
  border-color: var(--brand);
}

.service-details {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 16px;
}

.service-details h3 {
  margin-bottom: 6px;
}

.service-details p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
  white-space: pre-wrap;
}

#service-price {
  color: var(--brand-dark);
  white-space: nowrap;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #ffffff;
  background: var(--brand);
}

button:hover {
  background: var(--brand-dark);
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-message {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--surface-soft);
  color: var(--muted);
}

.form-message[data-error="true"] {
  border-color: rgba(168, 34, 49, 0.28);
  background: rgba(168, 34, 49, 0.08);
  color: var(--danger);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 760px) {
  .booking-panel {
    padding: 22px;
  }

  .grid.two-col,
  .service-details {
    display: grid;
  }

  .brand-logo {
    width: 132px;
  }

  .actions {
    justify-content: stretch;
  }

  button {
    width: 100%;
  }

  #service-price {
    white-space: normal;
  }
}
