/* Visible Companies — Instant Estimator. Theme values come from :root vars set per client at build time. */
:root {
  --brand: #1f4e5f; --brand-ink: #fff; --accent: #e0a526;
  --bg: #f6f7f8; --surface: #fff; --ink: #16202a;
  --muted: color-mix(in srgb, var(--ink) 62%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 14%, var(--surface));
  --soft: color-mix(in srgb, var(--brand) 8%, var(--surface));
  --error: #b3261e;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 12px 32px rgba(16, 24, 32, .07);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
a { color: var(--brand); }
.vc-skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.vc-skip:focus { left: 8px; }
.vc-wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header / banner / hero */
.vc-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.vc-header .vc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.vc-logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.vc-logo img { max-height: 40px; width: auto; }
.vc-logo::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.vc-logo.has-img::before { display: none; }
.vc-header-cta { font-weight: 700; text-decoration: none; white-space: nowrap; }
.vc-demo-banner { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--ink); font-size: .88rem; text-align: center; padding: 8px 16px; }
.vc-hero { padding: 48px 0 28px; }
.vc-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.vc-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; }
.vc-hero p.vc-intro { margin: 0; max-width: 60ch; font-size: 1.1rem; color: var(--muted); }

/* shell */
.vc-app { padding-bottom: 40px; }
.vc-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.vc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.vc-form { padding: 28px; }
.vc-summary { padding: 24px; position: sticky; top: 20px; }
.vc-result { grid-column: 1 / -1; padding: 32px; max-width: 720px; }

