/* Booking intake wizard — a demo replica of the client's Jobber intake flow,
   restyled in the SoCal Air design language (cream surfaces, --acd accent,
   Bricolage/Manrope/JetBrains Mono) instead of Jobber's blue-on-white.
   Structure and copy mirror the real form; nothing is submitted anywhere. */

#sca-intake {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: #101012;
  margin: 48px 0 0;
}

.sca-ik-card {
  background: #F9F6EC;
  border-radius: 26px;
  padding: 40px clamp(20px, 4vw, 44px) 32px;
}

/* ---- progress ---- */
.sca-ik-steps {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0 0 34px;
}
.sca-ik-steps i {
  display: block;
  width: clamp(44px, 9vw, 78px);
  height: 7px;
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.11);
  transition: background 0.25s ease;
}
.sca-ik-steps i.on { background: var(--acd, #4f6f8f); }

.sca-ik-h {
  margin: 0 0 6px;
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}
.sca-ik-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  font-size: 15px;
  color: #57524a;
}
.sca-ik-req {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #756e60;
  background: rgba(16, 16, 18, 0.06);
  border-radius: 999px;
  padding: 4px 9px;
}
.sca-ik-legend {
  margin: 26px 0 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ac, #8aa0b8);
}

/* ---- services ---- */
.sca-ik-svc {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(16, 16, 18, 0.08);
}
.sca-ik-svc:first-of-type { border-top: none; }
.sca-ik-svc-body { flex: 1; min-width: 0; }
.sca-ik-svc-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.sca-ik-svc-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #57524a;
}
.sca-ik-svc-desc.clip {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sca-ik-more {
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--acd, #4f6f8f);
  cursor: pointer;
}
.sca-ik-price {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #101012;
  white-space: nowrap;
  padding-top: 2px;
}

/* ---- controls ---- */
.sca-ik-check {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1.5px solid rgba(16, 16, 18, 0.28);
  border-radius: 6px;
  background: #FFFDF5;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sca-ik-check:checked {
  background: var(--acd, #4f6f8f);
  border-color: var(--acd, #4f6f8f);
}
.sca-ik-check:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #FAF7F0;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.sca-ik-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sca-ik-grid.thirds { grid-template-columns: 2fr 1.4fr 1fr; }
.sca-ik-field { position: relative; }
.sca-ik-field.full { grid-column: 1 / -1; }
.sca-ik-field label {
  position: absolute;
  top: 9px;
  left: 17px;
  font-size: 11.5px;
  color: #8a8377;
  pointer-events: none;
}
.sca-ik-field input,
.sca-ik-field select,
#sca-intake textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15.5px;
  color: #101012;
  background: #FFFDF5;
  border: 1px solid rgba(16, 16, 18, 0.14);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sca-ik-field input,
.sca-ik-field select { padding: 26px 16px 9px; height: 60px; }
.sca-ik-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357524a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 17px;
  cursor: pointer;
}
#sca-intake textarea {
  min-height: 132px;
  padding: 15px 16px;
  line-height: 1.55;
  resize: vertical;
}
.sca-ik-field input:focus,
.sca-ik-field select:focus,
#sca-intake textarea:focus {
  border-color: var(--acd, #4f6f8f);
  box-shadow: 0 0 0 3px rgba(79, 111, 143, 0.14);
}

.sca-ik-opt {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #3d3a33;
  cursor: pointer;
}
.sca-ik-fine {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #756e60;
}

/* ---- images ---- */
.sca-ik-imgs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sca-ik-thumb {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 18, 0.12);
  background: #FFFDF5;
}
.sca-ik-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sca-ik-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 21px;
  height: 21px;
  border: none;
  border-radius: 50%;
  background: rgba(16, 16, 18, 0.62);
  color: #FAF7F0;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.sca-ik-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 82px;
  border: 1.5px dashed rgba(16, 16, 18, 0.22);
  border-radius: 16px;
  background: none;
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  color: #756e60;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sca-ik-drop:hover { border-color: var(--acd, #4f6f8f); background: rgba(79, 111, 143, 0.05); }
.sca-ik-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #756e60;
  background: rgba(16, 16, 18, 0.06);
  border-radius: 999px;
  padding: 4px 9px;
}

