:root {
  --ink: #303236;
  --black: #151515;
  --muted: #666b70;
  --line: #dddddd;
  --soft: #f6f6f4;
  --accent: #4f6f52;
}

/* Private job completion screen */

.admin-jobs-container {
  max-width: 900px;
}

.admin-access-panel,
.admin-job-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--soft);
}

.admin-access-panel label,
.admin-completion-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.admin-access-row,
.admin-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-access-row input {
  flex: 1;
}

.admin-jobs input,
.admin-jobs textarea {
  width: 100%;
  border: 1px solid #aeb1b4;
  border-radius: 6px;
  padding: 11px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.admin-help,
.admin-reference {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-message {
  min-height: 1.5em;
  margin: 18px 0;
  font-weight: 700;
}

.admin-message.success {
  color: #286a35;
}

.admin-message.error {
  color: #a32020;
}

.admin-job-list {
  display: grid;
  gap: 20px;
}

.admin-job-card {
  background: white;
}

.admin-job-heading,
.admin-total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-job-heading h2,
.admin-reference {
  margin: 0;
}

.admin-status {
  align-self: start;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e7e8e9;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-status.ready {
  background: #dcebdd;
  color: #24572c;
}

.admin-job-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin: 22px 0;
}

.admin-job-details div {
  min-width: 0;
}

.admin-job-details dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-job-details dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.admin-completion-form,
.admin-money-grid {
  display: grid;
  gap: 16px;
}

.admin-money-grid {
  grid-template-columns: repeat(3, 1fr);
}

.admin-total-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.admin-total-row div {
  display: grid;
  gap: 2px;
}

.admin-total-row strong {
  font-size: 1.25rem;
}

@media (max-width: 680px) {
  .admin-access-row,
  .admin-card-actions,
  .admin-job-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-job-details,
  .admin-money-grid {
    grid-template-columns: 1fr;
  }

  .admin-status {
    align-self: start;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.55;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: white;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  padding: 6px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--black);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: white !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--black);
  color: white !important;
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--ink);
  color: white;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

/* Hero */

.hero {
  padding: 64px 0;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.hero h1 {
  margin: 0 0 24px;
  color: var(--black);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  margin-bottom: 0.25em;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.25rem;
}

/* Buttons and actions */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 6px;
  padding: 13px 18px;
  background: var(--ink);
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn.secondary {
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
}

.btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* General sections */

.section {
  padding: 52px 0;
}

.soft {
  background: var(--soft);
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: #222;
  color: white;
}

.site-footer p {
  color: #ddd;
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: white;
}

.feature-card h3 {
  margin-top: 0;
}

/* Service cards */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: white;
}

.service-card h3 {
  margin-top: 0;
}

.price {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 800;
}

/* Areas covered */

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.area-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}


/* Final call to action */

.final-cta {
  background: var(--ink);
  color: white;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  max-width: 680px;
  color: #e5e5e5;
}

/* Availability */

.availability-layout {
  margin-top: 32px;
}

