/* Business Cost Calculator – Phoenixxlab */
.bcc {
	--bcc-primary: #0b3d6e;
	--bcc-accent: #e5a823;
	--bcc-text: #1d2733;
	--bcc-muted: #667085;
	--bcc-border: #d8dee6;
	--bcc-bg: #ffffff;
	--bcc-soft: #f4f7fa;
	--bcc-radius: 10px;
	box-sizing: border-box;
	max-width: 960px;
	margin: 0 auto;
	padding: 32px;
	background: var(--bcc-bg);
	border: 1px solid var(--bcc-border);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(16, 24, 40, .06);
	color: var(--bcc-text);
	font-size: 16px;
	line-height: 1.5;
}
.bcc *, .bcc *::before, .bcc *::after { box-sizing: border-box; }
.bcc [hidden] { display: none !important; }
.bcc .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bcc-header { text-align: center; margin-bottom: 24px; }
.bcc-title { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; color: var(--bcc-primary); }
.bcc-subtitle { margin: 0; color: var(--bcc-muted); }

/* Progress */
.bcc-progress { display: flex; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: none; }
.bcc-progress li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 0 10px; margin: 0; border-bottom: 3px solid var(--bcc-border); color: var(--bcc-muted); font-size: 14px; font-weight: 600; }
.bcc-progress li::before { content: none; }
.bcc-num { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bcc-soft); border: 1px solid var(--bcc-border); font-size: 13px; }
.bcc-progress li.is-active { color: var(--bcc-primary); border-color: var(--bcc-primary); }
.bcc-progress li.is-active .bcc-num { background: var(--bcc-primary); border-color: var(--bcc-primary); color: #fff; }
.bcc-progress li.is-done { color: var(--bcc-primary); border-color: var(--bcc-accent); }
.bcc-progress li.is-done .bcc-num { background: var(--bcc-accent); border-color: var(--bcc-accent); color: #111; }

/* Fields */
.bcc-form { margin: 0; }
.bcc-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.bcc-field { margin: 0 0 20px; }
.bcc-label { display: block; margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.bcc-label em { color: #c0392b; font-style: normal; }
.bcc-label small { color: var(--bcc-muted); font-weight: 400; }
.bcc input[type="text"], .bcc input[type="email"], .bcc input[type="tel"], .bcc select {
	width: 100%; min-height: 46px; margin: 0; padding: 10px 12px;
	border: 1px solid var(--bcc-border); border-radius: 8px; background: #fff;
	color: var(--bcc-text); font: inherit; box-shadow: none;
}
.bcc input:focus, .bcc select:focus { outline: 2px solid color-mix(in srgb, var(--bcc-primary) 35%, transparent); outline-offset: 1px; border-color: var(--bcc-primary); }
.bcc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.bcc-full { grid-column: 1 / -1; }
.bcc-phone { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 8px; }

.bcc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bcc-card { position: relative; display: block; cursor: pointer; margin: 0; }
.bcc-card input, .bcc-pill input { position: absolute; opacity: 0; pointer-events: none; }
.bcc-card-body { display: block; height: 100%; padding: 14px 16px; border: 1.5px solid var(--bcc-border); border-radius: var(--bcc-radius); transition: border-color .15s, background .15s; }
.bcc-card-body strong { display: block; color: var(--bcc-primary); font-size: 16px; }
.bcc-card-body small { display: block; margin-top: 4px; color: var(--bcc-muted); font-size: 13px; line-height: 1.4; }
.bcc-card input:checked + .bcc-card-body { border-color: var(--bcc-primary); background: color-mix(in srgb, var(--bcc-primary) 6%, #fff); box-shadow: inset 0 0 0 1px var(--bcc-primary); }
.bcc-card input:focus-visible + .bcc-card-body, .bcc-pill input:focus-visible + span { outline: 2px solid var(--bcc-primary); outline-offset: 2px; }

.bcc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.bcc-pill { position: relative; margin: 0; cursor: pointer; }
.bcc-pill span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--bcc-border); border-radius: 999px; font-size: 14px; transition: all .15s; }
.bcc-pill:hover span { border-color: var(--bcc-primary); }
.bcc-pill input:checked + span { background: var(--bcc-primary); border-color: var(--bcc-primary); color: #fff; }

.bcc-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 8px; font-size: 14px; color: var(--bcc-muted); cursor: pointer; }
.bcc-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--bcc-primary); }
.bcc-consent a { color: var(--bcc-primary); }

.has-error input, .has-error select, .has-error .bcc-card-body, .has-error .bcc-pill span { border-color: #c0392b; }
.bcc-msg { margin: 6px 0 0; color: #c0392b; font-size: 13px; }
.bcc-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: #fdecea; color: #a12a1e; font-size: 14px; }
.bcc-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* Buttons */
.bcc-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 12px; }
.bcc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 2px solid var(--bcc-primary); border-radius: 8px; background: var(--bcc-primary); color: #fff !important; font: inherit; font-weight: 600; text-decoration: none !important; cursor: pointer; transition: filter .15s, transform .05s; }
.bcc-btn:hover { filter: brightness(1.12); }
.bcc-btn:active { transform: translateY(1px); }
.bcc-btn[disabled] { opacity: .7; cursor: wait; }
.bcc-btn-ghost { background: transparent; color: var(--bcc-primary) !important; }
.bcc-btn-wa { background: #25d366; border-color: #25d366; }
.bcc-btn-link { background: none; border-color: transparent; color: var(--bcc-primary) !important; text-decoration: underline !important; padding-inline: 8px; }
.bcc-btn.is-loading::before { content: ""; width: 16px; height: 16px; margin-right: 8px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: bcc-spin .7s linear infinite; }
@keyframes bcc-spin { to { transform: rotate(360deg); } }

/* Result */
.bcc-result-head { text-align: center; padding: 24px 16px; margin-bottom: 24px; border-radius: 14px; background: linear-gradient(135deg, var(--bcc-primary), color-mix(in srgb, var(--bcc-primary) 70%, #000)); color: #fff; }
.bcc-result-kicker { margin: 0; font-size: 14px; opacity: .85; letter-spacing: .02em; }
.bcc-was { margin: 8px 0 0; text-decoration: line-through; opacity: .7; }
.bcc-price { margin: 4px 0; font-size: clamp(30px, 5vw, 44px); font-weight: 800; line-height: 1.1; color: #fff; }
.bcc-save { display: inline-block; margin: 6px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--bcc-accent); color: #111; font-weight: 700; font-size: 14px; }
.bcc-success { margin: 14px auto 0; max-width: 560px; font-size: 14px; opacity: .92; }

.bcc-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bcc-box { padding: 18px 20px; border: 1px solid var(--bcc-border); border-radius: 12px; background: #fff; }
.bcc-box:first-child { grid-column: 1 / -1; }
.bcc-box h3 { margin: 0 0 12px; font-size: 17px; color: var(--bcc-primary); }
.bcc-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; border: 0; }
.bcc-table td { padding: 9px 0; border: 0; border-bottom: 1px solid #edf0f3; vertical-align: top; background: none; }
.bcc-table td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.bcc-table small { display: block; color: var(--bcc-muted); font-size: 12px; }
.bcc-table .bcc-sub td { font-weight: 600; }
.bcc-table .bcc-disc td { color: #1a7f37; }
.bcc-table .bcc-total td { border-bottom: 0; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--bcc-primary); }
.bcc-incl { list-style: none; margin: 0; padding: 0; }
.bcc-incl li { position: relative; margin: 0 0 8px; padding-left: 26px; font-size: 14px; }
.bcc-incl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bcc-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm-1.2 11.6L3.4 8.2l1.1-1.1 2.3 2.3 4.7-4.7 1.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm-1.2 11.6L3.4 8.2l1.1-1.1 2.3 2.3 4.7-4.7 1.1 1.1z'/%3E%3C/svg%3E") center/contain no-repeat; }
.bcc-review { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.bcc-review dt { color: var(--bcc-muted); margin: 0; }
.bcc-review dd { margin: 0; font-weight: 600; word-break: break-word; }
.bcc-result-actions { justify-content: center; margin-top: 24px; }
.bcc-disclaimer { margin: 18px 0 0; text-align: center; color: var(--bcc-muted); font-size: 13px; }

@media (max-width: 720px) {
	.bcc { padding: 20px 16px; border-radius: 12px; }
	.bcc-grid, .bcc-result-grid { grid-template-columns: 1fr; }
	.bcc-lbl { display: none; }
	.bcc-progress li { justify-content: center; }
	.bcc-progress li.is-active .bcc-lbl { display: inline; }
	.bcc-actions { justify-content: stretch; }
	.bcc-actions .bcc-btn { flex: 1 1 auto; }
	.bcc-phone { grid-template-columns: 1fr; }
}
