:root {
  --ink: #082f54;
  --ink-soft: #4d779e;
  --teal: #013e75;
  --teal-2: #075b9c;
  --mint: #d7f1fc;
  --mint-soft: #eef8fd;
  --paper: #fff;
  --sand: #f3f8fc;
  --line: #cedfec;
  --accent: #00adef;
  --accent-dark: #006d9e;
  --danger: #b42318;
  --success: #176d5b;
  --shadow: 0 18px 48px rgba(1, 62, 117, 0.1);
  --radius-control: 14px;
  --radius-card: 20px;
  --radius-panel: 28px;
  --radius-shell: 32px;
  --serif: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(0, 173, 239, 0.1), transparent 29rem),
    linear-gradient(180deg, #fcfcfc 0, #f3f8fc 60%, #eef6fb 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

button, input, select, textarea { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .form-step h2:focus-visible {
  outline: 3px solid rgba(0, 173, 239, .55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.toast-region {
  width: min(420px, calc(100vw - 32px));
  position: fixed;
  z-index: 1000;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  pointer-events: none;
}
.warning-toast {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: start;
  padding: 16px 12px 16px 16px;
  color: #5c3d00;
  background: #fff8e7;
  border: 1px solid #d7a82d;
  border-left: 5px solid #b77900;
  border-radius: var(--radius-control);
  box-shadow: 0 18px 44px rgba(8, 47, 84, .22);
  pointer-events: auto;
  animation: toast-in .2s ease both;
}
.warning-toast[data-tone="error"] { color: #7a271a; background: #fff4f1; border-color: #e58d7e; border-left-color: var(--danger); }
.warning-toast-icon { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: #b77900; border-radius: 50%; font-size: 17px; font-weight: 800; }
.warning-toast[data-tone="error"] .warning-toast-icon { background: var(--danger); }
.warning-toast p { margin: 0; padding: 1px 0; font-size: 13px; line-height: 1.45; }
.warning-toast p strong, .warning-toast p span { display: block; }
.warning-toast p strong { margin-bottom: 2px; color: inherit; font-size: 14px; }
.warning-toast button { width: 44px; height: 44px; margin: -7px -5px 0 0; padding: 0; color: currentColor; background: transparent; border: 0; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.warning-toast button:hover { background: rgba(8, 47, 84, .08); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(1, 62, 117, 0.12);
}

.brand { display: inline-flex; align-items: center; color: var(--teal); text-decoration: none; }
.brand img { display: block; width: min(209px, 44vw); height: auto; }

.header-note { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 173, 239, 0.13); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.hero { max-width: 900px; padding: 74px 0 58px; }
.eyebrow, .step-kicker { color: var(--accent-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.hero h1 { margin: 14px 0 22px; color: var(--teal); font-family: var(--serif); font-size: clamp(48px, 7vw, 80px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; }
.hero h1 em { color: var(--accent); font-style: normal; font-weight: 700; }
.hero > p { max-width: 680px; margin: 0; color: var(--ink-soft); font-family: var(--sans); font-size: 19px; line-height: 1.55; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 28px; color: var(--teal); font-size: 13px; font-weight: 600; }
.trust-row span::before { content: "✓"; display: inline-grid; width: 19px; height: 19px; margin-right: 8px; place-items: center; color: #fff; background: var(--accent); border-radius: 50%; font-size: 11px; }

.calculator-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 710px;
  margin-bottom: 80px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(1, 62, 117, 0.1);
  border-radius: var(--radius-shell);
  box-shadow: var(--shadow);
}

.progress-panel { padding: 35px 28px 28px; color: #fff; background: linear-gradient(165deg, #013e75 0%, #005a9c 100%); }
.progress-heading { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: 0.16em; }
.progress-heading strong { font-size: 11px; letter-spacing: 0; text-transform: none; }
.progress-track { height: 3px; margin: 12px 0 32px; overflow: hidden; background: rgba(255,255,255,.15); border-radius: 5px; }
.progress-track span { display: block; width: 16.67%; height: 100%; background: var(--accent); border-radius: inherit; transition: width .35s ease; }
.step-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.step-list li { min-height: 76px; position: relative; }
.step-list li:not(:last-child)::after { content: ""; position: absolute; top: 30px; bottom: -5px; left: 14px; width: 1px; background: rgba(255,255,255,.22); }
.step-list button { width: 100%; display: grid; grid-template-columns: 33px 1fr; gap: 12px; align-items: start; padding: 0; position: relative; z-index: 1; color: inherit; background: transparent; border: 0; text-align: left; opacity: .48; cursor: pointer; transition: opacity .25s ease; }
.step-list button:disabled { cursor: not-allowed; }
.step-list .step-number { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: 50%; font-size: 11px; font-weight: 700; }
.step-list li strong { display: block; padding-top: 1px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.step-list li small { display: block; margin-top: 3px; color: rgba(255,255,255,.76); font-size: 11px; line-height: 1.35; }
.step-list li.active button, .step-list li.complete button { opacity: 1; }
.step-list li.active .step-number { color: var(--ink); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(0,173,239,.14); }
.step-list li.complete .step-number { color: var(--teal); background: var(--mint); border-color: var(--mint); font-size: 0; }
.step-list li.complete .step-number::after { content: "✓"; font-size: 12px; }

.quote-form { --form-gutter: clamp(34px, 6vw, 78px); min-width: 0; display: flex; flex-direction: column; position: relative; }
.form-step { flex: 1; padding: 50px var(--form-gutter) 32px; animation: step-in .35s ease both; }
.form-step[hidden] { display: none; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 11px; }
.step-kicker span { width: 27px; height: 1px; background: currentColor; }
.form-step h2 { max-width: 650px; margin: 0; color: var(--teal); font-family: var(--sans); font-size: clamp(32px, 4vw, 47px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }
.step-intro { max-width: 650px; margin: 14px 0 35px; color: var(--ink-soft); font-size: 14px; }
.demo-notice { padding: 14px 16px; color: var(--ink); background: var(--mint-soft); border: 1px solid #c5e5f3; border-radius: var(--radius-control); }
.demo-notice strong { display: block; margin-bottom: 2px; color: var(--teal); }

.field-group { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.field-group > label, .field-group > legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 9px; color: var(--ink); font-size: 13px; font-weight: 750; }
.field-group > label span, .field-group > legend span { color: var(--ink-soft); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.field-group > small, .field-help { display: block; margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; }
.field-help { margin: -4px 0 12px; }
.location-grid { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(220px, 1fr); gap: 16px; }
.service-area-status { margin: -12px 0 26px; padding: 14px 16px; color: var(--ink); background: var(--mint-soft); border: 1px solid #c5e5f3; border-left-width: 4px; border-radius: 6px var(--radius-control) var(--radius-control) 6px; font-size: 12px; line-height: 1.5; }
.service-area-status[data-tone="warning"] { color: #6f4a00; background: #fff8e7; border-color: #d7a82d; }
.service-area-status[data-tone="error"] { color: #7a271a; background: #fff4f1; border-color: #e58d7e; }
.service-area-status[data-tone="success"] { color: var(--success); background: #eaf5ef; border-color: #badbcf; }
.service-area-status a { color: inherit; font-weight: 800; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfd3e3;
  border-radius: var(--radius-control);
  outline: 0;
  transition: border-color .18s, box-shadow .18s;
}
select { font-size: 14px; }
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(0, 173, 239, .15); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-group.has-error > label, .field-group.has-error > legend, .storey-panel.has-error .storey-heading h3, .room-row.has-error strong, .toggle-row.has-error strong, .scope-card.has-error strong { color: var(--danger); }
.storey-panel.has-error, .room-row.has-error, .toggle-row.has-error, .scope-card.has-error { border-color: #e58d7e; box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
.consent-row.has-error { padding: 10px 12px; color: #7a271a; background: #fff4f1; border: 1px solid #e58d7e; border-radius: var(--radius-control); }

.choice-grid { display: grid; gap: 10px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-card { min-height: 96px; padding: 15px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); cursor: pointer; transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.choice-card:hover { transform: translateY(-1px); border-color: #8ebad8; box-shadow: 0 8px 20px rgba(1, 62, 117, .06); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-control { width: 17px; height: 17px; display: block; margin-bottom: 11px; border: 1px solid #8eacc4; border-radius: 50%; }
.choice-card strong { display: block; color: var(--ink); font-size: 12px; }
.choice-card small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.choice-card:has(input:checked) { background: var(--mint-soft); border-color: var(--accent-dark); box-shadow: inset 0 0 0 1px var(--accent-dark); }
.choice-card input:focus-visible + .choice-control { box-shadow: 0 0 0 4px rgba(0,173,239,.18); }
.choice-card:has(input:checked) .choice-control { border: 5px solid var(--accent-dark); }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.scope-card { display: flex; min-height: 214px; padding: 17px; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.scope-card:hover { transform: translateY(-2px); border-color: #8ebad8; box-shadow: 0 10px 24px rgba(1, 62, 117, .07); }
.scope-card input { position: absolute; inset: 13px 13px auto auto; width: 18px; height: 18px; accent-color: var(--teal); }
.scope-card:has(input:checked) { background: var(--mint-soft); border-color: var(--accent-dark); box-shadow: inset 0 0 0 1px var(--accent-dark); }
.scope-card strong { display: block; font-family: var(--sans); font-size: 18px; font-weight: 700; }
.scope-card small { display: block; max-width: 150px; margin-top: 5px; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.scope-illustration { width: 100%; height: 105px; display: flex; align-items: center; justify-content: center; position: relative; padding: 10px; }
.scope-illustration img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; margin: 0 auto; }

.info-callout { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: start; margin-top: 28px; margin-bottom: 24px; padding: 14px 16px; background: var(--mint-soft); border-left: 3px solid var(--accent); border-radius: 6px var(--radius-control) var(--radius-control) 6px; }
.info-callout > span { width: 22px; height: 22px; display: grid; place-items: center; color: var(--teal); border: 1px solid var(--accent); border-radius: 50%; font-family: var(--sans); font-size: 12px; font-weight: 700; }
.info-callout p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.info-callout strong { display: block; color: var(--ink); font-size: 11px; }
.info-callout a { color: var(--teal); font-weight: 700; }

.storey-panel { margin: 0 0 28px; padding: 24px; background: #f8fbfd; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.storey-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.storey-heading h3 { margin: 0; color: var(--teal); font-family: var(--sans); font-size: 22px; font-weight: 700; }
.area-readout { color: var(--teal-2); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.area-readout[data-tone="warning"] { max-width: 310px; padding: 7px 10px; color: #6f4a00; background: #fff8e7; border: 1px solid #d7a82d; border-radius: 8px; font-size: 12px; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.area-readout[data-tone="warning"]::before { content: "!"; display: inline-grid; width: 18px; height: 18px; margin-right: 6px; place-items: center; color: #fff; background: #b77900; border-radius: 50%; font-size: 11px; }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.room-row { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; background: #fff; border: 1px solid #dbe8f1; border-radius: var(--radius-control); }
.room-row strong { display: block; font-size: 11px; }
.room-row small { display: block; color: var(--ink-soft); font-size: 10px; }
.room-row-select { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr); margin-bottom: 16px; }
.room-row-select select { min-height: 42px; }
.space-options { margin-top: 20px; padding-top: 6px; border-top: 1px solid var(--line); }
.stepper { display: grid; grid-template-columns: 28px 30px 28px; align-items: center; flex: 0 0 auto; text-align: center; }
.stepper button { width: 28px; height: 28px; padding: 0; color: var(--teal); background: var(--mint-soft); border: 1px solid #bcd9e9; border-radius: 50%; cursor: pointer; }
.stepper button:hover { background: var(--mint); }
.stepper button:disabled,
.stepper button:disabled:hover { color: #8298aa; background: #edf2f5; border-color: #d9e2e8; cursor: not-allowed; opacity: .55; }
.stepper output { font-size: 12px; font-weight: 800; }
.toggle-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid #dbe8f1; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row strong { display: block; font-size: 12px; }
.toggle-row small { display: block; color: var(--ink-soft); font-size: 10px; }
.toggle-row .stepper { justify-self: end; }
.segmented { display: inline-flex; padding: 3px; gap: 2px; background: #e8f2f8; border-radius: 999px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { min-height: 29px; display: grid; place-items: center; padding: 5px 10px; color: var(--ink-soft); border-radius: 999px; font-size: 9px; font-weight: 700; }
.segmented label:has(input:checked) span { color: #fff; background: var(--teal); box-shadow: 0 1px 3px rgba(1,62,117,.14); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.conditional { margin-left: 16px; padding-left: 16px; border-left: 2px solid var(--mint); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.contact-grid .full { grid-column: 1 / -1; }
.consent-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 4px 0 18px; color: var(--ink-soft); font-size: 11px; cursor: pointer; }
.consent-row input { width: 17px; height: 17px; margin: 0; accent-color: var(--teal); }
.consent-row strong { color: var(--ink); font-size: 9px; text-transform: uppercase; }
.privacy-note { padding: 13px 15px; color: var(--ink-soft); background: var(--mint-soft); border-radius: var(--radius-control); font-size: 10px; }
.privacy-note span { margin-right: 7px; color: var(--teal); font-weight: 800; }

.form-actions { min-height: 82px; display: flex; align-items: center; gap: 12px; padding: 18px var(--form-gutter); background: #f8fbfd; border-top: 1px solid #dbe8f1; }
.form-actions[hidden] { display: none; }
.form-actions > [hidden] { display: none; }
.form-actions p { margin: 0 auto 0 0; color: #75878a; font-size: 9px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 22px; color: var(--ink); background: transparent; border: 0; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: background .18s, transform .18s, opacity .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary { min-width: 150px; color: var(--ink); background: var(--accent); box-shadow: 0 8px 18px rgba(0,173,239,.2); }
.button.primary:hover { background: #43c3f2; box-shadow: 0 10px 22px rgba(0,135,193,.22); }
.button.primary:disabled { opacity: .55; cursor: wait; transform: none; }
.button.back { padding-left: 0; color: var(--ink-soft); }
.button.wide { width: 100%; min-height: 52px; margin-top: 20px; }

.error-summary { margin: 24px var(--form-gutter) -22px; padding: 15px 17px; color: #7a271a; background: #fff4f1; border: 1px solid #e58d7e; border-left: 4px solid var(--danger); border-radius: 6px var(--radius-control) var(--radius-control) 6px; font-size: 12px; }
.error-summary strong { display: block; margin-bottom: 3px; }
.error-summary ul { margin: 3px 0 0; padding-left: 18px; }
.field-error { display: block; margin-top: 5px; color: var(--danger); font-size: 10px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

#estimate-result { min-width: 0; }
.estimate-hero { margin: -50px calc(0px - var(--form-gutter)) 32px; padding: 45px var(--form-gutter) 40px; color: #fff; background: linear-gradient(145deg, #013e75 0%, #075b9c 100%); }
.estimate-hero .step-kicker { color: #6ed8ff; }
.estimate-hero h2 { color: #fff; }
.estimate-hero > p { max-width: 580px; color: rgba(255,255,255,.72); }
.price-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 28px; overflow: hidden; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-card); }
.price-card { min-width: 0; min-height: 108px; padding: clamp(18px, 2.5vw, 24px); background: rgba(255,255,255,.06); }
.price-card.featured { background: #eff9fe; color: var(--teal); }
.price-card.exact { grid-column: 1 / -1; }
.price-card small { display: block; color: inherit; opacity: .7; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.price-card strong { display: block; margin-top: 7px; font-family: var(--sans); font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1; }
.price-card.featured strong { font-size: clamp(27px, 4vw, 42px); }
.price-band-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estimate-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 17px; color: rgba(255,255,255,.65); font-size: 9px; }
.estimate-meta span::before { content: "✓"; margin-right: 6px; color: #6ed8ff; }
.estimate-section { margin: 0 0 30px; }
.estimate-section h3 { margin: 0 0 13px; font-family: var(--sans); font-size: 20px; font-weight: 700; }
.breakdown-list { margin: 0; padding: 0; list-style: none; }
.breakdown-list li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; color: var(--ink-soft); font-size: 11px; }
.breakdown-list strong { color: var(--ink); }
.breakdown-list small { margin-left: 4px; color: var(--ink-soft); font-weight: 400; }
.price-summary-list { margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden; }
.price-summary-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 14px; }
.price-summary-list > div + div { border-top: 1px solid var(--line); }
.price-summary-list dt { color: var(--ink-soft); font-size: 12px; }
.price-summary-list dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 800; }
.price-summary-list .total { padding: 16px 14px; }
.price-summary-list .total dt { color: var(--ink); font-weight: 800; }
.price-summary-list .total { background: var(--teal); }
.price-summary-list .total dt, .price-summary-list .total dd { color: #fff; }
.floor-price-note { margin: 0 0 10px; padding: 0 14px; color: var(--ink-soft); font-size: 11px; }
.floor-price-list { margin: 0 0 12px; background: #f8fbfd; border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden; }
.floor-price-group { padding: 16px 14px; }
.floor-price-group + .floor-price-group { border-top: 1px solid var(--line); }
.floor-price-group h4 { margin: 0; color: var(--ink); font-size: 12px; font-weight: 800; }
.floor-price-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.floor-price-values { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink); font-size: 12px; }
.floor-price-values span, .floor-price-values strong, .selection-area { white-space: nowrap; }
.floor-selection-list { margin: 0; padding: 0; list-style: none; }
.floor-selection-list li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0 5px 12px; color: var(--ink-soft); font-size: 11px; }
.floor-extras-label { margin: 10px 0 3px 12px; color: var(--ink); font-size: 10px; font-weight: 700; }
.inclusions-callout { padding: 22px 24px; background: var(--mint-soft); border: 1px solid #c5e5f3; border-radius: var(--radius-card); }
.inclusions-callout .step-kicker { margin-bottom: 8px; }
.inclusions-callout h3 { margin-bottom: 6px; }
.inclusions-callout p:not(.step-kicker) { margin: 0; color: var(--ink-soft); font-size: 12px; }
.inclusions-callout a { display: inline-block; margin-top: 9px; color: var(--teal); font-size: 10px; font-weight: 700; }
.narrow-range > p { color: var(--ink-soft); font-size: 11px; }
.unknown-list { margin: 0; padding: 14px 16px 14px 34px; color: var(--ink); background: var(--mint-soft); border: 1px solid #c5e5f3; border-radius: var(--radius-control); font-size: 11px; }
.unknown-list .enquiry-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.delivery-message { margin: 20px 0 0; padding: 13px 15px; color: var(--success); background: #eaf5ef; border-radius: var(--radius-control); font-size: 10px; }
.estimate-hero .delivery-message { color: #205f4c; background: #eaf5ef; }
.service-review-warning { margin: 12px 0 0; padding: 14px 16px; color: #6f4a00 !important; background: #fff8e7; border: 1px solid #d7a82d; border-left: 4px solid #b77900; border-radius: 6px var(--radius-control) var(--radius-control) 6px; font-size: 12px; line-height: 1.5; }
.service-review-warning strong { display: block; margin-bottom: 2px; color: #5c3d00; }
.enquiry-panel { margin-top: 36px; padding-top: 34px; border-top: 1px solid var(--line); }
.enquiry-panel h2 { font-size: 35px; }
.qualification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.qualification-grid .full { grid-column: 1 / -1; }
.file-note { color: var(--ink-soft); font-size: 9px; }
.submit-status { min-height: 18px; margin: 9px 0 0; text-align: center; color: var(--success); font-size: 10px; }
.submit-status[data-state="progress"] { color: var(--ink-soft); }
.submit-status[data-state="error"] { color: var(--danger); }
.thank-you-panel { margin-top: 22px; padding: 24px; text-align: center; background: var(--mint-soft); border: 1px solid #c5e5f3; border-radius: var(--radius-card); }
.thank-you-panel h3 { margin: 0 0 6px; color: var(--teal); font-size: 22px; }
.thank-you-panel p { margin: 0 0 18px; color: var(--ink-soft); font-size: 11px; }
.thank-you-panel p:last-child { margin-bottom: 0; }
.thank-you-panel .thank-you-lede { color: var(--ink); font-size: 14px; font-weight: 700; }
.thank-you-panel a { color: var(--teal); font-weight: 700; }
.thank-you-panel .button { text-decoration: none; }

.site-footer { width: min(1180px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 30px 0 50px; color: var(--ink-soft); border-top: 1px solid rgba(1,62,117,.12); font-size: 10px; }
.site-footer p { margin: 0; }

html.is-embedded,
html.is-embedded body { background: transparent; }
html.is-embedded .site-header,
html.is-embedded .hero,
html.is-embedded .site-footer { display: none; }
html.is-embedded main { width: 100%; }
html.is-embedded .calculator-shell {
  margin: 0;
  box-shadow: none;
}
.embed-error { width: min(100% - 32px, 720px); margin: 32px auto; padding: 28px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.embed-error h1 { margin: 0 0 8px; color: var(--teal); font-size: 28px; }
.embed-error p { margin: 0; color: var(--ink-soft); }

@media (max-width: 900px) {
  .calculator-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .progress-panel { padding: 28px 20px; }
  .choice-grid.three, .scope-grid { grid-template-columns: 1fr; }
  .scope-card { min-height: 126px; display: grid; grid-template-columns: 105px 1fr; align-items: center; }
  .scope-card input { grid-column: 2; }
  .scope-illustration { height: 90px; }
  .room-grid { grid-template-columns: 1fr; }
  .price-band { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
}

@media (max-width: 680px) {
  .toast-region { width: calc(100vw - 26px); top: max(13px, env(safe-area-inset-top)); right: 13px; }
  .site-header, main, .site-footer { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 72px; }
  .header-note { display: none; }
  .hero { padding: 48px 4px 38px; }
  .hero h1 { font-size: clamp(42px, 14vw, 62px); }
  .hero > p { font-size: 17px; }
  .calculator-shell { display: block; margin: 0 -13px 50px; border-radius: var(--radius-panel); }
  .quote-form { --form-gutter: 20px; }
  .progress-panel { padding: 18px 20px 16px; }
  .progress-heading { align-items: center; }
  .progress-track { margin: 10px 0 0; }
  .step-list { display: none; }
  .form-step { padding: 36px var(--form-gutter) 25px; }
  .form-step h2 { font-size: 34px; }
  .choice-grid.three { grid-template-columns: 1fr; }
  .choice-card { min-height: 78px; padding: 13px 13px 13px 47px; }
  .choice-control { position: absolute; left: 15px; top: 19px; }
  .scope-card { min-height: 112px; grid-template-columns: 90px 1fr; padding: 13px; }
  .scope-illustration { height: 82px; }
  .storey-panel { padding: 18px 14px; }
  .storey-heading { display: block; }
  .area-readout { display: block; margin-top: 5px; }
  select { font-size: 16px; }
  .toggle-row { grid-template-columns: 1fr; }
  .toggle-row .stepper { justify-self: start; }
  .segmented { width: 100%; }
  .segmented label { flex: 1; }
  .contact-grid, .qualification-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-grid .full, .qualification-grid .full { grid-column: auto; }
  .form-actions { position: sticky; z-index: 10; bottom: 0; padding: 13px var(--form-gutter); box-shadow: 0 -9px 24px rgba(23,52,59,.08); }
  .form-actions p { display: none; }
  .button.primary { margin-left: auto; }
  .error-summary { margin: 18px var(--form-gutter) -20px; }
  .estimate-hero { margin: -36px calc(0px - var(--form-gutter)) 28px; padding: 36px var(--form-gutter) 30px; }
  .estimate-section { margin-bottom: 24px; }
  .room-row-select { grid-template-columns: 1fr; }
  .price-band-summary { grid-template-columns: 1fr; }
  .site-footer { display: block; }
  .site-footer p + p { margin-top: 5px; }
  html.is-embedded main { width: 100%; }
  html.is-embedded .calculator-shell { margin: 0; border-radius: var(--radius-card); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
