/* All styles are scoped: the plugin leaves the WordPress header, footer and theme alone. */
.crmp {
  --crmp-ink: #212121;
  --crmp-muted: #4b5055;
  --crmp-paper: #f7f7f7;
  --crmp-line: #e3e3e3;
  --crmp-orange: #ff5829;
  --crmp-focus: #ad3514;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 30px 78px;
  background: var(--crmp-paper);
  color: var(--crmp-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
.crmp *, .crmp *::before, .crmp *::after { box-sizing: border-box; }
.crmp :focus-visible { outline: 3px solid var(--crmp-focus); outline-offset: 3px; }
.crmp h1, .crmp h2, .crmp h3, .crmp p { margin-top: 0; }
.crmp button, .crmp input { font: inherit; }
.crmp button { cursor: pointer; }

.crmp .crmp-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}
.crmp .crmp-eyebrow {
  margin: 0 0 15px;
  color: #ad3514;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.crmp .crmp-intro h1 {
  max-width: 800px;
  margin: 0;
  color: var(--crmp-ink);
  font-size: clamp(2.55rem, 5.2vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.07;
}
.crmp .crmp-intro > p {
  margin: 0 0 4px;
  color: var(--crmp-muted);
  font-size: 16px;
  line-height: 1.65;
}
.crmp .crmp-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
  gap: 22px;
  align-items: start;
}
.crmp .crmp-form, .crmp .crmp-estimate {
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(0,0,0,.035);
}
.crmp .crmp-form { overflow: hidden; background: #fff; border: 1px solid var(--crmp-line); }
.crmp .crmp-form-head {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 26px 30px 25px;
  border-bottom: 1px solid var(--crmp-line);
}
.crmp .crmp-step {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid #e5a28c;
  border-radius: 50%;
  color: #ad3514;
  font-size: 12px;
  font-weight: 800;
}
.crmp .crmp-form-head h2 {
  margin: 0;
  color: var(--crmp-ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.crmp .crmp-section { padding: 28px 30px 32px; border-bottom: 1px solid var(--crmp-line); }
.crmp .crmp-section:last-child { border-bottom: 0; }
.crmp .crmp-section-top {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.crmp .crmp-section-top h3 {
  margin: 0;
  color: var(--crmp-ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.crmp .crmp-section-top span { color: var(--crmp-muted); font-size: 14px; text-align: right; }
.crmp .crmp-segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.crmp .crmp-crew { position: relative; display: block; min-width: 0; cursor: pointer; }
.crmp .crmp-crew input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.crmp .crmp-crew > span {
  display: flex;
  flex-direction: column;
  min-height: 104px;
  padding: 17px 15px;
  border: 1.5px solid var(--crmp-line);
  border-radius: 5px;
  background: #fff;
  transition: border-color .18s, background .18s;
}
.crmp .crmp-crew strong { color: var(--crmp-ink); font-size: 16px; line-height: 1.25; }
.crmp .crmp-crew small { margin-top: auto; padding-top: 8px; color: var(--crmp-muted); font-size: 14px; }
.crmp .crmp-crew input:checked + span { border-color: var(--crmp-orange); background: #fff0e9; box-shadow: inset 0 0 0 1px var(--crmp-orange); }
.crmp .crmp-crew input:focus-visible + span { outline: 3px solid var(--crmp-focus); outline-offset: 3px; }
.crmp .crmp-helper { margin: 12px 0 0; color: var(--crmp-muted); font-size: 14px; }
.crmp .crmp-time-controls { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 23px; align-items: center; }
.crmp input[type="range"] { width: 100%; height: 30px; accent-color: var(--crmp-orange); cursor: pointer; }
.crmp .crmp-number-wrap { position: relative; }
.crmp .crmp-number-wrap input {
  width: 100%;
  min-height: 54px;
  padding: 9px 48px 9px 14px;
  border: 1.5px solid #a9a9a9;
  border-radius: 5px;
  background: #fff;
  color: var(--crmp-ink);
  font-size: 19px;
  font-weight: 700;
  appearance: textfield;
  -moz-appearance: textfield;
}
.crmp .crmp-number-wrap input::-webkit-inner-spin-button,
.crmp .crmp-number-wrap input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.crmp .crmp-number-wrap span { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--crmp-muted); font-size: 13px; pointer-events: none; }
.crmp .crmp-range-ends { display: flex; justify-content: space-between; margin-top: 1px; color: var(--crmp-muted); font-size: 13px; }
.crmp .crmp-extras { display: grid; gap: 10px; }
.crmp .crmp-extra {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 17px 18px;
  border: 1.5px solid var(--crmp-line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.crmp .crmp-extra:has(input:checked) { border-color: var(--crmp-orange); background: #fff0e9; }
.crmp .crmp-extra input { flex: none; width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--crmp-orange); }
.crmp .crmp-extra-copy { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.crmp .crmp-extra-copy strong { color: var(--crmp-ink); font-size: 15px; line-height: 1.3; }
.crmp .crmp-extra-copy small { color: var(--crmp-muted); font-size: 13px; line-height: 1.45; }
.crmp .crmp-extra-price { color: var(--crmp-ink); font-size: 14px; font-weight: 700; white-space: nowrap; }

.crmp .crmp-estimate { position: sticky; top: 24px; overflow: hidden; background: #1c1c1c; color: #fff; }
.crmp .crmp-accent { height: 6px; background: var(--crmp-orange); }
.crmp .crmp-estimate-inner { padding: 29px 29px 27px; }
.crmp .crmp-kicker { margin: 0 0 17px; color: #ddd; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.crmp .crmp-total {
  margin: 0;
  color: #fff;
  font-size: clamp(3.7rem, 6vw, 5.3rem);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.065em;
  line-height: 1;
}
.crmp .crmp-total-label { margin: 13px 0 0; color: #ddd; font-size: 14px; }
.crmp .crmp-receipt { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.24); }
.crmp .crmp-receipt h2 { margin: 0 0 17px; color: #fff; font-size: 15px; font-weight: 700; }
.crmp .crmp-receipt dl { display: grid; gap: 13px; margin: 0; }
.crmp .crmp-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; line-height: 1.4; }
.crmp .crmp-row[hidden] { display: none; }
.crmp .crmp-row dt { color: #ddd; }
.crmp .crmp-row dd { margin: 0; color: #fff; font-weight: 600; text-align: right; white-space: nowrap; }
.crmp .crmp-receipt-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 19px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.24); font-weight: 700; }
.crmp .crmp-receipt-total strong { color: #fff; font-size: 22px; }
.crmp .crmp-copy {
  display: block;
  width: 100%;
  margin: 26px 0 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 3px;
  background: var(--crmp-orange);
  color: #111;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  transition: filter .18s;
}
.crmp .crmp-copy:hover { filter: brightness(1.08); }
.crmp .crmp-copy-status { min-height: 19px; margin: 10px 0 0; color: #e2e2e2; font-size: 13px; }
.crmp .crmp-quote { display: inline-block; margin-top: 12px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--crmp-orange); text-underline-offset: 4px; }
.crmp .crmp-quote:hover { color: #ffd0c2; }
.crmp .crmp-estimate-note { margin: 0; padding: 18px 29px 21px; background: #292929; color: #ddd; font-size: 13px; line-height: 1.55; }
.crmp .crmp-under-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 0 2px; }
.crmp .crmp-under-note::before { content: ""; flex: none; width: 4px; height: 38px; border-radius: 4px; background: var(--crmp-orange); }
.crmp .crmp-under-note p { max-width: 720px; margin: 0; color: var(--crmp-muted); font-size: 14px; }
.crmp .crmp-mobile-total { display: none; }

@media (max-width: 900px) {
  .crmp .crmp-workspace { grid-template-columns: minmax(0, 1fr); }
  .crmp .crmp-estimate { position: static; }
  .crmp .crmp-intro { grid-template-columns: 1fr; gap: 14px; }
  .crmp .crmp-intro > p { max-width: 620px; }
}
@media (max-width: 620px) {
  .crmp { padding: 30px 16px 92px; }
  .crmp .crmp-intro { margin-bottom: 23px; }
  .crmp .crmp-intro h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .crmp .crmp-form-head { padding: 22px 20px; }
  .crmp .crmp-section { padding: 24px 20px 27px; }
  .crmp .crmp-section-top { display: block; }
  .crmp .crmp-section-top span { display: block; margin-top: 4px; text-align: left; }
  .crmp .crmp-segmented { gap: 6px; }
  .crmp .crmp-crew > span { min-height: 100px; padding: 13px 8px; }
  .crmp .crmp-crew strong { font-size: 14px; }
  .crmp .crmp-crew small { font-size: 13px; }
  .crmp .crmp-time-controls { grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; }
  .crmp .crmp-estimate-inner { padding: 26px 22px; }
  .crmp .crmp-estimate-note { padding: 17px 22px; }
  .crmp .crmp-mobile-total {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 17px calc(10px + env(safe-area-inset-bottom));
    background: var(--crmp-orange);
    box-shadow: 0 -5px 24px rgba(0,0,0,.18);
    color: #111;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .crmp .crmp-mobile-total strong { color: #111; font-size: 27px; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .crmp *, .crmp *::before, .crmp *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