.slot-panel {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.slot-panel h2 {
  margin: 0 0 6px;
}

.panel-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-scroll {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 8px;
}

.calendar-wrap {
  display: grid;
  gap: 36px;
}

.month-calendar {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  background: var(--soft);
}

.month-header h2 {
  margin: 0;
}

.month-header span {
  color: var(--muted);
  font-weight: 700;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-days div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px;
  background: #fafafa;
  font-weight: 800;
  text-align: center;
}

.calendar-cell {
  min-height: 120px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px;
  background: white;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.calendar-cell:nth-child(7n) {
  border-right: 0;
}

.calendar-cell strong {
  display: block;
  margin-bottom: 8px;
}

.calendar-cell span,
.slot-option {
  display: inline-block;
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-cell.available span {
  background: #dfeadd;
  color: #1f4a25;
}

.calendar-cell.limited span {
  background: #f2e4c7;
  color: #70470d;
}

.calendar-cell.booked span {
  background: #e6e6e6;
  color: #555;
}

.calendar-cell.selected {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
  background: #f7faf6;
}

.slot-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slot-option {
  border: 1px solid var(--line);
  background: var(--soft);
}

/* Tablet and mobile header */

@media (max-width: 900px) {
  .header-inner {
    min-height: 88px;
    gap: 16px;
  }

  .brand-logo {
    width: 165px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 4%;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open,
  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
  }

  .nav-cta {
    margin-top: 6px;
    padding: 12px 14px;
    text-align: center;
  }
}

/* General mobile layout */

@media (max-width: 800px) {
  .hero {
    padding: 42px 0;
  }

  .actions {
    display: grid;
  }

  .btn {
    text-align: center;
  }

  .feature-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .slot-panel {
    position: static;
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    font-size: 0.8rem;
  }

  .calendar-cell {
    min-height: 88px;
    padding: 5px;
  }

  .calendar-cell span {
    padding: 4px;
    font-size: 0.68rem;
  }

  .month-header {
    display: block;
  }

  .calendar-scroll {
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 140px;
  }
}

.availability-selector {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.availability-date-picker {
  max-width: 720px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.availability-date-picker label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.availability-date-picker select {
  width: 100%;
  min-height: 48px;
  padding: 11px 42px 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: white;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.availability-date-picker select:focus {
  border-color: var(--accent);
  outline: 3px solid
    color-mix(
      in srgb,
      var(--accent) 20%,
      transparent
    );
}

.availability-date-picker select:disabled {
  color: var(--muted);
  background: var(--soft);
  cursor: wait;
}

.availability-message {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.slot-panel {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, 1fr)
    minmax(180px, 0.65fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.slot-panel h2 {
  margin: 0 0 8px;
}

.slot-panel p {
  margin-top: 0;
}

.panel-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slot-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slot-option {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}

.slot-option {
  cursor: pointer;
}

.slot-option.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 760px) {
  .availability-selector {
    margin-top: 24px;
  }

  .availability-date-picker,
  .slot-panel {
    padding: 18px;
  }

  .slot-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .slot-panel > div {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .slot-panel > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .slot-panel .btn {
    width: 100%;
    text-align: center;
  }
}

.availability-picker-label {
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 700;
}

.availability-date-list {
  display: grid;
  gap: 8px;
}

.availability-month-heading {
  margin: 16px 0 4px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability-month-heading:first-child {
  margin-top: 0;
}

.availability-date-option {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.availability-date-option:hover {
  border-color: var(--accent);
  background: var(--soft);
}

.availability-date-option:focus-visible {
  border-color: var(--accent);
  outline: 3px solid
    color-mix(
      in srgb,
      var(--accent) 20%,
      transparent
    );
}

.availability-date-option.is-selected {
  border-color: var(--accent);
  background:
    color-mix(
      in srgb,
      var(--accent) 10%,
      white
    );
  box-shadow:
    inset 4px 0 0 var(--accent);
}

.availability-date-name {
  font-weight: 700;
}

.availability-slot-count {
  flex-shrink: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.availability-date-option.is-selected
.availability-slot-count {
  background: var(--accent);
  color: white;
}

.availability-show-more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.availability-show-more:hover {
  background:
    color-mix(
      in srgb,
      var(--accent) 8%,
      white
    );
}

.availability-show-more[hidden] {
  display: none;
}

@media (max-width: 480px) {
  .availability-date-option {
    min-height: 50px;
    padding: 11px 12px;
    gap: 10px;
  }

  .availability-date-name {
    font-size: 0.95rem;
  }

  .availability-slot-count {
    padding: 4px 8px;
    font-size: 0.76rem;
  }
}


/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

.contact-details,
.contact-form-panel {
  min-width: 0;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 24px 0 32px;
}

.contact-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list > div:first-child {
  border-top: 1px solid var(--line);
}

.contact-list dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--accent);
  font-weight: 700;
}

.contact-note,
.contact-form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.contact-note h2,
.contact-form-panel h2 {
  margin-top: 0;
}

.contact-form-panel form {
  display: grid;
  gap: 20px;
}

/* Netlify spam trap — hidden from genuine visitors */

.form-hidden {
  display: none;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--ink);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid
    color-mix(
      in srgb,
      var(--accent) 20%,
      transparent
    );
}

.form-field .optional {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}

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

.contact-form-panel .button {
  width: fit-content;
  min-width: 160px;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-note,
  .contact-form-panel {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .contact-note,
  .contact-form-panel {
    padding: 18px;
  }

  .contact-form-panel .button {
    width: 100%;
  }
}
