/* ── Reset & Base ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Montserrat', sans-serif;
    background: #f7f6f3;
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.6;
  }

  /* ── CSS Variables ── */
  :root {
    --green:           #23a23a;
    --green-dark:      #1b7d2d;
    --green-light:     #eaf5ec;
    --copper:          #b87333;
    --white:           #ffffff;
    --off-white:       #f7f6f3;
    --card-bg:         #ffffff;
    --border:          #e4e2dc;
    --border-focus:    #23a23a;
    --text-primary:    #1a1a1a;
    --text-secondary:  #555551;
    --text-muted:      #888883;
    --radius-sm:       6px;
    --radius-md:       10px;
    --radius-lg:       16px;
    --shadow:          0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-hover:    0 2px 8px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-card:     0 2px 12px rgba(0,0,0,0.07), 0 8px 32px rgba(0,0,0,0.05);
  }

  /* ── Page Intro ── */
  .page-intro {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 3rem 2rem 2.5rem;
    text-align: center;
  }
  .page-intro-inner { max-width: 640px; margin: 0 auto; }
  .section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 0.5rem;
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .page-intro h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }
  .page-intro p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto;
  }
  .rates-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 13px;
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: none;
  }
  .rates-link:hover { text-decoration: underline; }

  /* ── Booking Layout ── */
  .booking-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3.5rem;
  }
  .booking-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
  }

  /* ── Form Sections ── */
  .booking-form { display: flex; flex-direction: column; gap: 1.25rem; }
  .form-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
  }
  .form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .form-section-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .form-section-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
  }

  /* ── Form Groups & Labels ── */
  .form-group { margin-bottom: 1.25rem; }
  .form-group:last-child { margin-bottom: 0; }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }
  .form-label .req { color: var(--copper); font-weight: 700; }
  .form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
  }

  /* ── Inputs ── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  textarea,
  select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--white);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  textarea {
    min-height: 110px;
    resize: vertical;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
  }
  input::placeholder, textarea::placeholder {
    color: var(--text-muted);
    font-weight: 400;
  }
  input:focus, textarea:focus, select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(35,162,58,0.12);
  }
  input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }

  /* ── Address Autocomplete ── */
  .address-autocomplete {
    position: relative;
  }
  .address-suggestions {
    list-style: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    max-height: 260px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    padding: 4px;
  }
  .address-suggestions.open { display: block; }
  .address-suggestions li {
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.45;
    transition: background 0.1s;
  }
  .address-suggestions li:hover,
  .address-suggestions li.active {
    background: var(--green-light);
    color: var(--green-dark);
  }
  .address-suggestions li .addr-main {
    font-weight: 600;
    display: block;
  }
  .address-suggestions li .addr-sub {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 1px;
  }
  .address-suggestions li:hover .addr-sub,
  .address-suggestions li.active .addr-sub {
    color: var(--green-dark);
    opacity: 0.85;
  }
  .address-suggestions .addr-empty {
    padding: 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    cursor: default;
  }
  .address-suggestions .addr-empty:hover { background: transparent; color: var(--text-muted); }

  /* ── Radio Cards ── */
  .radio-group { display: flex; flex-direction: column; gap: 8px; }
  .radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--white);
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    user-select: none;
  }
  .radio-card:hover {
    border-color: #c8d8cb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .radio-card.selected {
    border-color: var(--green);
    background: var(--green-light);
  }
  .radio-card input[type="radio"] {
    position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
  }
  .radio-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s;
  }
  .radio-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    transition: opacity 0.15s;
  }
  .radio-card.selected .radio-dot { border-color: var(--green); }
  .radio-card.selected .radio-dot::after { opacity: 1; }
  .radio-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
  }
  .radio-card.selected .radio-text { color: var(--green-dark); font-weight: 600; }

  /* Time-of-day pills (horizontal radio group) */
  .time-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .time-pills .radio-card {
    flex: 1;
    min-width: 110px;
    justify-content: center;
    padding: 9px 14px;
  }

  /* ── Checkbox Cards ── */
  .checkbox-group { display: flex; flex-direction: column; gap: 8px; }
  .checkbox-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--white);
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    user-select: none;
  }
  .checkbox-card:hover {
    border-color: #c8d8cb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .checkbox-card.selected {
    border-color: var(--green);
    background: var(--green-light);
  }
  .checkbox-card input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
  }
  .checkbox-box {
    width: 18px; height: 18px;
    border-radius: 4px;
    border: 2px solid var(--border);
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
  }
  .checkbox-box::after {
    content: '';
    position: absolute;
    left: 4px; top: 1px;
    width: 6px; height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(40deg);
    opacity: 0;
    transition: opacity 0.15s;
  }
  .checkbox-card.selected .checkbox-box {
    border-color: var(--green);
    background: var(--green);
  }
  .checkbox-card.selected .checkbox-box::after { opacity: 1; }
  .checkbox-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .checkbox-name { font-size: 14px; font-weight: 500; color: var(--text-primary); }
  .checkbox-card.selected .checkbox-name { color: var(--green-dark); font-weight: 600; }
  .checkbox-price { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
  .checkbox-card.selected .checkbox-price { color: var(--green-dark); }

  .addon-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .addon-note strong { color: var(--text-secondary); }
  .addon-note a { color: var(--green-dark); font-weight: 600; text-decoration: none; }
  .addon-note a:hover { text-decoration: underline; }

  /* Honey-pot anti-spam field (hidden) */
  .honey-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    opacity: 0;
  }

  /* ── Submit ── */
  .submit-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow);
    text-align: center;
  }
  .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    padding: 14px 32px;
    border-radius: 99px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 2px 12px rgba(35,162,58,0.25);
  }
  .submit-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(35,162,58,0.32);
  }
  .submit-btn::after { content: '→'; }
  .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
  .submit-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 0.9rem;
    line-height: 1.6;
  }

  /* ── Success/Error Messages ── */
  .form-message {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 14px;
    line-height: 1.6;
    display: none;
  }
  .form-message.success {
    background: var(--green-light);
    border: 1px solid #c8eacf;
    color: var(--green-dark);
    display: block;
  }
  .form-message.error {
    background: #fdf0f0;
    border: 1px solid #f0c8c8;
    color: #b53a3a;
    display: block;
  }
  .form-message a { color: inherit; font-weight: 700; }

  /* ── Sidebar ── */
  /* --sidebar-top-offset controls how far below the viewport top the sticky
     sidebar sits. Increase if your WordPress theme has a taller sticky header,
     decrease if it has no sticky header. */
  :root { --sidebar-top-offset: 130px; }

  .booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: var(--sidebar-top-offset);
    max-height: calc(100vh - var(--sidebar-top-offset) - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    /* Subtle thin scrollbar so it doesn't dominate the sidebar */
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    /* Compensate for the scrollbar so card shadows aren't clipped */
    padding-right: 4px;
    margin-right: -4px;
  }
  .booking-sidebar::-webkit-scrollbar { width: 6px; }
  .booking-sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 99px;
  }
  .booking-sidebar::-webkit-scrollbar-track { background: transparent; }
  .info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow);
  }
  .info-card h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .info-card h3::before { font-size: 16px; }
  .info-card.expect h3::before  { content: '📋'; }
  .info-card.contact h3::before { content: '📞'; }
  .info-card.areas h3::before   { content: '📍'; }

  .steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  .steps-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
  }
  .step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .step-num.done { background: var(--green); color: #fff; }
  .steps-list strong { color: var(--text-primary); font-weight: 600; }

  .contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 13px;
  }
  .contact-row a {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 600;
  }
  .contact-row a:hover { text-decoration: underline; }
  .contact-row .label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
  }

  .area-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .area-chip {
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 99px;
    border: 1px solid #c8eacf;
  }

  /* ── Responsive ── */
  @media (max-width: 820px) {
    .booking-grid { grid-template-columns: 1fr; }
    .booking-sidebar { position: static; }
  }
  @media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
    .form-section { padding: 1.25rem; }
    .page-intro h1 { font-size: 26px; }
    .booking-wrap { padding: 1.5rem 1rem 2.5rem; }
  }
