:root {
  --navy: #16324f;
  --blue: #22577a;
  --light: #f4f7f9;
  --border: #d8e0e6;
  --text: #1f2933;
  --muted: #607080;
  --success: #17663a;
  --danger: #a32828;
  --pilot-bg: #fff8df;
  --pilot-border: #d6ad36;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--light);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 28px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.intro {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 48px;
}

.form-column,
.summary-column,
.items {
  display: grid;
  gap: 20px;
}

.pilot-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--pilot-border);
  border-radius: 10px;
  background: var(--pilot-bg);
  padding: 14px 16px;
}

.pilot-banner strong {
  color: #6f5210;
}

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

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.section-heading > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.section-heading h2 {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 20px;
}

.section-heading p,
.muted,
.notice,
small {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wide { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 6px;
}

label strong { font-size: 14px; }

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bcc8d1;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  padding: 9px 11px;
  font: inherit;
}

input:focus,
select:focus,
button:focus {
  outline: 3px solid rgba(34, 87, 122, .2);
  outline-offset: 2px;
}

.empty-state {
  display: grid;
  gap: 4px;
  border: 1px dashed #aebbc5;
  border-radius: 10px;
  background: #f9fbfc;
  padding: 22px;
  text-align: center;
}

.empty-state span { color: var(--muted); }

.item-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.item-number {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.item-title {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 18px;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.booking-options .button {
  flex: 1 1 190px;
}

.button {
  min-height: 44px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--blue);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.button.full {
  width: 100%;
  margin-top: 12px;
}

.checks {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checks label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.checks input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.insurance {
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.service-note {
  margin: 14px 0 0;
  border-left: 4px solid var(--blue);
  background: #f2f7fa;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}

.sticky {
  position: sticky;
  top: 18px;
}

.summary h2 { color: var(--navy); }

.summary-lines {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding-top: 16px;
}

.total strong {
  color: var(--navy);
  font-size: 24px;
}

.notice {
  margin: 14px 0 0;
  font-size: 13px;
}

.message {
  border-radius: 10px;
  padding: 16px;
}

.message.success {
  border: 1px solid #90c5a5;
  background: #eef8f2;
  color: var(--success);
}

.message.error {
  border: 1px solid #e2a6a6;
  background: #fff3f3;
  color: var(--danger);
}

.hidden { display: none !important; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 20px, 1120px); }
  .site-header { padding-top: 26px; }
  .panel { padding: 16px; }
  .grid.two { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .button-row { display: grid; }
  .pilot-banner { grid-template-columns: 1fr; }
}