/* ---- calendar ---- */
.sca-ik-cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.sca-ik-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sca-ik-cal-head strong { font-size: 16px; font-weight: 700; }
.sca-ik-nav { display: flex; gap: 6px; }
.sca-ik-nav button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(16, 16, 18, 0.14);
  border-radius: 50%;
  background: #FFFDF5;
  cursor: pointer;
  font-size: 15px;
  color: #101012;
  line-height: 1;
}
.sca-ik-dow, .sca-ik-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.sca-ik-dow span {
  text-align: center;
  padding: 6px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #8a8377;
}
.sca-ik-days button {
  aspect-ratio: 1;
  border: none;
  border-radius: 11px;
  background: none;
  font-family: inherit;
  font-size: 14.5px;
  color: #101012;
  cursor: pointer;
  transition: background 0.14s ease;
}
.sca-ik-days button:hover:not(:disabled) { background: rgba(16, 16, 18, 0.06); }
.sca-ik-days button:disabled { color: rgba(16, 16, 18, 0.26); cursor: default; }
.sca-ik-days button.off {
  background: rgba(16, 16, 18, 0.07);
  color: rgba(16, 16, 18, 0.3);
  cursor: default;
}
.sca-ik-days button.sel { background: var(--acd, #4f6f8f); color: #FAF7F0; font-weight: 700; }
.sca-ik-days .pad { visibility: hidden; }

.sca-ik-slot {
  display: block;
  width: 100%;
  text-align: left;
  padding: 17px 18px;
  margin-bottom: 10px;
  border: 1px solid rgba(16, 16, 18, 0.14);
  border-radius: 14px;
  background: #FFFDF5;
  font-family: inherit;
  font-size: 15px;
  color: #101012;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.sca-ik-slot:hover { border-color: rgba(16, 16, 18, 0.3); }
.sca-ik-slot.sel {
  border-color: var(--acd, #4f6f8f);
  background: rgba(79, 111, 143, 0.1);
  font-weight: 700;
}

/* ---- review ---- */
.sca-ik-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(16, 16, 18, 0.08);
  font-size: 14.5px;
}
.sca-ik-row:first-of-type { border-top: none; }
.sca-ik-row dt { color: #756e60; margin: 0; }
.sca-ik-row dd { margin: 0; font-weight: 600; text-align: right; }

/* ---- subtotal + actions ---- */
.sca-ik-total {
  margin-top: 26px;
  background: #FFFDF5;
  border: 1px solid rgba(16, 16, 18, 0.09);
  border-radius: 18px;
  padding: 20px 24px;
}
.sca-ik-total span { display: block; font-size: 14px; color: #57524a; }
.sca-ik-total strong {
  display: block;
  margin-top: 2px;
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.1;
}
.sca-ik-note {
  margin: 16px 0 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8a8377;
}
.sca-ik-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.sca-ik-btn {
  height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease, background 0.15s ease;
}
.sca-ik-btn:active { transform: scale(0.97); }
.sca-ik-btn.ghost {
  border: 1px solid rgba(16, 16, 18, 0.16);
  background: #FFFDF5;
  color: #101012;
}
.sca-ik-btn.primary {
  border: 1px solid transparent;
  background: var(--acd, #4f6f8f);
  color: #FAF7F0;
}
.sca-ik-btn.primary:hover { filter: brightness(0.93); }

.sca-ik-done {
  text-align: center;
  padding: 30px 0 10px;
}
.sca-ik-done h3 {
  margin: 0 0 10px;
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 30px;
}
.sca-ik-done p { margin: 0 auto; max-width: 430px; font-size: 15px; color: #57524a; line-height: 1.6; }

@media (max-width: 768px) {
  #sca-intake { margin-top: 32px; }
  .sca-ik-card { padding: 30px 18px 24px; border-radius: 22px; }
  .sca-ik-grid, .sca-ik-grid.thirds { grid-template-columns: 1fr; }
  .sca-ik-cal-wrap { grid-template-columns: 1fr; gap: 26px; }
  .sca-ik-actions { justify-content: stretch; }
  .sca-ik-actions .sca-ik-btn { flex: 1; padding: 0 16px; }
  .sca-ik-svc { gap: 11px; }
  .sca-ik-price { font-size: 12px; }
}
