/**
 * Calculadora de fuga de capital — HiKapto /saas-auditoria/
 */

.hikapto-calc {
	padding: 4rem 5%;
	background: #f9fafb;
}

.hikapto-calc__card {
	max-width: 1100px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
	border: 1px solid #e5e7eb;
	overflow: hidden;
}

.hikapto-calc__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 0;
}

.hikapto-calc__controls {
	padding: 2.5rem 2.25rem;
}

.hikapto-calc__title {
	margin: 0 0 1.75rem;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.25;
	color: #111827;
}

.hikapto-calc__field {
	margin-bottom: 1.5rem;
}

.hikapto-calc__field:last-child {
	margin-bottom: 0;
}

.hikapto-calc__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #4b5563;
}

.hikapto-calc__select,
.hikapto-calc__input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-family: inherit;
	color: #111827;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hikapto-calc__select:focus,
.hikapto-calc__input:focus {
	outline: none;
	border-color: #008bff;
	box-shadow: 0 0 0 3px rgba(0, 139, 255, 0.15);
}

.hikapto-calc__slider-row {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.hikapto-calc__slider {
	flex: 1;
	height: 6px;
	-webkit-appearance: none;
	appearance: none;
	background: #e5e7eb;
	border-radius: 999px;
	cursor: pointer;
}

.hikapto-calc__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #008bff;
	border: 3px solid #ffffff;
	box-shadow: 0 2px 8px rgba(0, 139, 255, 0.4);
	cursor: grab;
}

.hikapto-calc__slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #008bff;
	border: 3px solid #ffffff;
	box-shadow: 0 2px 8px rgba(0, 139, 255, 0.4);
	cursor: grab;
}

.hikapto-calc__slider-value {
	flex-shrink: 0;
	min-width: 5.5rem;
	font-size: 1.125rem;
	font-weight: 800;
	color: #008bff;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.hikapto-calc__results {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2.5rem 2.25rem;
	background: #111827;
	color: #ffffff;
}

.hikapto-calc__results-kicker {
	margin: 0 0 1.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9ca3af;
}

.hikapto-calc__metric {
	margin-bottom: 1.25rem;
}

.hikapto-calc__metric-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #9ca3af;
	margin-bottom: 0.35rem;
	line-height: 1.4;
}

.hikapto-calc__metric-value {
	display: block;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
}

.hikapto-calc__metric--leak .hikapto-calc__metric-value {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	color: #f87171;
}

.hikapto-calc__metric--recover .hikapto-calc__metric-value {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	color: #008bff;
}

.hikapto-calc__footnote {
	margin: 0 0 1.5rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #9ca3af;
}

.hikapto-calc__cta {
	display: block;
	width: 100%;
	padding: 1rem 1.25rem;
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
	background: #008bff;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(0, 139, 255, 0.35);
}

.hikapto-calc__cta:hover,
.hikapto-calc__cta:focus-visible {
	background: #0069cc;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 139, 255, 0.4);
}

@media (max-width: 768px) {
	.hikapto-calc {
		padding: 2.5rem 1.25rem;
	}

	.hikapto-calc__grid {
		grid-template-columns: 1fr;
	}

	.hikapto-calc__controls,
	.hikapto-calc__results {
		padding: 1.75rem 1.25rem;
	}

	.hikapto-calc__title {
		font-size: 1.25rem;
	}
}