/* progress */
.vc-progress-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.vc-progress-track { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
.vc-progress-bar { height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .3s ease; }

/* steps */
.vc-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.vc-step-title { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; padding: 0; margin-bottom: 6px; outline: none; }
.vc-help { margin: 0 0 18px; color: var(--muted); }
.vc-opt { font-weight: 500; color: var(--muted); font-size: .85em; }
.vc-step-title + .vc-options, .vc-step-title + .vc-rows { margin-top: 18px; }

.vc-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.vc-option { position: relative; display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) - 4px); padding: 16px 44px 16px 16px; cursor: pointer; background: var(--surface); transition: border-color .15s, box-shadow .15s, background .15s; min-height: 64px; }
.vc-option:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.vc-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vc-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.vc-option.is-selected { border-color: var(--brand); background: var(--soft); box-shadow: inset 0 0 0 1px var(--brand); }
.vc-option-body { display: flex; flex-direction: column; gap: 2px; }
.vc-option-label { font-weight: 700; }
.vc-option-desc { font-size: .9rem; color: var(--muted); }
.vc-option-price { font-size: .85rem; font-weight: 700; color: var(--brand); margin-top: 4px; }
.vc-tick { position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); }
.vc-option input[type=checkbox] ~ .vc-tick { border-radius: 6px; }
.vc-option.is-selected .vc-tick { background: var(--brand); border-color: var(--brand); }
.vc-option.is-selected .vc-tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--brand-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.vc-rows { display: grid; gap: 10px; }
.vc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) - 4px); }
.vc-row-label { font-weight: 700; display: flex; flex-direction: column; }
.vc-row-hint { font-weight: 600; font-size: .85rem; color: var(--brand); }
.vc-stepper { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.vc-step-btn { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.vc-step-btn:hover { border-color: var(--brand); color: var(--brand); }
.vc-stepper input { width: 56px; height: 40px; text-align: center; font: inherit; font-weight: 700; border: 1.5px solid var(--line); border-radius: 10px; -moz-appearance: textfield; }
.vc-stepper input::-webkit-inner-spin-button, .vc-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vc-measure { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.vc-measure input { width: 100px; height: 44px; font: inherit; font-weight: 700; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.vc-unit { font-weight: 700; color: var(--muted); }

/* fields */
.vc-field { margin: 18px 0 0; }
.vc-field label, .vc-fieldset legend { display: block; font-weight: 700; margin-bottom: 6px; }
.vc-field input, .vc-field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.vc-field input:focus, .vc-field textarea:focus, .vc-stepper input:focus, .vc-measure input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent); border-color: var(--brand); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.vc-field-error { color: var(--error); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.vc-fieldset { border: 0; padding: 0; margin: 20px 0 0; }
.vc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-pill { position: relative; border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.vc-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.vc-pill:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.vc-pill.is-selected { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.vc-note { margin: 8px 0 0; padding: 10px 12px; background: color-mix(in srgb, var(--accent) 18%, var(--surface)); border-radius: 8px; font-size: .92rem; }
.vc-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.vc-consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex-shrink: 0; }
.vc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* nav / buttons */
.vc-error { margin-top: 16px; padding: 10px 14px; border-radius: 8px; background: color-mix(in srgb, var(--error) 10%, var(--surface)); color: var(--error); font-weight: 600; }
.vc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.vc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; border: 1.5px solid transparent; transition: transform .12s, background .15s; }
.vc-btn:active { transform: translateY(1px); }
.vc-btn-primary { background: var(--brand); color: var(--brand-ink); }
.vc-btn-primary:hover { background: color-mix(in srgb, var(--brand) 86%, black); }
.vc-btn-primary:disabled { opacity: .6; cursor: progress; }
.vc-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.vc-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }

/* summary */
.vc-total { margin: 0 0 16px; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.vc-total.is-empty { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.vc-lines { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.vc-lines li { display: flex; flex-direction: column; gap: 1px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.vc-lines li span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.vc-lines li strong { font-weight: 600; }
.vc-survey { font-size: .9rem; padding: 10px 12px; background: var(--soft); border-radius: 8px; margin-bottom: 12px; }
.vc-small { font-size: .8rem; color: var(--muted); margin: 0; }

/* result */
.vc-result-total { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; color: var(--brand); }
.vc-result-text { font-size: 1.1rem; margin: 0 0 20px; }
.vc-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.vc-leadpreview { margin-top: 24px; border: 1px dashed var(--line); border-radius: 10px; padding: 12px 16px; }
.vc-leadpreview summary { font-weight: 700; cursor: pointer; }
.vc-leadpreview pre { white-space: pre-wrap; font: .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin: 12px 0 0; }


/* faq / footer */
.vc-faq { padding: 24px 0 56px; }
.vc-faq h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 16px; }
.vc-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
.vc-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vc-faq summary::-webkit-details-marker { display: none; }
.vc-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.vc-faq details[open] summary::after { content: "−"; }
.vc-faq details p { margin: 0 0 16px; color: var(--muted); }
.vc-footer { border-top: 1px solid var(--line); padding: 20px 0 90px; font-size: .85rem; color: var(--muted); }
.vc-footer .vc-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.vc-footer a { color: var(--muted); }

/* embed mode: just the estimator */
.vc-embed body { background: transparent; }
.vc-embed .vc-header, .vc-embed .vc-band, .vc-embed .vc-demo-banner, .vc-embed .vc-hero, .vc-embed .vc-faq, .vc-embed .vc-footer { display: none; }
.vc-embed .vc-wrap { padding: 0; }
.vc-embed .vc-app { padding: 2px; }

@media (max-width: 900px) {
  .vc-shell { grid-template-columns: 1fr; }
  .vc-summary { position: static; order: 2; }
  .vc-layout-wizard .vc-bar { display: block; }
}
@media (max-width: 560px) {
  .vc-wrap { padding: 0 16px; }
  .vc-hero { padding: 32px 0 20px; }
  .vc-form, .vc-summary, .vc-result { padding: 20px; }
  .vc-row { flex-direction: column; align-items: stretch; }
  .vc-stepper, .vc-measure { justify-content: flex-end; }
  .vc-options { grid-template-columns: 1fr; }
  .vc-nav .vc-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- estimate bar (always on in page layout, mobile-only in wizard) ---------- */
.vc-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--brand-dark, color-mix(in srgb, var(--brand) 78%, black)); color: var(--brand-ink); box-shadow: 0 -6px 20px rgba(0,0,0,.14); }
.vc-bar[hidden] { display: none !important; }
.vc-layout-page .vc-bar { display: block; }
.vc-bar-inner { max-width: var(--narrow, 620px); margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.vc-layout-wizard .vc-bar-inner { max-width: none; }
.vc-bar-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.vc-bar-total { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.vc-bar-note { font-size: .8rem; opacity: .85; text-align: right; max-width: 45%; }
.vc-embed .vc-layout-page .vc-bar, .vc-embed.vc-layout-page .vc-bar { position: sticky; }

/* ---------- page layout (Revive My Kitchen style) ---------- */
.vc-layout-page { --narrow: 620px; }
.vc-layout-page .vc-app .vc-wrap, .vc-layout-page .vc-faq .vc-wrap { max-width: calc(var(--narrow) + 40px); }
.vc-layout-page .vc-shell { display: block; }
.vc-layout-page .vc-app { padding: 36px 0 40px; }
.vc-intro-h { font-size: 1.35rem; margin: 0 0 6px; letter-spacing: -.01em; }
.vc-intro-p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.vc-section { border: 1px solid var(--line); padding: 18px 18px 20px; margin: 0 0 14px; min-width: 0; box-shadow: none; }
.vc-section-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.vc-section-title + * { clear: both; }
.vc-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: .78rem; font-weight: 800; flex-shrink: 0; }
.vc-layout-page .vc-help { font-size: .85rem; margin: 0 0 14px; }
.vc-layout-page .vc-options.is-compact { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.vc-layout-page .vc-options.is-compact .vc-option { justify-content: center; text-align: center; padding: 11px 12px; min-height: 0; background: color-mix(in srgb, var(--ink) 3%, var(--surface)); border-width: 1px; }
.vc-layout-page .vc-options.is-compact .vc-option-body { align-items: center; }
.vc-layout-page .vc-options.is-compact .vc-option-label { font-weight: 600; color: var(--muted); }
.vc-layout-page .vc-options.is-compact .vc-option.is-selected { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); box-shadow: none; }
.vc-layout-page .vc-options.is-compact .vc-option.is-selected .vc-option-label { color: var(--brand); }
.vc-layout-page .vc-options.is-compact .vc-tick { display: none; }
.vc-layout-page .vc-rows { gap: 0; }
.vc-layout-page .vc-row { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; }
.vc-layout-page .vc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.vc-layout-page .vc-row-label { font-weight: 500; font-size: .95rem; }
.vc-layout-page .vc-row-hint { font-weight: 400; font-size: .78rem; color: var(--muted); }
.vc-layout-page .vc-step-btn { width: 32px; height: 32px; border-radius: 6px; border-width: 1px; font-size: 1.1rem; color: var(--brand); font-weight: 700; }
.vc-layout-page .vc-stepper { gap: 0; }
.vc-layout-page .vc-stepper input { width: 42px; height: 32px; border-width: 1px 0; border-radius: 0; font-size: .9rem; }
.vc-layout-page .vc-stepper .vc-step-btn:first-child { border-radius: 6px 0 0 6px; }
.vc-layout-page .vc-stepper .vc-step-btn:last-child { border-radius: 0 6px 6px 0; }
.vc-layout-page .vc-measure input { height: 36px; width: 90px; border-width: 1px; }
.vc-layout-page .vc-options:not(.is-compact) .vc-option { padding: 12px 40px 12px 14px; min-height: 0; border-width: 1px; }
.vc-booking-title { font-size: 1.2rem; margin: 0 0 4px; }
.vc-layout-page .vc-field { margin-top: 12px; }
.vc-layout-page .vc-field label { font-size: .9rem; }
.vc-layout-page .vc-nav { border: 0; padding: 0; margin: 4px 0 0; }
.vc-layout-page .vc-nav .vc-btn { width: 100%; background: var(--accent); color: var(--accent-ink, #fff); font-size: 1.05rem; }
.vc-layout-page .vc-nav .vc-btn:hover { background: color-mix(in srgb, var(--accent) 86%, black); }
.vc-step-error { color: var(--error); font-weight: 600; font-size: .88rem; margin: 10px 0 0; }
.vc-layout-page .vc-result { max-width: none; }
.vc-layout-page .vc-footer { padding-bottom: 100px; }

/* ---------- hero band ---------- */
.vc-band { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark, color-mix(in srgb, var(--brand) 78%, black)) 100%); color: var(--brand-ink); padding: 14px 0 36px; text-align: center; }
.vc-band .vc-wrap { max-width: calc(var(--narrow, 620px) + 40px); }
.vc-band-brand { display: flex; align-items: center; gap: 10px; text-align: left; color: inherit; text-decoration: none; margin-bottom: 36px; }
.vc-badge { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 900; letter-spacing: -.02em; flex-shrink: 0; }
.vc-band-brand strong { display: block; font-size: 1rem; line-height: 1.2; }
.vc-band-brand small { display: block; font-size: .78rem; opacity: .85; }
.vc-band h1 { margin: 0 auto 14px; font-size: clamp(1.8rem, 4.2vw, 2.4rem); line-height: 1.2; font-weight: 900; letter-spacing: -.02em; max-width: 22ch; }
.vc-band h1 .vc-hl { color: var(--accent); }
.vc-band p.vc-intro { color: inherit; opacity: .92; margin: 0 auto; max-width: 44ch; font-size: .98rem; }
.vc-trust { display: inline-block; margin: 20px 0 0; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); font-size: .82rem; }
@media (max-width: 560px) { .vc-bar-note { display: none; } .vc-band-brand { margin-bottom: 24px; } }

/* ---------- breakdown ---------- */
.vc-breakdown-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.vc-breakdown-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--line); }
.vc-breakdown-table td { text-align: right; font-weight: 600; padding: 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vc-breakdown-table .vc-bd-total th, .vc-breakdown-table .vc-bd-total td { color: var(--ink); font-weight: 800; border-bottom: 0; padding-top: 10px; }
